Get-AzureADUserManager
This article provides migration details from Get-AzureADUserManager command to Microsoft Graph PowerShell.
Summary
- Azure AD Command: Get-AzureADUserManager
- Azure AD Module: AzureAD
- Microsoft Graph Command: Get-MgUserManager (Community Examples)
- Graph Module: Microsoft.Graph.Users
- Graph Endpoint: GET /users/{user-id}/manager
Permissions
Permission type | Least privileged permissions | Higher privileged permissions |
---|---|---|
Delegated (work or school account) | User.Read.All | Directory.Read.All, Directory.ReadWrite.All, User.ReadWrite.All |
Delegated (personal Microsoft account) | Not supported. | Not supported. |
Application | Not supported. | Not supported. |
View more details on permissions.
Property Mapping
Azure AD Name | Microsoft Graph Name |
---|---|
ObjectId | UserId |