Applies to: Exchange Online, Exchange Server 2016

This cmdlet is available in on-premises Exchange Server 2016 and in the cloud-based service. Some parameters and settings may be exclusive to one environment or the other.

Use the Get-OrganizationConfig cmdlet to get configuration data for an Exchange organization.

For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.

Get-OrganizationConfig [-DomainController <Fqdn>]

This example gets the organization configuration information for the domain controller ContosoDC.

Get-OrganizationConfig -DomainController ContosoDC

This example gets the configuration information for the tenant organization.

Get-OrganizationConfig Export-Cli c:\myFile.xml

For more information, see Troubleshoot a hybrid deployment.

This example shows the applications that are allowed access to EWS and REST.

  • If the value of EwsApplicationAccessPolicy is EnforceAllowList, only the applications specified in EwsAllowList are allowed to access EWS and REST.

  • If the value of EwsApplicationAccessPolicy is EnforceBlockList, all applications are allowed to access EWS and REST, except those specified in EwsBlockList.

Get-OrganizationConfig | Format-List EwsApplicationAccessPolicy,Ews*List

You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "Shell infrastructure permissions" section in the Exchange infrastructure and PowerShell permissions topic.


Parameter Required Type Description




The DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory. You identify the domain controller by its fully qualified domain name (FQDN). For example,

The DomainController parameter isn't supported on Edge Transport servers. An Edge Transport server uses the local instance of Active Directory Lightweight Directory Services (AD LDS) to read and write data.

To see the input types that this cmdlet accepts, see Cmdlet Input and Output Types. If the Input Type field for a cmdlet is blank, the cmdlet doesn’t accept input data.

To see the return types, which are also known as output types, that this cmdlet accepts, see Cmdlet Input and Output Types. If the Output Type field is blank, the cmdlet doesn’t return data.