Get-AzureADUserOwnedDevice
This article provides migration details from Get-AzureADUserOwnedDevice command to Microsoft Graph PowerShell.
Summary
- Azure AD Command: Get-AzureADUserOwnedDevice
- Azure AD Module: AzureAD
- Microsoft Graph Command: Get-MgUserOwnedDevice (Community Examples)
- Graph Module: Microsoft.Graph.Users
- Graph Endpoint: GET /users/{id | userPrincipalName}/ownedDevices
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.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 |