SOLVED

Check Azure AD version via Microsoft Graph

%3CLINGO-SUB%20id%3D%22lingo-sub-1273167%22%20slang%3D%22en-US%22%3ECheck%20Azure%20AD%20version%20via%20Microsoft%20Graph%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1273167%22%20slang%3D%22en-US%22%3E%3CP%3EI%20know%20you%20can%20get%20the%20version%20of%20the%20AD%20version%20in%20the%20portal%20(%3CSPAN%3EAzure%20AD%20Premium%20P1%20etc).%20I'd%20like%20to%20get%20the%20information%20through%20Microsoft%20Graph.%20I%20had%20a%20look%20but%20couldn't%20find%20a%20way%2C%20though%20I'd%20imagine%20its%20possible%20and%20I'm%20missing%20something.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EDoes%20anyone%20know%20how%20to%20get%20this%20information%20through%20Graph%3F%20Any%20help%20appreciated.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1273167%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Graph%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1274116%22%20slang%3D%22en-US%22%3ERe%3A%20Check%20Azure%20AD%20version%20via%20Microsoft%20Graph%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1274116%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F186539%22%20target%3D%22_blank%22%3E%40Thijs%20Lecomte%3C%2FA%3E%26nbsp%3BThanks%20Thijs%2C%20that%20could%20definitely%20be%20an%20option.%20That%20link%20redirects%20to%20this%20question%2C%20did%20you%20happen%20to%20have%20an%20article%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1273998%22%20slang%3D%22en-US%22%3ERe%3A%20Check%20Azure%20AD%20version%20via%20Microsoft%20Graph%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1273998%22%20slang%3D%22en-US%22%3E%3CP%3EI%20just%20checked%20the%20Graph%20documentation%20and%20I%20don't%20see%20any%20direct%20way%20of%20doing%20it.%3CBR%20%2F%3EYou%20could%20query%20org%20details%20and%20filter%20AAD%20licenses%3F%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Forganization-get%3Fview%3Dgraph-rest-1.0%26amp%3Btabs%3Dhttp%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Forganization-get%3Fview%3Dgraph-rest-1.0%26amp%3Btabs%3Dhttp%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1274123%22%20slang%3D%22en-US%22%3ERe%3A%20Check%20Azure%20AD%20version%20via%20Microsoft%20Graph%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1274123%22%20slang%3D%22en-US%22%3E%3CP%3EHI%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F522791%22%20target%3D%22_blank%22%3E%40Jon_Monks%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20apologies%2C%20I%20was%20too%20fast%2C%20correct%20URL%3A%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Forganization-get%3Fview%3Dgraph-rest-1.0%26amp%3Btabs%3Dhttp%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Forganization-get%3Fview%3Dgraph-rest-1.0%26amp%3Btabs%3Dhttp%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1274183%22%20slang%3D%22en-US%22%3ERe%3A%20Check%20Azure%20AD%20version%20via%20Microsoft%20Graph%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1274183%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F186539%22%20target%3D%22_blank%22%3E%40Thijs%20Lecomte%3C%2FA%3E%26nbsp%3BThijs%2C%20your%20profile%20says%20you%20are%20a%20super%20contributor.%20I%20completely%20agree!%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThat%20did%20the%20trick%20nicely.%20For%20anyone%20who%20might%20read%20this%20post%20in%20the%20future%2C%20you%20may%20find%20the%20following%20article%20useful%20too.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fusers-groups-roles%2Flicensing-service-plan-reference%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fusers-groups-roles%2Flicensing-service-plan-reference%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

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.

4 Replies
Highlighted

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

Highlighted

@Thijs Lecomte Thanks Thijs, that could definitely be an option. That link redirects to this question, did you happen to have an article?

Highlighted
Best Response confirmed by Jon_Monks (New Contributor)
Solution
Highlighted

@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.

 

https://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/licensing-service-plan-re...