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?
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?
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://docs.microsoft.com/en-us/graph/api/directoryaudit-list?view=graph-rest-1.0&tabs=http
license expiry date means Subscription End Date only. I want to understand the end date of the subscription.
I am not able to find any licensing operations in Audit Log based on SKuId. Can you explain how to identify the information from the logs?
The audit log suggestion was in case you are looking for per-user licensing information. There is nothing in the Graph API that shows subscription end date afaik, you can however use good old Get-MsolSubscription for that.
2 people are following this question.