You set up an organization relationship to share information between two organizations. This might be in either a hybrid deployment of Microsoft Exchange Online in Office 365 and your on-premises Microsoft Exchange Server environment or two on-premises Exchange Server organizations.
However, you experience issues when you try to use the organization relationship. For example, free/busy lookups don't work. When a user tries to look up free/busy information about another user, the user receives an error message that resembles the following:
Free/busy information couldn’t be retrieved because the attendee's Mailbox server is busy
Other features that require the organization relationship and that rely on the Exchange Web Services (EWS) may also be affected. These features include MailTips and delivery reports.
This issue occurs if the following conditions are true:
You use the TargetSharingEPR parameter of the organization relationship to specify the EWS endpoint.
The version of Exchange is different in the two organizations. For example, one organization is running Exchange Server 2010 and the other organization is running Exchange Server 2016 or Exchange Server 2013.
The Exchange server sends an EWS request that includes the major version of Exchange to the other organization. If the version of Exchange is different, the server in the attendee's organization will generate a 500 response to the requestor.
If you're running Exchange Server 2010 in the on-premises environment, the versions of Exchange in Office 365 and in your on-premises environment are different. This combination, together with the misconfiguration of having the TargetSharingEPR parameter set, causes this issue.
To resolve this issue, connect to the organization by using Windows PowerShell, and then set the TargetSharingEPR parameter to Null. This should be performed for all organization relationships.
To set the TargetSharingEPR parameter to Null, follow these steps:
Check whether the value of the TargetSharingEPR parameter is blank. To do this, run the following command:
If the value of the TargetSharingEPR parameter isn't blank, run the following command:
set-OrganizationRelationship <name of organization relationship> –targetSharingEPR $Null
It's very important to make sure that Exchange Autodiscover is set up correctly for all organizations that use an organization relationship. If Autodiscover isn't working correctly, there's no supported way for you to use organization relationships.
Make sure that Autodiscover URLS can be resolved internally and externally for the organization with which you want to share free/busy information.
Make sure that the organization with which you are sharing free/busy information has its external EWS endpoint set up.
Microsoft Exchange Online, Exchange Server 2016 Enterprise Edition, Exchange Server 2016 Standard Edition, Microsoft Exchange Server 2013 Enterprise, Microsoft Exchange Server 2013 Standard, Microsoft Exchange Server 2010 Enterprise, Microsoft Exchange Server 2010 Standard