3/13/2024 0 Comments Reset office 365 licenseUpdate existing Office 365 License features Note: There is no option EnabledPlans like DisabledPlans, so we can’t set only required features in straightforward way, we can achieve this only by excluding non-required features by using DisabledPlans option. $options = New-MsolLicenseOptions -AccountSkuId 'contoso:O365_BUSINESS_PREMIUM' -DisabledPlans OFFICE_BUSINESS,MCOSTANDARD Set-MsolUserLicense -UserPrincipalName -LicenseOptions $options –AddLicenses 'contoso:O365_BUSINESS_PREMIUM' we have to use the powershell cmdlet New-MsolLicenseOptions to set license features that we want to disable (or remove) from new license. You can enable only particular set of features while adding new license to an user. Set-MsolUserLicense -UserPrincipalName -AddLicenses contoso:ENTERPRISEPACK,contoso:AAD_PREMIUM To assign multiple licenses, you have to provide AccountSkuId of all the licenses as comma (,) separated values. Set-MsolUserLicense -UserPrincipalName -AddLicenses 'contoso:ENTERPRISEPACK' Use the below command to set a new license. In certain scenario you may need to update an existing license features (enable or disable license sub plans) using this cmdlet. You can easily add a new license with required features and remove an existing license using Azure AD Powershell cmdlet Set-MsolUserLicense.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |