Get All Users of Nested AAD Groups
Hello! I’ve spent the morning retrieving all of the users from a bunch of AAD Groups. The trouble was that groups were also members of the groups, so it was necessary to get the member of those groups as well. Actually, this was no trouble at all; it was a case of looping through and writing the users to a csv and looping through the sub-groups to get the users and groups etc etc.