Azure AD Group License Report

%3CLINGO-SUB%20id%3D%22lingo-sub-1480842%22%20slang%3D%22en-US%22%3EAzure%20AD%20Group%20License%20Report%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1480842%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Everyone!!!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWould%20anyone%20have%20a%20PS%20script%20that%20would%20provide%20the%20following(example%20below)%3F%20I%20would%20like%20to%20output%20a%20report%20that%20would%20tell%20me%20what%20licenses%20(direct%20or%20inherited)%20users%20have%20within%20an%20Azure%20AD%20group.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAzure%20Group%20Name%20%7C%20User%20%7C%20AccountName%20%7C%20Licenses%3C%2FP%3E%3CP%3ETeam%20IT%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BChristopher%20James%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3CA%20href%3D%22mailto%3Acjames%40gmail.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ecjames%40gmail.com%3C%2FA%3E%26nbsp%3B%20%26nbsp%3BDirect%2C%20Enterprise%20Mobility%20%2B%20E3%3C%2FP%3E%3CP%3ETeam%20IT%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BJames%20Smith%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3CA%20href%3D%22mailto%3Acjames%40gmail.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ejsmith%40gmail.com%3C%2FA%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BDirect%2C%20Inherited%20(PCC-IT)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1480842%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20Active%20Directory%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1481160%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20AD%20Group%20License%20Report%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1481160%22%20slang%3D%22en-US%22%3E%3CP%3ECheck%20here%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fusers-groups-roles%2Flicensing-ps-examples%23check-if-user-license-is-assigned-directly-or-inherited-from-a-group%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fusers-groups-roles%2Flicensing-ps-examples%23check-if-user-license-is-assigned-directly-or-inherited-from-a-group%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hello Everyone!!!

 

Would anyone have a PS script that would provide the following(example below)? I would like to output a report that would tell me what licenses (direct or inherited) users have within an Azure AD group.

 

Azure Group Name | User | AccountName | Licenses

Team IT           Christopher James      cjames@gmail.com   Direct, Enterprise Mobility + E3

Team IT           James Smith               jsmith@gmail.com     Direct, Inherited (PCC-IT)

1 Reply