Applies to: Exchange Server 2010 SP2, Exchange Server 2010 SP3

Topic Last Modified: 2015-03-09

Use the New-OrganizationRelationship cmdlet to create a relationship with an external Microsoft Exchange Server 2010 organization to access free/busy information, to secure e-mail by using federated delivery, or to move mailboxes between on-premises Exchange servers and the cloud-based service.

New-OrganizationRelationship -Name <String> -DomainNames <MultiValuedProperty> [-ArchiveAccessEnabled <$true | $false>] [-Confirm [<SwitchParameter>]] [-DeliveryReportEnabled <$true | $false>] [-DomainController <Fqdn>] [-Enabled <$true | $false>] [-FreeBusyAccessEnabled <$true | $false>] [-FreeBusyAccessLevel <None | AvailabilityOnly | LimitedDetails>] [-FreeBusyAccessScope <GroupIdParameter>] [-MailboxMoveEnabled <$true | $false>] [-MailTipsAccessEnabled <$true | $false>] [-MailTipsAccessLevel <None | Limited | All>] [-MailTipsAccessScope <GroupIdParameter>] [-Organization <OrganizationIdParameter>] [-OrganizationContact <SmtpAddress>] [-TargetApplicationUri <Uri>] [-TargetAutodiscoverEpr <Uri>] [-TargetOwaURL <Uri>] [-TargetSharingEpr <Uri>] [-WhatIf [<SwitchParameter>]]

Before you can create an organization relationship, you must first create a federation trust. For more information, see Understanding Federation.

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 "Organization relationships" entry in the Mailbox Permissions topic.


Parameter Required Type Description




The Name parameter specifies the meaningful name of the organization relationship.




The DomainNames parameter specifies the SMTP domains of the external organization. If adding multiple domain names, separate each entry with a comma.




The ArchiveAccessEnabled parameter specifies whether the organization relationship has been configured to provide remote archive access. Valid input for the ArchiveAccessEnabled parameter is $true or $false. The default value is $false. When the ArchiveAccessEnabled parameter is set to $true, the external organization specified in the organization relationship provides remote access to mailbox archives.




The Confirm switch causes the command to pause processing and requires you to acknowledge what the command will do before processing continues. You don't have to specify a value with the Confirm switch.




The DeliveryReportEnabled parameter specifies whether Delivery Report data should be shared over this organization relationship.

The accepted values are $true or $false. The default value is $false.

If set to $true, this means the following two things:

  • The organization has agreed to share all Delivery Report data with the organization specified in the organization relationship.

  • This organization relationship should be used to retrieve Delivery Report information from the organization referenced in the organization relationship.

For message tracking to work in a cross-premise, Exchange scenario, the DeliveryReportEnabled parameter must be set to $true on both sides of the organization relationship. If one, or both, of the members of the organization relationship specifies the DeliveryReportEnabled parameter as $false, tracking between the organizations won't work in either direction.




The DomainController parameter specifies the fully qualified domain name (FQDN) of the domain controller that writes this configuration change to Active Directory.




The Enabled parameter specifies whether to enable the sharing relationship. This parameter can be used to completely stop sharing for a particular relationship. The valid values for this parameter are $true or $false. The default value is $true.




The FreeBusyAccessEnabled parameter specifies whether this organization relationship should be used for retrieving free/busy information from the external organization. The valid values for this parameter are $true or $false. The default value is $false.




The FreeBusyAccessLevel parameter specifies the maximum amount of detail that's returned to the requesting organization.

You can use the following values:

  • None   No free/busy access

  • AvailabilityOnly   Free/busy access with time only

  • LimitedDetails   Free/busy access with time, subject, and location




The FreeBusyAccessScope parameter specifies a security distribution group in the internal organization that contains users that can have their free/busy information accessed by an external organization. You can use the following values:

  • Distinguished name (DN)

  • Canonical name

  • GUID

  • Name

  • Display name




The MailboxMoveEnabled parameter specifies whether the organization relationship is used for moving mailboxes to the external organization. If this parameter isn't set, the move requests require an administrator to provide a remote credential for the remote organization. The valid values for this parameter are $true or $false. The default value is $false.




