Is there a need to find the type of Microsoft 365 license and the different services assigned for a user to troubleshoot an issue related to the service they have been assigned? You have come to the right place, this post will help you find the details using the Microsoft Graph API endpoints. In Microsoft 365, licenses from licensing plans also known as SKUs give users access to the Microsoft 365 services that are defined for those plans. To find the details, there are endpoints in Graph which gives you those details
Microsoft Graph Explorer:
There are various tools to make request against different graph endpoints but here I will be using Microsoft Graph Explorer tool.
After you login to Microsoft Graph Explorer tool, make a request to any of the above given endpoints. Find below screenshot for the GET request to the endpoint me/licenseDetails
In the above picture, the sku Id is nothing but the Microsoft 365 license plan and the service plans array shows list of the Microsoft 365 Services (SharePoint, Power Apps, Power Automate, Exchange, Yammer etc) enabled for the user. If there are multiple license assigned for the same user then you get the list as an array with different skuid’s.
For reference, here are some of the most common sku id information that you might need:
|Office 365 E1||18181a46-0d4e-45cd-891e-60aabd171b4e|
|Microsoft 365 E3||05e9a617-0261-4cee-bb44-138d3ef5d965|
|Microsoft 365 E5||06ebc4ee-1bb5-47dd-8120-11324bc54e06|
|E5 Developer License||c42b9cae-ea4f-4ab7-9717-81576235ccac|
|Microsoft 365 F1||17b4a1d6-2c65-478e-a046-51cf40d25d76|
|Power BI (Free)||a403ebcc-fae0-4ca2-8c8c-7a907fd6c235|
Here are some of the most common Service plan Id information:
|AAD Premium 2||eec0eb4f-6444-4f95-aba0-50c24d67f998|
For more information on the different Microsoft 365 license & service details, refer the below link
The beta/me endpoint also gives information on the licenses & service plans:
To get this information for a different user, make a get request to the following endpoint with the user ID
To get the information for all users in your tenant
If your tenant has more users, consider looking at the following documentation
The information can also be accessed from your Office Profile, after logging in to the Office.com
- Click the Profile icon and then click View account which will take you to the below screen shown on the left side
Now click Subscriptions which will show the all the different SKU’s assigned to you & the different service plan’s. Refer to the above picture on the right side.
To access this information with PowerShell, refer the following documentation:
Summary: On this post we have seen how to get information on the assigned Microsoft License & services details for a user. Hope you like this article & find it informational.