Need to pull hierarchy of a users are in Azure group through power shell AD

Highlighted
Microsoft

I need to pull a total hierarchy of a user in Azure groups through power shell, already we are pulling in some info, but need to pull hierarchy through power shell script. Please help us to pull the data. 

 

Thanks in advance

Sai  

2 Replies
Highlighted

@SaiBolla 

Use Get-AzADGroup and Get-AzADGroupMember from the Az.Resources module.

Highlighted

Hi Manfred,
Both cmdlets are not working as per requirement. We are just getting user name and subscription name and tenant id.