How to Switch Office 365 Licenses via PowerShell

We have a customer who bought Office 365 licenses from a vendor for a long time ago. The license is Exchange Online Plan 1. There multiple users in the organization using this license to access to Office 365 products.

The organization wanted to buy license from us and we have sold Enterprise E1 license instead of Plan 1. There are few difference between this licensing types.

We have added the new E1 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


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

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

Below is how to switch license from Plan 1 to E1 via PS command

Set-MsolUserLicense -UserPrincipalName -AddLicenses cloudtolearn:STANDARDPACK -RemoveLicenses cloudtolearn:EXCHANGESTANDARD

Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s

Blog at

Up ↑

%d bloggers like this: