Remove-AzureADDeviceRegisteredOwner
This article provides migration details from Remove-AzureADDeviceRegisteredOwner command to Microsoft Graph PowerShell.
Summary
- Azure AD Command: Remove-AzureADDeviceRegisteredOwner
- Azure AD Module: AzureAD
- Microsoft Graph Command: Remove-MgDeviceRegisteredOwnerByRef (Community Examples)
- Graph Module: Microsoft.Graph.Identity.DirectoryManagement
- Graph Endpoint: DELETE /devices/{device-id}/registeredOwners/{directoryObject-id}/$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 |
OwnerId | DirectoryObjectId |