Get-AzureADGroupMember
This article provides migration details from Get-AzureADGroupMember command to Microsoft Graph PowerShell.
Summary
- Azure AD Command: Get-AzureADGroupMember
- Azure AD Module: AzureAD
- Microsoft Graph Command: Get-MgGroupMember (Community Examples)
- Graph Module: Microsoft.Graph.Groups
- Graph Endpoint: GET /groups/{id}/members
Permissions
Permission type | Least privileged permissions | Higher privileged permissions |
---|---|---|
Delegated (work or school account) | GroupMember.Read.All | Directory.Read.All, Group.Read.All, Group.ReadWrite.All, GroupMember.ReadWrite.All |
Delegated (personal Microsoft account) | Not supported. | Not supported. |
Application | GroupMember.Read.All | Directory.Read.All, Group.Read.All, Group.ReadWrite.All, GroupMember.ReadWrite.All |
View more details on permissions.
Property Mapping
Azure AD Name | Microsoft Graph Name |
---|---|
ObjectId | GroupId |