Why do Graph license details not match what I see in Azure AD?

Chad Scott 31 Reputation points
2022-12-08T19:08:32.95+00:00

Here's what I see for a license in Azure AD:

268717-image.png

If I click into that license, I can get its skuId from the URL, which in this case is ../skuId/f245ecc8-75af-4f8e-b61f-27d8114de5f3. That lets me match it to what I retrieve from Graph's subscribedSkus endpoint, which gives me this:

   "capabilityStatus": "Enabled",  
   "consumedUnits": 21,  
   "id": "d4571ef4-05bd-40dc-ae11-370591bb1a33_f245ecc8-75af-4f8e-b61f-27d8114de5f3",  
   "skuId": "f245ecc8-75af-4f8e-b61f-27d8114de5f3",  
   "skuPartNumber": "O365_BUSINESS_PREMIUM",  
   "appliesTo": "User",  
   "prepaidUnits": {  
   "enabled": 21,  
   "suspended": 0,  
   "warning": 0  
   }  

I can't even begin to reconcile the two. How can I use Graph to see how many licenses have been purchased and how many have been consumed?

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

1 answer

Sort by: Most helpful
  1. Shivam Dhiman 5,946 Reputation points
    2022-12-08T23:31:03.03+00:00

    Hi @Chad Scott

    Using list subscribedSkus only you can get the list of commercial subscriptions that an organization has acquired. I have tried to replicate the same scenario but it's working as expected.
    I would recommend you to raise a support case with Microsoft Graph, a Support Engineer will be able to assist you better. You can raise support ticket from
    http://aad.portal.azure.com/ or https://admin.microsoft.com/#/support/requests.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.

    0 comments No comments