Is there a way to get license expiry and license assigned date to user from GRAPH REST API

Velshankar Manickavasagam 1 Reputation point
2021-08-18T04:42:08.417+00:00

Is there a way to get license expiry date and license assigned date to user (User Assignments) from GRAPH REST API or any other API?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,794 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vasil Michev 100.2K Reputation points MVP
    2021-08-18T06:31:10.87+00:00

    What exactly do you mean by "license expiry date"? Once assigned, a license is valid until you remove it, or the corresponding subscription lapses.
    In any case, you can monitor licensing operations via the audit log: https://learn.microsoft.com/en-us/graph/api/directoryaudit-list?view=graph-rest-1.0&tabs=http