Add-AzureADDeviceRegisteredOwner
This article provides migration details from Add-AzureADDeviceRegisteredOwner command to Microsoft Graph PowerShell.
Summary
- Azure AD Command: Add-AzureADDeviceRegisteredOwner
- Azure AD Module: AzureAD
- Microsoft Graph Command: New-MgDeviceRegisteredOwnerByRef (Community Examples)
- Graph Module: Microsoft.Graph.Identity.DirectoryManagement
- Graph Endpoint: POST /devices/{device-id}/registeredOwners/$ref
Permissions
Permission type | Least privileged permissions | Higher privileged permissions |
---|---|---|
Delegated (work or school account) | Directory.AccessAsUser.All | Not available. |
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 | DeviceId |
RefObjectId | OdataId |