How to Get the o365 Enabled SKU of a User through PowerShell

1. Run Microsoft Azure Active Directory Module for Windows PowerShell as administrator.
2. Connect to O365 by using the following scripts.

Install-Module -Name AzureAD

Connect-MsolService

#Log-in using your global administrator account (Other roles can also be used).


(Get-MsolUser -UserPrincipalName username@domain.com).Licenses.ServiceStatus

# This will return a list of SKUs that are enabled to the user’s account

Get-MsolUser.Licenses.ServiceStatus

 

If you are thinking of familiarizing all SKUs in Office 365 licenses, check this document:

https://blogs.technet.microsoft.com/treycarlee/2014/12/09/powershell-licensing-skus-in-office-365/

 

Reference: https://docs.microsoft.com/en-us/office365/enterprise/powershell/view-account-license-and-service-details-with-office-365-powershell

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 )

Facebook photo

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

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: