Get-AzureADUserCreatedObject
This article provides migration details from Get-AzureADUserCreatedObject command to Microsoft Graph PowerShell.
Summary
- Azure AD Command: Get-AzureADUserCreatedObject
- Azure AD Module: AzureAD
- Microsoft Graph Command: Get-MgUserCreatedObject (Community Examples)
- Graph Module: Microsoft.Graph.Users
- Graph Endpoint: GET /users/{user-id}/createdObjects | /users/{user-id}/createdObjects/{directoryObject-id}
Permissions
Permission type | Least privileged permissions | Higher privileged permissions |
---|---|---|
Delegated (work or school account) | User.Read | Directory.Read.All, Directory.ReadWrite.All, User.Read.All, User.ReadWrite, User.ReadWrite.All |
Delegated (personal Microsoft account) | User.Read | User.ReadWrite |
Application | User.Read.All | Directory.Read.All, Directory.ReadWrite.All, User.ReadWrite.All |
View more details on permissions.
Property Mapping
Azure AD Name | Microsoft Graph Name |
---|---|
All | All |
ObjectId | UserId |
Top | Top |
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om