Using PowerShell to manage Office 365 could be a little bit tricky. Please find below my experience trying to enable few services plans to an existing SKU (E1,E3,E5).
You need to know that the only way to
enable a particular Office 365 plans is to run a PowerShell command
New-MsolLicenseOptions with the option
-DisabledPlans. So you need to know what you want to disable first and it then deduces what will be activated.
First, a list of the Office 365 Plans for E3 (on 21/02/17)
|“MCOSTANRDARD”||Skype For Business|
|“SHAREPOINTENTERPRISE”||Sharepoint & OneDrive|
"SHAREPOINTENTERPRISE" are linked, and can’t be enabled or disabled individually. (perhaps you can do it using web administrator center)
To find what is this current
ProvisioningStatus of a particular user
I’m using a very simple script to batch modify all my users who are license enabled and where
ServiceStatus status is
disabled (corresponding of Skype for Business in my case).
To find the corresponding
ServiceStatus you just need to count and find the right service number. Try with only one test user first.
After running this little powershell, all users without Skype4B and licences enabled users are getting the following new licences :