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