Sign up for Office 365
Learn more about Office 365
When instructing an Office 365 class, I was asked a question about granular license assignment from PowerShell. The ask was with regards to the options we have in the UI for licensing users. For instance, from the Microsoft Online Portal we can assign an E3 class license, which we can then further filter to limit the services within the license. We can assign the E3 license but remove the Exchange Online option for the user. Alternatively, we can remove the Office subscription access for the user and so on.
Many customers like to script the licensing/provisioning of users so we were asked if there is a process for this same granular management in PowerShell. The answer is below, there was a combination of people that found the correct cmdlets to accomplish this task.
First, enumerate the licence plans and create your own licence:
Secondly you need to assign the licence to the user(s):
For reference, the SkuPartNumber's that we discovered are:
Inside ENTERPRISEPACK Sku:
Inside DESKLESSWOFFPACK Sku:
Inside EXCHANGEARCHIVE Sku
This content was created by Brian Reid (C7Solutions), Donte Henry (Avanade), and Timothy Heeney (Microsoft), during the MCM Office 365 training class