provisining
3 TopicsAdd empty value on MobilityPolicy
I try to put empty value for MobilityPolicy for OnlineUser with this method : Grant-CsMobilityPolicy -PolicyName $Null -Identity 'test' But I have this error message This policy must be assigned a value compatible with the user's subscription and location. It cannot be $null. + CategoryInfo : InvalidOperation : (Grant-CsMobilityPolicy:String) [Grant-CsMobilityPolicy], InvalidOperationException + FullyQualifiedErrorId : InvalidOperation,Microsoft.Rtc.Management.Xds.GrantMobilityPolicyCmdlet + PSComputerName : admin2e.online.lync.com I don't know why I have this error because I have user who have this empty value. Some with license and location and some without. Too I can't add an existing MobilityPolicy to an user who have an empty value. If someone have an idea, I will be glad to discuss about this. Thanks youSolved1.3KViews1like5CommentsWhat is the best practice to inject js or css files in PnP Template Provisioning
I am using PnP template provisioning xml templates. I would like to inject some js and css files like for example jquery. I try to do this with the custom action but I don't like this solution. I do it now like this: <!-- css --> <pnp:CustomAction Name = "CustomCss" Location = "ScriptLink" Sequence = "1003" ScriptBlock="document.write('<link rel="stylesheet" type="text/css" href="{sitecollection}/Style%20Library/Custom/custom.css?v=1.0"></link>');" /> <!-- js --> <pnp:CustomAction Name = "jquery" Location = "ScriptLink" Sequence = "0" ScriptBlock = "
 var headID = document.getElementsByTagName('head')[0]; 
 var newScript = document.createElement('script');
 newScript.type = 'text/javascript';
 newScript.src='{sitecollection}/Style%20Library/custom/jquery.js?v=1.15';
 newScript.id = 'jquery';
 headID.appendChild(newScript);" />3.2KViews0likes1Comment