How to Resolve Exchange Hybrid Errors HCW8057 and HCW8078
Question details
The user needs to fix connectivity errors encountered during an Exchange hybrid configuration setup, specifically addressing communication failures with on-premises endpoints.

- Product
- Microsoft Exchange Hybrid
- Device & OS
- not provided
- Scenario
- Configuring or migrating to a Microsoft 365 Exchange Hybrid environment using the Hybrid Configuration Wizard (HCW).
- Observed behavior
- The Hybrid Configuration Wizard reports error HCW8057 because Microsoft 365 cannot communicate with the on-premises Autodiscover endpoint, and error HCW8078 because the EWS MRSProxy migration endpoint times out.
Ensure you have administrative access to both your on-premises Exchange server and the Microsoft 365 admin center before troubleshooting endpoint connectivity.
Verify DNS, Firewall, and Exchange Endpoint Availability
Address the root cause by ensuring external DNS and firewall settings allow Microsoft 365 to successfully communicate with your on-premises Exchange server.
Hybrid configuration errors HCW8057 and HCW8078 typically occur when Microsoft 365 cannot reach your local server due to network restrictions or misconfigured DNS records.
Verify that your external DNS records for Autodiscover correctly resolve to the public IP address of your on-premises Exchange environment.
Inspect your firewall configuration to ensure that inbound HTTPS traffic (port 443) from Microsoft 365 IP addresses is allowed to reach your Exchange server.
Log in to the Exchange Admin Center, navigate to Servers > Virtual Directories, select the EWS virtual directory, and ensure the 'Enable MRSProxy' checkbox is ticked.
Use the Microsoft Remote Connectivity Analyzer tool online to test the external availability of your Autodiscover and EWS endpoints.

Escalate to Exchange Support Channels
If configuration checks pass but the connection still times out, escalate the issue to specialized Microsoft Exchange support engineers.
Try WPS Office for Your Daily Productivity Needs
While complex Exchange server deployments require specialized IT support, managing your daily documents, spreadsheets, and presentations shouldn't be a hassle. WPS Office provides a free, lightweight, and highly compatible alternative to Microsoft Office.
- 1. Download the Installer: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install WPS Office: Run the installer and follow the quick on-screen instructions to set up the suite on your device.
- 3. Open Your Office Files: Launch WPS Office and directly open any existing .docx, .xlsx, or .pptx files to start working immediately.

Frequently Asked Questions
What does error HCW8057 mean during an Exchange Hybrid setup?
Error HCW8057 indicates that Microsoft 365 is unable to establish communication with your on-premises Exchange Autodiscover endpoint. This is usually caused by incorrect external DNS records, SSL certificate issues, or strict firewall rules blocking the connection.
How do I enable the MRSProxy service for EWS?
You can enable the MRSProxy service by navigating to the Exchange admin center, going to Servers > Virtual Directories, double-clicking the EWS virtual directory, and checking the 'Enable MRS Proxy endpoint' box. After saving, restart the IIS service on the Exchange server.
Can I run the Microsoft Remote Connectivity Analyzer for free?
Yes, the Microsoft Remote Connectivity Analyzer is a free, web-based tool provided by Microsoft. It helps administrators securely troubleshoot Exchange endpoint availability, Autodiscover configuration, and overall DNS health.




