Domain.ReadWrite.All

Domain.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 domainsRead and write domains
DescriptionAllows the app to read and write all domain properties without a signed in user. Also allows the app to add, verify and remove domains.Allows the app to read and write all domain properties on behalf of the signed-in user. Also allows the app to add, verify and remove domains.
Permission ID7e05723c-0bb0-42da-be95-ae9f08a6e53c0b5d694c-a244-4bde-86e6-eb5cd07730fe
Admin consent requiredYesYes
Privilege levelLevel 4 · CriticalThe broadest or most sensitive access, with substantial administrative or organizational impact.Level 4 · CriticalThe broadest or most sensitive access, with substantial administrative or organizational impact.

Roles that support this permission

6 roles

Request samples

36 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
    /directory/federationconfigurations/{id}
    PowerShellRemove-MgDirectoryFederationConfigurationIdentity.DirectoryManagementLeast privilege
  • DELETE
    /domains/{id}
    PowerShellRemove-MgDomainIdentity.DirectoryManagementLeast privilege
  • PATCH
    /domains/{id}
    PowerShellUpdate-MgDomainIdentity.DirectoryManagementLeast privilege
  • POST
    /domains
    PowerShellNew-MgDomainIdentity.DirectoryManagementLeast privilege
  • POST
    /domains/{id}/forcedelete
    PowerShellInvoke-MgForceDomainDeleteIdentity.DirectoryManagementLeast privilege
  • POST
    /domains/{id}/promote
    PowerShellInvoke-MgPromoteDomainIdentity.DirectoryManagementLeast privilege
  • POST
    /domains/{id}/verify
    PowerShellConfirm-MgDomainIdentity.DirectoryManagementLeast privilege
  • DELETE
    /domains/{id}/federationconfiguration/{id}
    PowerShellRemove-MgDomainFederationConfigurationIdentity.DirectoryManagement
  • GET
    /directory/federationconfigurations/graph.samlorwsfedexternaldomainfederationNo matching Microsoft Graph PowerShell command
  • GET
    /domains
    PowerShellGet-MgDomainIdentity.DirectoryManagement
  • GET
    /domains/{id}
    PowerShellGet-MgDomainIdentity.DirectoryManagement
  • GET
    /domains/{id}/domainnamereferences
    PowerShellGet-MgDomainNameReferenceIdentity.DirectoryManagement
  • GET
    /domains/{id}/federationconfiguration/{id}
    PowerShellGet-MgDomainFederationConfigurationIdentity.DirectoryManagement
  • GET
    /domains/{id}/rootDomain
    PowerShellGet-MgDomainRootDomainIdentity.DirectoryManagement
  • GET
    /domains/{id}/serviceconfigurationrecords
    PowerShellGet-MgDomainServiceConfigurationRecordIdentity.DirectoryManagement
  • GET
    /domains/{id}/verificationdnsrecords
    PowerShellGet-MgDomainVerificationDnsRecordIdentity.DirectoryManagement
  • PATCH
    /domains/{id}/federationconfiguration/{id}
    PowerShellUpdate-MgDomainFederationConfigurationIdentity.DirectoryManagement
  • POST
    /domains/{id}/federationconfiguration
    PowerShellNew-MgDomainFederationConfigurationIdentity.DirectoryManagement

delegated

  • DELETE
    /directory/federationconfigurations/{id}
    PowerShellRemove-MgDirectoryFederationConfigurationIdentity.DirectoryManagementLeast privilege
  • DELETE
    /domains/{id}
    PowerShellRemove-MgDomainIdentity.DirectoryManagementLeast privilege
  • PATCH
    /domains/{id}
    PowerShellUpdate-MgDomainIdentity.DirectoryManagementLeast privilege
  • POST
    /domains
    PowerShellNew-MgDomainIdentity.DirectoryManagementLeast privilege
  • POST
    /domains/{id}/forcedelete
    PowerShellInvoke-MgForceDomainDeleteIdentity.DirectoryManagementLeast privilege
  • POST
    /domains/{id}/promote
    PowerShellInvoke-MgPromoteDomainIdentity.DirectoryManagementLeast privilege
  • POST
    /domains/{id}/verify
    PowerShellConfirm-MgDomainIdentity.DirectoryManagementLeast privilege
  • DELETE
    /domains/{id}/federationconfiguration/{id}
    PowerShellRemove-MgDomainFederationConfigurationIdentity.DirectoryManagement
  • GET
    /directory/federationconfigurations/graph.samlorwsfedexternaldomainfederationNo matching Microsoft Graph PowerShell command
  • GET
    /domains
    PowerShellGet-MgDomainIdentity.DirectoryManagement
  • GET
    /domains/{id}
    PowerShellGet-MgDomainIdentity.DirectoryManagement
  • GET
    /domains/{id}/domainnamereferences
    PowerShellGet-MgDomainNameReferenceIdentity.DirectoryManagement
  • GET
    /domains/{id}/federationconfiguration/{id}
    PowerShellGet-MgDomainFederationConfigurationIdentity.DirectoryManagement
  • GET
    /domains/{id}/rootDomain
    PowerShellGet-MgDomainRootDomainIdentity.DirectoryManagement
  • GET
    /domains/{id}/serviceconfigurationrecords
    PowerShellGet-MgDomainServiceConfigurationRecordIdentity.DirectoryManagement
  • GET
    /domains/{id}/verificationdnsrecords
    PowerShellGet-MgDomainVerificationDnsRecordIdentity.DirectoryManagement
  • PATCH
    /domains/{id}/federationconfiguration/{id}
    PowerShellUpdate-MgDomainFederationConfigurationIdentity.DirectoryManagement
  • POST
    /domains/{id}/federationconfiguration
    PowerShellNew-MgDomainFederationConfigurationIdentity.DirectoryManagement