Use graph api to get the cost per user

chonky_kittu 41 Reputation points

I am trying to use Graph API to get the cost per user subscription, based on the Office365 applications/services the given user is assigned to.

Are there any rest endpoints that give me such details? I have tried the following endpoints/documentation

I have also referred to which sums up my question, but the reply to the post is old and I was wondering if there has been any new development in graph rest endpoint, that exposes the cost of user subscription (per year or per month). If not, are there any other endpoints that I can use?


Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,082 questions
{count} votes

Accepted answer
  1. Vasil Michev 98,206 Reputation points MVP

    There's nothing in Graph that will give you the cost of specific license. You can of course get the list of licenses assigned for the user, as well as total available within the tenant. But you'll have to correlate the price information with some external source. Keep in mind that license price can vary greatly depending on how the license was procured (i.e. bought from the portal vs having EA vs bought from CSP, etc).

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. CarlZhao-MSFT 38,941 Reputation points

    Hi @austinA-8850

    There is currently no graph api endpoint for getting user subscription cost, I suggest you submit user voice to add support for this feature.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.