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


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


2 Replies


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

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