Forum Discussion
SaiBolla
Aug 18, 2020Microsoft
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
Sai
- Manfred101Iron Contributor
Use Get-AzADGroup and Get-AzADGroupMember from the Az.Resources module.
- SaiBollaMicrosoft
Hi Manfred,
Both cmdlets are not working as per requirement. We are just getting user name and subscription name and tenant id.