How to Bulk Switch Office 365 Licenses

We have a customer who bought Office 365 E1 last year. All users are currently using this E1 license to access to Office 365 products.

The organization wanted to buy E3 license from us this year and we have added the new E3 license to Office 365 and before old license is expired, we need to switch all users to new license

We have added the new E3 license to Office 365 and before old license is expired, we need to switch users to new license.

This job can be done via GUI or PowerShell. In this article, we will change it via PS.

You can see what license you have with following command

Get-MsolAccountSku

You can  also see which license is assigned to a particular user with the below command

Get-MsolUser -UserPrincipalName user1@cloudtolearn.com |fl, Licenses

You can  also list that this particular license is assigned to which user with the below command

Get-MsolUser -all |Where-Object {$_.licenses.accountskuid -eq “cloudtolearn:STANDARDPACK”}

Below is how to bulk switch license from E1 to E3 via PS command

Get-MsolUser -all |Where-Object {$_.licenses.accountskuid -eq “cloudtolearn:STANDARDPACK”} | Set-MsolUserLicense  -AddLicenses cloudtolearn:ENTERPRISEWITHSCAL -RemoveLicenses cloudtolearn:STANDARDPACK

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

Up ↑

%d bloggers like this: