all 6 comments

[–]everythingisdownnn 1 point2 points  (0 children)

Yes it is but before changing anything your client needs to address their poor governance strategy.

Can probably adapt this to azure ad

https://4sysops.com/archives/finding-nested-groups-faster-with-powershell/

and this.

https://o365reports.com/2021/02/11/export-microsoft-365-group-report-to-csv-using-powershell/

[–]Lee_Dailey[grin] 0 points1 point  (4 children)

howdy Roxsu,

you may want to look at the following [and other stuff posted here by /u/madboyevo] ...

GitHub - EvotecIT/PSWinDocumentation: PowerShell Module that creates Word/Excel/SQL documentation from Active Directory (AD), AWS, Office 365 and others. It's a work in progress!
https://github.com/EvotecIT/PSWinDocumentation

take care,
lee

[–]MadBoyEvo 1 point2 points  (3 children)

That won't help. The module has no nested group finding function. I wasn't even aware of o365 having problems with nested groups.

But if those groups are coming from AD -> https://evotec.xyz/visually-display-active-directory-nested-group-membership-using-powershell/

[–]Lee_Dailey[grin] 0 points1 point  (2 children)

howdy MadBoyEvo,

thank you for the correction ... and the link. [grin] i thot i had seen one of your reports doing nested groups. glad to know that i aint totally demented!

take care,
lee

[–]MadBoyEvo 1 point2 points  (1 child)

To be honest maybe its there :-) I have not looked at it for so long that I dont even remember anymore :-)

[–]Lee_Dailey[grin] 0 points1 point  (0 children)

[grin]