List All Members
List all members of a group, including members that are part of nested groups
Last updated
Was this helpful?
List all members of a group, including members that are part of nested groups
This script retrieves the members of a specified EntraID group, including both direct members and those from nested groups. The output is a CSV file with columns for User Principal Name (UPN), direct membership status, and group path. The group path reflects the membership hierarchy—for example, “Primary, Secondary” if a user belongs to “Primary” via the nested group “Secondary.”
Group → General → List All Members
Full Runbook name
rjgit-group_general_list-all-members
Type: Microsoft Graph
Group.Read.All
User.Read.All
The Object ID of the Microsoft Entra ID group whose membership will be retrieved.
Required
true
Default Value
Type
String
Last updated
Was this helpful?
Was this helpful?