Get-AzureADObjectSetting
This article provides migration details from Get-AzureADObjectSetting command to Microsoft Graph PowerShell.
Important
This is a Beta command. The v1.0 version is also available as Get-MgGroupSetting.
Summary
- Azure AD Command: Get-AzureADObjectSetting
- Azure AD Module: AzureADPreview
- Microsoft Graph Command: Get-MgBetaGroupSetting (Community Examples)
- Graph Module: Microsoft.Graph.Beta.Groups
- Graph Endpoint: GET /groupSettings/{groupSettingId} | /groups/{groupId}/settings/{groupSettingId}
Permissions
List tenant-wide settings
Permission type | Permissions (from least to most privileged) |
---|---|
Delegated (work or school account) | Directory.Read.All, Directory.ReadWrite.All |
Delegated (personal Microsoft account) | Not supported. |
Application | Directory.Read.All, Directory.ReadWrite.All |
List group-specific settings
Permission type | Permissions (from least to most privileged) |
---|---|
Delegated (work or school account) | Group.Read.All, Group.ReadWrite.All |
Delegated (personal Microsoft account) | Not supported. |
Application | Group.Read.All, Group.ReadWrite.All |
View more details on permissions.
Property Mapping
Azure AD Name | Microsoft Graph Name |
---|---|
All | NA |
Id | NA |
TargetObjectId | GroupId |
TargetType | NA |
Top | NA |