How to List Office 365 Subscriptions Using PowerShell

Subscriptions in Office 365 define the features and services available and how many licenses you have available to issue to user accounts. Each subscription has its own Account SKU ID such as ENTERPRISEPREMIUM for E3 subscriptions.

When you reference a subscription ID in PowerShell you will need to prefix it with your 365 tenant name. This is the part before your address you chose when creating your account. Our test lab was created as so office365laba is our tenant name.

List Subscriptions

To return a list of available subscriptions and the number of licenses in your tenant run the following command:


PowerShell Managing Subscriptions 1

If you want to return a more detailed list, you can add | FL to the command which will show all attributes associated with a returned object in a formatted list (FL).

Get-MsolAccountSku | FL

PowerShell Managing Subscriptions 2


Making use of PowerShell with Office 365 gives us lots of scripting possibilities.

Top Tip!

Use these cmdlet’s┬áto write a script which alerts you when you have too many or not enough licenses.

Get this blog post sent to you as a PDF file to read later

Enter your email address and press Send Now

If you want to learn more then you can buy my book from Amazon, either the paper back or kindle version. My advice is to buy the paperback version so you can keep it on your desk for easy reference!

Office 365 PowerShell Book

For paperback version click here

For Kindle version click here




Author: Ian@SlashAdmin

Share This Post On

Submit a Comment

Your email address will not be published. Required fields are marked *