How to get O365 License expiration dates using Graph Api

I need to know when my O365 licenses will be expired using O365 APIs.

I am using this REST call https://graph.microsoft.com/v1.0/me?$select=assignedLicenses,assignedPlans,id

which returns all my assigned licenses and assigned plans. but does not tell me when my licenses will be expired.

Is there any way for me to get this info using an API?

Upvotes: 2

Views: 1737

Answers (1)

Marek Rycharski
Marek Rycharski

Reputation: 1694

Microsoft Graph API does not expose license expiration dates. The API covers license assignment, but not subscription lifecycle management. There is no way to get that info using an API.

Upvotes: 1

Related Questions