Forum Discussion
Ian Moran
Dec 08, 2016Iron Contributor
Assign selective license in Office 365 using Powershell - "Unable to assign this license ..."
I'm attempting to assign Yammer licenses to all users in the tenant who don't have this assigned. All users have location set and have at least an Exchange license from the STANDARDWOFFPACK_FACULTY S...
VasilMichev
Dec 09, 2016MVP
If the user already has the same SKU assigned, you should not use the AddLicenses parameter, only the LicenseOptions one.
Ian Moran
Dec 09, 2016Iron Contributor
Thanks Vasil, tried that by removing that parameter and it actually removed all licenses from the user
Set-MsolUserLicense -UserPrincipalName "user@domain.com" "tenantID:STANDARDWOFFPACK_FACULTY" -LicenseOptions $MyLicenseOptions