Apr 01 2020
- last edited on
Jan 14 2022
I know you can get the Azure AD version in the portal (Azure AD Premium P1 etc). I'd like to get the information through Microsoft Graph. I had a look but couldn't find a way, though I'd imagine its possible and I'm missing something.
Does anyone know how to get this information through Graph? Any help appreciated.
Apr 02 2020 12:17 AM - edited Apr 02 2020 01:11 AM
I just checked the Graph documentation and I don't see any direct way of doing it.
You could query org details and filter AAD licenses? https://docs.microsoft.com/en-us/graph/api/organization-get?view=graph-rest-1.0&tabs=http
Apr 02 2020 01:10 AM - edited Apr 02 2020 01:11 AMSolution
My apologies, I was too fast, correct URL: https://docs.microsoft.com/en-us/graph/api/organization-get?view=graph-rest-1.0&tabs=http
Apr 02 2020 01:42 AM
@Thijs Lecomte Thijs, your profile says you are a super contributor. I completely agree! :)
That did the trick nicely. For anyone who might read this post in the future, you may find the following article useful too.