Forum Discussion
Paul Long
May 29, 2020Brass Contributor
Disable a specific O365 plan
We would like to disable a single plan, such as Microsoft Bookings, but NOT have it affect the status of any other plan, but I can find nothing which allows this. I can disable a plan using the variable $LO = New-MsolLicenseOptions -AccountSkuId $License -DisabledPlans <plan name> (where $License = our MsolAccountSku) and $AllLicensed = Get-MsolUser -All | where {$_.isLicensed -eq $true}; $AllLicensed | foreach {Set-MsolUserLicense -UserPrincipalName $_.UserPrincipalName -LicenseOptions $LO}, but it turns on plans not specifically listed in the $LO variable. Is there a way to disable a single plan without it turning on (or off) any other plan? Thanks.