Device.ReadWrite.All

Device.ReadWrite.All is available as an application permission only in Microsoft Graph. Application access requires admin consent. See Microsoft's permissions reference.

Permission details

Versionv126 Nov 2026
PropertyApplication
Display nameRead and write devices
DescriptionAllows the app to read and write all device properties without a signed in user. Does not allow device creation, device deletion or update of device alternative security identifiers.
Permission ID1138cb37-bd11-4084-a2b7-9f71582aeddb
Admin consent requiredYes
Privilege levelLevel 4 · CriticalThe broadest or most sensitive access, with substantial administrative or organizational impact.

Roles that support this permission

0 roles

No Microsoft Entra roles are mapped to this permission.

Request samples

60 samples
About these request samplesSome read operations use POST requests, such as searches that send query details in a request body. Samples and permission mappings are collated from multiple official Microsoft sources, including Microsoft Graph DevX and the PowerShell SDK. Differences between API versions and source metadata mean they may not always reflect actual endpoint behavior. Verify the current Microsoft Graph documentation before implementation.

application

  • DELETE
    /devices/{id}
    PowerShellRemove-MgDeviceIdentity.DirectoryManagementLeast privilege
  • PATCH
    /devices/{id}
    PowerShellUpdate-MgDeviceIdentity.DirectoryManagementLeast privilege
  • DELETE
    /devices(deviceid={value})No matching Microsoft Graph PowerShell command
  • DELETE
    /devices/{id}/cloudLicensing/assignments/{id}No matching Microsoft Graph PowerShell command
  • GET
    /devices
    PowerShellGet-MgDeviceIdentity.DirectoryManagement
  • GET
    /devices(deviceid={value})No matching Microsoft Graph PowerShell command
  • GET
    /devices(deviceid={value})/memberofNo matching Microsoft Graph PowerShell command
  • GET
    /devices(deviceid={value})/registeredownersNo matching Microsoft Graph PowerShell command
  • GET
    /devices(deviceid={value})/registeredusersNo matching Microsoft Graph PowerShell command
  • GET
    /devices(deviceid={value})/transitivememberofNo matching Microsoft Graph PowerShell command
  • GET
    /devices(deviceid={value})/usagerightsNo matching Microsoft Graph PowerShell command
  • GET
    /devices/{id}
    PowerShellGet-MgDeviceIdentity.DirectoryManagement
  • GET
    /devices/{id}/cloudLicensing/assignmentsNo matching Microsoft Graph PowerShell command
  • GET
    /devices/{id}/cloudLicensing/assignments/{id}No matching Microsoft Graph PowerShell command
  • GET
    /devices/{id}/cloudLicensing/assignments/{id}/allotmentNo matching Microsoft Graph PowerShell command
  • GET
    /devices/{id}/cloudLicensing/usageRightsNo matching Microsoft Graph PowerShell command
  • GET
    /devices/{id}/cloudLicensing/usageRights/{id}No matching Microsoft Graph PowerShell command
  • GET
    /devices/{id}/cloudLicensing/usageRights/{id}/assignmentsNo matching Microsoft Graph PowerShell command
  • GET
    /devices/{id}/cloudLicensing/waitingMembersNo matching Microsoft Graph PowerShell command
  • GET
    /devices/{id}/cloudLicensing/waitingMembers/{id}No matching Microsoft Graph PowerShell command
  • GET
    /devices/{id}/cloudLicensing/waitingMembers/{id}/allotmentNo matching Microsoft Graph PowerShell command
  • GET
    /devices/{id}/memberof
    PowerShellGet-MgDeviceMemberOfIdentity.DirectoryManagement
  • GET
    /devices/{id}/registeredowners
    PowerShellGet-MgDeviceRegisteredOwnerIdentity.DirectoryManagement
  • GET
    /devices/{id}/registeredusers
    PowerShellGet-MgDeviceRegisteredUserIdentity.DirectoryManagement
  • GET
    /devices/{id}/transitivememberof
    PowerShellGet-MgDeviceTransitiveMemberOfIdentity.DirectoryManagement
  • GET
    /devices/{id}/usagerightsNo matching Microsoft Graph PowerShell command
  • PATCH
    /devices(deviceid={value})No matching Microsoft Graph PowerShell command
  • PATCH
    /devices/{id}/cloudLicensing/assignments/{id}No matching Microsoft Graph PowerShell command
  • POST
    /contacts/{id}/checkmembergroups
    PowerShellConfirm-MgContactMemberGroupIdentity.DirectoryManagement
  • POST
    /contacts/{id}/checkmemberobjects
    PowerShellConfirm-MgContactMemberObjectIdentity.DirectoryManagement
  • POST
    /contacts/{id}/getmembergroups
    PowerShellGet-MgContactMemberGroupIdentity.DirectoryManagement
  • POST
    /contacts/{id}/getmemberobjects
    PowerShellGet-MgContactMemberObjectIdentity.DirectoryManagement
  • POST
    /devices/{id}/checkmembergroups
    PowerShellConfirm-MgDeviceMemberGroupIdentity.DirectoryManagement
  • POST
    /devices/{id}/checkmemberobjects
    PowerShellConfirm-MgDeviceMemberObjectIdentity.DirectoryManagement
  • POST
    /devices/{id}/cloudLicensing/assignmentsNo matching Microsoft Graph PowerShell command
  • POST
    /devices/{id}/cloudLicensing/assignments/reprocessAssignmentsNo matching Microsoft Graph PowerShell command
  • POST
    /devices/{id}/getmembergroups
    PowerShellGet-MgDeviceMemberGroupIdentity.DirectoryManagement
  • POST
    /devices/{id}/getmemberobjects
    PowerShellGet-MgDeviceMemberObjectIdentity.DirectoryManagement
  • POST
    /directoryobjects/{id}/checkmembergroups
    PowerShellConfirm-MgDirectoryObjectMemberGroupDirectoryObjects
  • POST
    /directoryobjects/{id}/checkmemberobjects
    PowerShellConfirm-MgDirectoryObjectMemberObjectDirectoryObjects
  • POST
    /directoryobjects/{id}/getmembergroups
    PowerShellGet-MgDirectoryObjectMemberGroupDirectoryObjects
  • POST
    /directoryobjects/{id}/getmemberobjects
    PowerShellGet-MgDirectoryObjectMemberObjectDirectoryObjects
  • POST
    /groups/{id}/checkmembergroups
    PowerShellConfirm-MgGroupMemberGroupGroups
  • POST
    /groups/{id}/checkmemberobjects
    PowerShellConfirm-MgGroupMemberObjectGroups
  • POST
    /groups/{id}/getmembergroups
    PowerShellGet-MgGroupMemberGroupGroups
  • POST
    /groups/{id}/getmemberobjects
    PowerShellGet-MgGroupMemberObjectGroups
  • POST
    /me/checkmembergroupsNo matching Microsoft Graph PowerShell command
  • POST
    /me/checkmemberobjectsNo matching Microsoft Graph PowerShell command
  • POST
    /me/getmembergroupsNo matching Microsoft Graph PowerShell command
  • POST
    /me/getmemberobjectsNo matching Microsoft Graph PowerShell command
  • POST
    /serviceprincipals/{id}/checkmembergroups
    PowerShellConfirm-MgServicePrincipalMemberGroupApplications
  • POST
    /serviceprincipals/{id}/checkmemberobjects
    PowerShellConfirm-MgServicePrincipalMemberObjectApplications
  • POST
    /serviceprincipals/{id}/getmembergroups
    PowerShellGet-MgServicePrincipalMemberGroupApplications
  • POST
    /serviceprincipals/{id}/getmemberobjects
    PowerShellGet-MgServicePrincipalMemberObjectApplications
  • POST
    /users/{id}/checkmembergroups
    PowerShellConfirm-MgUserMemberGroupUsers.Actions
  • POST
    /users/{id}/checkmemberobjects
    PowerShellConfirm-MgUserMemberObjectUsers.Actions
  • POST
    /users/{id}/getmembergroups
    PowerShellGet-MgUserMemberGroupUsers.Actions
  • POST
    /users/{id}/getmemberobjects
    PowerShellGet-MgUserMemberObjectUsers.Actions
  • PUT
    /devices/{id}/cloudLicensing/assignments/{id}/allotment/$refNo matching Microsoft Graph PowerShell command
  • PUT
    /devices/{id}/cloudLicensing/assignments/{id}/assignedTo/$refNo matching Microsoft Graph PowerShell command