office365: granular licensing
for various reasons, an organization may not want a certain feature enabled under a parent licensing SKU in office365, for instance – yammer. this could be done through the office365 admin GUI, but that approach is impractical when dealing with 1000’s of users. the same thing can be accomplished through powershell as described below…
Get-MsolAccountSku will list the SKUs available in a tenant
example: mytenantname:STANDARDWOFFPACK_IW_STUDENT is Office 365 Education Plus for students
running the following: (get-msoluser -userprincipalname UPN).licenses.servicestatus
will list the actual serviceplan names of licensed features, some examples:
YAMMER_EDU (Yammer)
PROJECTWORKMANAGEMENT (Planner)
to bypass enabling these features during license assignment, first create new license options by running something similar to this:
$NoPlannerOrYammerSku = New-MsolLicenseOptions -AccountSkuId mytenantname:STANDARDWOFFPACK_IW_STUDENT -DisabledPlans YAMMER_EDU,PROJECTWORKMANAGEMENT
then the actual license assignment process would look like this:
Set-MsolUserLicense -UserPrincipalName UPN -AddLicenses mytenantname:STANDARDWOFFPACK_IW_STUDENT -LicenseOptions $NoPlannerOrYammerSku
source:
https://exitcodezero.wordpress.com/2013/03/14/how-to-assign-selective-office-365-license-options/