How to remove office 365 license for multiple users
![how to remove office 365 license for multiple users how to remove office 365 license for multiple users](https://businesstechplanet.com/wp-content/uploads/2021/11/MicrosoftTeams-image-3-1024x485.png)
Note: There is no options like -EnabledPlans, you have use the same paramater -DisabledPlans to enable service plans in existing license by disabling other license plans $options = New-MsolLicenseOptions -AccountSkuId mts:O365_BUSINESS_PREMIUM -DisabledPlans OFFICE_BUSINESS,MCOSTANDARD #1 Create the new license options that we want to disable from the existing license applied for the user. You can do it by just ignoring the parameter –AddLicenses in Set-MsolUserLicense cmdlet. You can achieve this need by using the same office 365 powershell cmdlets Set-MsolUserLicense and New-MsolLicenseOptions. Instead of disabling license plans while adding new license, you might also come across the need of enable or disable service plans in existing license. Set-MsolUserLicense -UserPrincipalName –AddLicenses mts:O365_BUSINESS_PREMIUM -LicenseOptions $optionsĮnable or Disable License Plans in existing License Select E3 Standard or the name of the group created earlier. To choose the assignment group, click Users and groups. Check the product to license as Microsoft 365 E3 or another product.
![how to remove office 365 license for multiple users how to remove office 365 license for multiple users](https://www.christiaanbrinkhoff.com/wp-content/uploads/2018/12/shared.png)
#2 Now, we can add new license by passing new license’s AccountSkuId to Set-MsolUserLicense cmdlet and set the license options in the paramater -LicenseOptions. While still in the Azure AD portal, navigate to: Azure Active Directory > Licenses > All products.
![how to remove office 365 license for multiple users how to remove office 365 license for multiple users](https://2xom5j4aqh9o3quhfzkge6t1-wpengine.netdna-ssl.com/wp-content/uploads/2016/06/51.png)
#1 Create a new license options that we want to disable from the license that we are going to set to an user. You can get the list of all the available service plans in a particular license by using below command: Get-MsolAccountSku | Where-Object Get-MsolAccountSku | Select AccountSkuId,SkuPartNumber,ActiveUnits,ConsumedUnits To add a new license or disable service plans, we need to use AccountSkuId for the particular license, you can list all the available licenses and its AccountSkuId by running the following command.
#How to remove office 365 license for multiple users install#
Note: Before proceed, Install and Configure Azure AD PowerShellĭisable office 365 service plans while adding new license we can use the powershell cmdlet New-MsolLicenseOptions to set license plans or features that we want to disable (or remove) from new license and we have to pass this disabled license options to Set-MsolUserLicense cmdlet with the parameter -LicenseOptions. While we set a new license to an user, we can enable or disable only a particular set of service plans of the new license.