Forum Discussion
Vaibhav Ukandrao Gadre
Feb 22, 2019Copper Contributor
office rest API to find office online license details for user
Hello, We are building an app which has Microsoft office login through oauth 2.0 where user can login and if user valid office online user we will authorize user to access our app. In this scena...
Shantha Kumar
Feb 22, 2019Brass Contributor
Try the below Microsoft Graph URL,
https://graph.microsoft.com/v1.0/me/licenseDetails/
https://graph.microsoft.com/v1.0/users/{userid}/licenseDetails/
Ref:
https://docs.microsoft.com/en-us/graph/api/user-list-licensedetails?view=graph-rest-1.0
https://graph.microsoft.com/v1.0/me/licenseDetails/
https://graph.microsoft.com/v1.0/users/{userid}/licenseDetails/
Ref:
https://docs.microsoft.com/en-us/graph/api/user-list-licensedetails?view=graph-rest-1.0
- Vaibhav Ukandrao GadreFeb 25, 2019Copper Contributor
Thanks for the reply, Shantha.
I got license details from the API you mentioned. But I want to know which service plans refers to office online subscription with online excel as I want to verify it by code
Please can you guide me where I can know more about this license details api response.
- wilsonolarteNov 09, 2023Copper Contributorhi. you can search in: https://download.microsoft.com/download/e/3/e/e3e9faf2-f28b-490a-9ada-c6089a1fc5b0/Product%20names%20and%20service%20plan%20identifiers%20for%20licensing.csv and the json of sku of the tenat. In this first file, you can see the column GUID and the second file, you can see the column skuid.