entra group user list does not show nested security groups. It shows only member users but does not show member groups.
It would be useful to be able to get groups or to get users+groups.
Filtering happens because of the microsoft.graph.user part in group-user-list.ts:184:
const endpoint: string = `${this.resource}/v1.0/groups/${groupId}/${role}/microsoft.graph.user?$select=${selectParam}${expandParam}`;
To get groups microsoft.graph.group can be used:
const endpoint: string = `${this.resource}/v1.0/groups/${groupId}/${role}/microsoft.graph.group?$select=${selectParam}${expandParam}`;
To get user + groups no microsoft.graph.* is needed:
const endpoint: string = `${this.resource}/v1.0/groups/${groupId}/${role}?$select=${selectParam}${expandParam}`;
Todo:
entra group user listdoes not show nested security groups. It shows only member users but does not show member groups.It would be useful to be able to get groups or to get users+groups.
Filtering happens because of the
microsoft.graph.userpart in group-user-list.ts:184:To get groups
microsoft.graph.groupcan be used:To get user + groups no
microsoft.graph.*is needed:Todo:
entra group user ...commands should be marked as deprecatedęntra group member ...ęntra group member ...commands (e.g. add, remove, list, ...)