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 2013.�
The Exchange server sends an EWS request that includes the major version of Exchange (either Exchange Server 2013 or Exchange Server 2010) to the other organization. If the version of Exchange is different, the server in the other organization will generate a 500 response to the requestor.
This issue is most likely to occur after a service upgrade from Office 365 pre-upgrade to Office 365. Office 365 uses Exchange Server 2013. 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.