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:

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


This entry was written by resinblade , posted on Friday September 23 2016at 05:09 pm , filed under IT . Bookmark the permalink . Post a comment below or leave a trackback: Trackback URL.

Comments are closed.