Add-AzureADGroupOwner
This article provides migration details from Add-AzureADGroupOwner command to Microsoft Graph PowerShell.
Summary
- Azure AD Command: Add-AzureADGroupOwner
- Azure AD Module: AzureAD
- Microsoft Graph Command: New-MgGroupOwnerByRef (Community Examples)
- Graph Module: Microsoft.Graph.Groups
- Graph Endpoint: POST /groups/{group-id}/owners/$ref
Permissions
Permission type | Least privileged permissions | Higher privileged permissions |
---|---|---|
Delegated (work or school account) | Group.ReadWrite.All | Directory.ReadWrite.All |
Delegated (personal Microsoft account) | Not supported. | Not supported. |
Application | Group.ReadWrite.All | Directory.ReadWrite.All |
View more details on permissions.
Property Mapping
Azure AD Name | Microsoft Graph Name |
---|---|
ObjectId | GroupId |
RefObjectId | OdataId |
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre