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.
36,531 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vasil Michev 97,076 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