I’ve done this before so I know it works. Has something changed? I need turned off license options. When I run this code nothing happens. I’m totally stumped. Any ideas?
$AccountSkuId = 'tenantXXX:ENTERPRISEPREMIUM' $options = New-MsolLicenseOptions -AccountSkuId $AccountSkuId –DisabledPlans BI_AZURE_P2,RMS_S_ENTERPRISE,MCOMEETADV Set-MsolUserLicense -UserPrincipalName user@tenantXXX.com -LicenseOptions $options -Verbose
submitted by /u/LunacyNow
[link] [comments]
The post O365 PowerShell – granular license assignment not working appeared first on How to Code .NET.