Directory.AccessAsUser.All

Directory.AccessAsUser.All is available as a delegated permission only in Microsoft Graph. Delegated access requires admin consent. See Microsoft's permissions reference.

Permission details

Versionv126 Nov 2026
PropertyDelegated
Display nameAccess directory as the signed in user
DescriptionAllows the app to have the same access to information in the directory as the signed-in user.
Permission ID0e263e50-5827-48a4-b97c-d940288653c7
Admin consent requiredYes
Privilege levelLevel 3 · HighBroad or sensitive access that can significantly affect users or organizational data.

Roles that support this permission

0 roles

No Microsoft Entra roles are mapped to this permission.

Request samples

35 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.

delegated

  • 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}/registeredowners/{id}No matching Microsoft Graph PowerShell command
  • DELETE
    /devices/{id}/registeredusers/{id}No matching Microsoft Graph PowerShell command
  • DELETE
    /privilegedroleassignments/{id}No matching Microsoft Graph PowerShell command
  • GET
    /privilegedapproval/myrequestsNo matching Microsoft Graph PowerShell command
  • GET
    /privilegedoperationeventsNo matching Microsoft Graph PowerShell command
  • GET
    /privilegedroleassignmentsNo matching Microsoft Graph PowerShell command
  • GET
    /privilegedroleassignments/{id}No matching Microsoft Graph PowerShell command
  • GET
    /privilegedroleassignments/{id}/roleinfoNo matching Microsoft Graph PowerShell command
  • GET
    /privilegedroleassignments/myNo matching Microsoft Graph PowerShell command
  • GET
    /privilegedrolesNo matching Microsoft Graph PowerShell command
  • GET
    /privilegedroles/{id}No matching Microsoft Graph PowerShell command
  • GET
    /privilegedroles/{id}/assignmentsNo matching Microsoft Graph PowerShell command
  • GET
    /privilegedroles/{id}/settingsNo matching Microsoft Graph PowerShell command
  • PATCH
    /devices(deviceid={value})No matching Microsoft Graph PowerShell command
  • PATCH
    /me/authentication/qrcodepinmethod/pin/updatepinNo matching Microsoft Graph PowerShell command
  • PATCH
    /users/{id}/authentication/qrcodepinmethod/pin/updatepinNo matching Microsoft Graph PowerShell command
  • POST
    /devices
    PowerShellNew-MgDeviceIdentity.DirectoryManagement
  • POST
    /devices(deviceid={value})/registeredownersNo matching Microsoft Graph PowerShell command
  • POST
    /devices(deviceid={value})/registeredusersNo matching Microsoft Graph PowerShell command
  • POST
    /devices/{id}/registeredownersNo matching Microsoft Graph PowerShell command
  • POST
    /devices/{id}/registeredusersNo matching Microsoft Graph PowerShell command
  • POST
    /directory/administrativeunits/{id}/members
    PowerShellNew-MgDirectoryAdministrativeUnitMemberIdentity.DirectoryManagement
  • POST
    /groups/{id}/deletepasswordsinglesignoncredentialsNo matching Microsoft Graph PowerShell command
  • POST
    /groups/{id}/getpasswordsinglesignoncredentialsNo matching Microsoft Graph PowerShell command
  • POST
    /privilegedapprovalNo matching Microsoft Graph PowerShell command
  • POST
    /privilegedroleassignmentsNo matching Microsoft Graph PowerShell command
  • POST
    /privilegedroleassignments/{id}/makeeligibleNo matching Microsoft Graph PowerShell command
  • POST
    /privilegedroleassignments/{id}/makepermanentNo matching Microsoft Graph PowerShell command
  • POST
    /privilegedroles/{id}/selfactivateNo matching Microsoft Graph PowerShell command
  • POST
    /privilegedroles/{id}/selfdeactivateNo matching Microsoft Graph PowerShell command
  • POST
    /users/{id}/deletepasswordsinglesignoncredentialsNo matching Microsoft Graph PowerShell command
  • POST
    /users/{id}/getpasswordsinglesignoncredentialsNo matching Microsoft Graph PowerShell command