Export (0) Print
Expand All

Set-OrganizationRelationship

Topic Last Modified: 2011-03-19

Use the Set-OrganizationRelationship cmdlet to modify a relationship with an external Microsoft Exchange Server 2010 organization for the purposes of accessing free/busy information, securing e-mail using federated delivery, or moving mailboxes between on-premises Exchange servers and Outlook Live.


Set-OrganizationRelationship -Identity <OrganizationRelationshipIdParameter> [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-DomainNames <MultiValuedProperty>] [-Enabled <$true | $false>] [-FederatedDeliveryEnabled <$true | $false>] [-Force <SwitchParameter>] [-FreeBusyAccessEnabled <$true | $false>] [-FreeBusyAccessLevel <None | AvailabilityOnly | LimitedDetails>] [-FreeBusyAccessScope <GroupIdParameter>] [-MailboxMoveEnabled <$true | $false>] [-Name <String>] [-OrganizationContact <SmtpAddress>] [-RemoteFederatedDeliveryTargetAddress <SmtpAddress>] [-TargetApplicationUri <Uri>] [-TargetAutodiscoverEpr <Uri>] [-TargetSharingEpr <Uri>] [-WhatIf [<SwitchParameter>]]

Parameter

Required

Type

Description

Identity

Required

Microsoft.Exchange.Configuration.Tasks.OrganizationRelationshipIdParameter

The Identity parameter specifies the organization relationship to be modified. You can use the following values:

  • Canonical name
  • GUID
  • Name

Confirm

Optional

System.Management.Automation.SwitchParameter

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.

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

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

DomainNames

Optional

Microsoft.Exchange.Data.MultiValuedProperty

The DomainNames parameter specifies the SMTP domains of the external organization. If adding multiple domain names, separate each entry with a comma, for example, "contoso.com","northamerica.contoso.com".

Enabled

Optional

System.Boolean

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

FederatedDeliveryEnabled

Optional

System.Boolean

The FederatedDeliveryEnabled parameter specifies that e-mail is sent in encrypted format and delivered as if it came from an internal server with internal addresses resolved, unsolicited e-mail and virus filtering results preserved, and trusted system data preserved.

Force

Optional

System.Management.Automation.SwitchParameter

The Force switch specifies whether to suppress the warning or confirmation messages that appear during specific configuration changes.

FreeBusyAccessEnabled

Optional

System.Boolean

The FreeBusyAccessEnabled parameter specifies whether this organization relationship should be used for retrieving free/busy information from the external organization.

The accepted values are $true or $false.

The default value is $false.

FreeBusyAccessLevel

Optional

Microsoft.Exchange.Data.Directory.SystemConfiguration.FreeBusyAccessLevel

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

FreeBusyAccessScope

Optional

Microsoft.Exchange.Configuration.Tasks.GroupIdParameter

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:

  • Canonical name
  • Display name
  • Distinguished name (DN)
  • GUID
  • Name

MailboxMoveEnabled

Optional

System.Boolean

The MailboxMoveEnabled parameter specifies that the organization relationship is used to provide the credential information 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.

Name

Optional

System.String

The Name parameter specifies the meaningful name of the organization relationship. Use this parameter to change the name of the organization relationship.

OrganizationContact

Optional

Microsoft.Exchange.Data.SmtpAddress

The OrganizationContact specifies the e-mail address that can be used to contact the external organization, for example, administrator@fourthcoffee.com.

RemoteFederatedDeliveryTargetAddress

Optional

Microsoft.Exchange.Data.SmtpAddress

The RemoteFederatedDeliveryTargetAddress parameter specifies the SMTP address to use for federated delivery e-mail messages, for example, administrator@fourthcoffee.com.

TargetApplicationUri

Optional

System.Uri

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

TargetAutodiscoverEpr

Optional

System.Uri

The TargetAutodiscoverEpr parameter specifies the Autodiscover URL of Exchange Web Services for the external organization, for example, https://contoso.com/autodiscover/autodiscover.svc/wssecurity. Exchange uses Autodiscover to automatically detect the correct Client Access server endpoint for external requests.

TargetSharingEpr

Optional

System.Uri

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 TargetAutoDiscoverURL parameter information to locate the Client Access server.

WhatIf

Optional

System.Management.Automation.SwitchParameter

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.

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.

Error

Description

 

This example modifies the free/busy access level to LimitedDetails, which includes time, subject, and location.

Set-OrganizationRelationship -Identity "Fourth Coffee" -FreebusyAccessLevel LimitedDetails

This example disables the organization relationship with Contoso

Set-OrganizationRelationship -Identity "Contoso" -Enabled $false
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft