Remove-AzureADDevice
This article provides migration details from Remove-AzureADDevice command to Microsoft Graph PowerShell.
Summary
- Azure AD Command: Remove-AzureADDevice
- Azure AD Module: AzureAD
- Microsoft Graph Command: Remove-MgDevice ([Community Examples](https://github.com/orgs/msgraph/discussions?discussions q=Remove-MgDevice))
- Graph Module: Microsoft.Graph.Identity.DirectoryManagement
- Graph Endpoint: DELETE /devices/{id}
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 |
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru