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 Directory Management API
Microsoft Graph Users API
Microsoft Graph Users API
A Microsoft API that allows you to build compelling app experiences based on users, their relationships with other users and groups, and the resources they access for example their mails, calendars, files, administrative roles, group memberships.
720 questions
{count} votes

Accepted answer
  1. Vasil Michev 70,486 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 23,031 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.