The administration of a hybrid deployment that connects on-premises Exchange Server with Exchange Online, enabling seamless integration and centralized control.
The error message you are encountering, "The HTTP request is unauthorized with client authentication scheme 'Negotiate'", typically indicates an issue with the authentication settings for the Exchange Web Services (EWS) in your hybrid environment. Here are some steps you can take to troubleshoot and potentially resolve this issue:
- Check MRSProxy Settings: Ensure that MRSProxy is enabled on all Client Access Servers (CAS) in your on-premises environment. You can verify this by running the following command:
Make sure theGet-WebServicesVirtualDirectory | FL Identity, MRSProxyEnabledMRSProxyEnabledparameter is set to True. - Authentication Methods: Review the authentication methods configured for the EWS virtual directory. You may need to adjust the
ExternalAuthenticationMethodsto ensure that they include methods that are compatible with your setup. You can set the authentication methods using:Set-WebServicesVirtualDirectory -Identity "EXCH01\EWS (Default Web Site)" -ExternalAuthenticationMethods Ntlm, WSSecurity, OAuth - Firewall and IDS Configuration: Ensure that your firewall and any Intrusion Detection Systems (IDS) are properly configured to allow EWS traffic without requiring pre-authentication. This is crucial for migration requests to go through successfully.
- Hybrid Configuration: Verify that your hybrid configuration is set up correctly and that all necessary features are enabled. You can check this with:
Ensure that theGet-HybridConfiguration | FL FeaturesMoveMailboxfeature is listed. - ServiceModelReg Command: If the issue persists, you might want to run the
ServiceModelReg.exe -rcommand to reinstall the handler mappings in IIS, which can sometimes resolve authentication issues.
If you continue to experience problems after these steps, consider consulting the Microsoft Community or Exchange TechNet Forums for further assistance.
References: