how to get Product name from Assigned Licenses SKU Ids to Azure AD Users by calling graph API in postman

Amar Agnihotri 891 Reputation points
2022-08-07T07:54:00.97+00:00

Hi,
I am calling this graph api in postman to get Assigned licenses details of users in Azure Active Directory
228786-image.png

It is giving me the details of users and also the sku ids of licenses assigned but not giving the license names as shown

228730-image.png

But in azure AD the name of assigned licenses is shown as -
228807-image.png

How can i Pull these licensenames using graph api. Please give suggestions.

Thanks in advance

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,715 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vasil Michev 95,836 Reputation points MVP
    2022-08-07T09:30:17.32+00:00

    Those "human readable" values are not exposed directly. You can make a subsequent call against the /subscribedSkus endpoint to resolve them, or "translate" them based on the info published in the official documentation: https://learn.microsoft.com/en-us/azure/active-directory/enterprise-users/licensing-service-plan-reference
    As those values are not tenant-specific, you can even hardcode them.

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful