Quantcast
Channel: /r/powershell – How to Code .NET
Viewing all articles
Browse latest Browse all 8793

O365 PowerShell – granular license assignment not working

$
0
0

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.


Viewing all articles
Browse latest Browse all 8793

Trending Articles