title | description | ms.service | ms.topic | ms.date | ms.author | manager | author | ms.reviewer |
---|---|---|---|---|---|---|---|---|
New-AzureADDevice |
This article provides migration details from New-AzureADDevice command to Microsoft Graph PowerShell. |
active-directory |
reference |
12/13/2023 |
eunicewaweru |
CelesteDG |
msewaweru |
stevemutungi |
This article provides migration details from New-AzureADDevice command to Microsoft Graph PowerShell.
- Azure AD Command: New-AzureADDevice
- Azure AD Module: AzureAD
- Microsoft Graph Command: New-MgDevice (Community Examples)
- Graph Module: Microsoft.Graph.Identity.DirectoryManagement
- Graph Endpoint: POST /devices
[!INCLUDE permissions-table]
View more details on permissions.
The calling user must also be in one of the following Microsoft Entra roles: Global Administrator, Intune Administrator, or Windows 365 Administrator.
Azure AD Name | Microsoft Graph Name |
---|---|
AccountEnabled | AccountEnabled |
AlternativeSecurityIds | AlternativeSecurityIds |
ApproximateLastLogonTimeStamp | NA |
DeviceId | DeviceId |
DeviceMetadata | DeviceMetadata |
DeviceObjectVersion | NA |
DeviceOSType | NA |
DeviceOSVersion | NA |
DevicePhysicalIds | NA |
DeviceTrustType | NA |
IsCompliant | IsCompliant |
DisplayName | DisplayName |
IsManaged | IsManaged |
ProfileType | ProfileType |
SystemLabels | SystemLabels |