The MailTipsAccessEnabled parameter specifies whether MailTips data for users in this organization will be returned over this organization relationship. The accepted values are $true or $false. The default value is $false.




The MailTipsAccessLevel parameter specifies the level of MailTips data that's externally shared over this organization relationship. This parameter can have the following values:

  • All   All MailTips are returned, but the recipients in the remote organization are considered external. For the Auto Reply MailTip, the external Auto Reply message is returned.

  • Limited   Only those MailTips that could prevent a non-delivery report (NDR) or an Auto Reply are returned. Custom MailTips, the Large Audience MailTip, and Moderated Recipient MailTips won't be returned.

  • None   Do not return any MailTips to the remote organization.

The default value is None.




The MailTipsAccessScope parameter specifies a Security Distribution group in the organization that contains users for whom recipient-specific MailTips are returned over this organization relationship. The recipient-specific MailTips are:

  • Auto Reply

  • Mailbox Full

  • Custom MailTips

If a group is specified, these MailTips are returned only for those recipients that are members of the specified group. If a group isn't specified, recipient-specific MailTips are returned for all recipients in the organization. By default, no group is specified.

This restriction only applies to mailboxes, mail users, and mail contacts. It doesn’t apply to distribution groups.




This parameter is available for multi-tenant deployments. It isn't available for on-premises deployments. For more information about multi-tenant deployments, see Multi-Tenant Support.

The Organization parameter specifies the organization in which you'll perform this action. This parameter doesn't accept wildcard characters, and you must use the exact name of the organization.




The OrganizationContact parameter specifies the e-mail address that can be used to contact the external organization, for example,




The TargetApplicationUri parameter specifies the target URI of the external organization. The TargetApplicationUri parameter is specified by Exchange when requesting a delegated token for the external organization to fetch free and busy information, for example,




The TargetAutodiscoverEpr parameter specifies the Autodiscover URL of Exchange Web Services for the external organization, for example, Exchange uses the Autodiscover service to automatically detect the correct Client Access server endpoint for external requests.




The TargetOwaURL parameter specifies the Microsoft Office Outlook Web App URL of the external organization defined in the organization relationship. It is used for Outlook Web App redirection in a cross-premise Exchange scenario. Configuring this attribute enables users in the organization to use their current Outlook Web App URL to access Outlook Web App in the external organization.




The TargetSharingEpr parameter specifies the URL of the target Exchange Web Services for the external organization. If the TargetSharingEpr parameter is used, Exchange always uses this URL to reach the external Client Access server and doesn't use the TargetAutodiscoverEpr parameter information to locate the Client Access server.




The WhatIf switch instructs the command to simulate the actions that it would take on the object. By using the WhatIf switch, you can view what changes would occur without having to apply any of those changes. You don't have to specify a value with the WhatIf switch.

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.

This example creates an organization relationship with Contoso. The domain names to connect to are,, and The following settings are used:

  • Free/busy access is enabled.

  • The requesting organization receives time, subject, and location information from the target organization.

This example tries to automatically discover configuration information from the external organization by using the domain names provided in the Get-FederationInformation command. If you use this method to create your organization relationship, you must first make sure to create an organization identifier by using the Set-FederationOrganizationIdentifier cmdlet.

Get-FederationInformation -DomainName | New-OrganizationRelationship -Name "Contoso" -FreeBusyAccessEnabled $true -FreeBusyAccessLevel LimitedDetails

This example creates the organization relationship with Fourth Coffee using the following settings. In this example, the connection settings with the external organization are provided.

  • The domain to connect to is

  • The Exchange Web Services application URL is

  • The Autodiscover URL is

  • Free/busy access is enabled.

  • The requesting organization only receives free/busy information with the time.

New-OrganizationRelationship -Name "Fourth Coffee" -DomainNames "" -FreeBusyAccessEnabled $true -FreeBusyAccessLevel AvailabilityOnly -TargetAutodiscoverEpr "" -TargetApplicationUri ""