OnPremDirectorySynchronization.ReadWrite.All

OnPremDirectorySynchronization.ReadWrite.All is available as both an application and a delegated permission in Microsoft Graph. Application access requires admin consent. Delegated access requires admin consent. See Microsoft's permissions reference.

Permission details

Versionv126 Nov 2026
PropertyApplicationDelegated
Display nameRead and write all on-premises directory synchronization informationRead and write all on-premises directory synchronization information
DescriptionAllows the app to read and write all on-premises directory synchronization information for the organization, without a signed-in user.Allows the app to read and write all on-premises directory synchronization information for the organization, on behalf of the signed-in user.
Permission IDc22a92cc-79bf-4bb1-8b6c-e0a05d3d80cec2d95988-7604-4ba1-aaed-38a5f82a51c7
Admin consent requiredYesYes
Privilege levelNot classifiedThe source catalog does not currently assign a privilege level to this permission.Level 3 · HighBroad or sensitive access that can significantly affect users or organizational data.

Roles that support this permission

2 roles

Request samples

9 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
    /directory/onPremisesSynchronization/{id}/accounts/{id}No matching Microsoft Graph PowerShell command
  • GET
    /directory/onpremisessynchronization
    PowerShellGet-MgDirectoryOnPremiseSynchronizationIdentity.DirectoryManagement
  • GET
    /directory/onpremisessynchronization/{id}
    PowerShellGet-MgDirectoryOnPremiseSynchronizationIdentity.DirectoryManagement
  • GET
    /directory/onPremisesSynchronization/{id}/accountsNo matching Microsoft Graph PowerShell command
  • GET
    /directory/onPremisesSynchronization/{id}/accounts/{id}No matching Microsoft Graph PowerShell command
  • PATCH
    /directory/onpremisessynchronization/{id}
    PowerShellUpdate-MgDirectoryOnPremiseSynchronizationIdentity.DirectoryManagement
  • PATCH
    /directory/onpremisessynchronization/{id}/accounts/{id}No matching Microsoft Graph PowerShell command
  • POST
    /directory/onPremisesSynchronization/{id}/accountsNo matching Microsoft Graph PowerShell command
  • POST
    /directory/onPremisesSynchronization/{id}/accounts/{id}/resetPasswordNo matching Microsoft Graph PowerShell command