Remove-AzureADDevice

This article provides migration details from Remove-AzureADDevice command to Microsoft Graph PowerShell.

Summary

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 Device.ReadWrite.All Not available.

View more details on permissions.

The calling user must also be in one of the following Microsoft Entra roles: Global Administrator, Intune Administrator, Windows 365 Administrator, or Cloud Device Administrator.

Property Mapping

Azure AD Name Microsoft Graph Name
ObjectId DeviceId