Please note that our forum is a public platform, and we will modify your question to hide your personal information in the description. Kindly ensure that you hide any personal or organizational information the next time you post an error or other details to protect personal data.
Hi Stefan Arndt
Thank you for posting your question in the Microsoft Q&A forum regarding migration issue affecting your Exchange Online mailbox moves. Based on the analysis of the error message:
The call to https://xxxx/EWS/mrsproxy.svc timed out…
This indicates that the migration process is being interrupted due to a timeout between Exchange Online and your on-premises MRSProxy endpoint. The issue is not related to authentication or certificates, but to how the Mailbox Replication Service (MRS) handles large or long-running transfer sessions particularly over slower upload connections (2 Mbit/s).
Below are the recommended steps you can try to address and stabilize the migration process:
Validate EWS and MRSProxy Connectivity
Run this from Exchange Management Shell on your Exchange 2016 server:
Get-WebServicesVirtualDirectory | fl Identity,InternalUrl,ExternalUrl,MRSProxyEnabled
Test-MigrationServerAvailability -ExchangeRemoteMove -RemoteServer mail.contoso.com -Credentials (Get-Credential contoso\administrator)
- If it fails or hangs, check the Application Event Log > MSExchange Mailbox Replication Service for matching timeout entries.
- Success should show a response time <10000 ms and “Succeeded.”
Troubleshooting Hybrid Migration Endpoints in Classic and Modern Hybrid | Microsoft Community Hub
Increase MRSProxy and EWS Timeouts
First, make sure to back up the file, then go ahead and edit the following:
C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\exchweb\ews\web.config
Adjust or add the following configuration:
<MRSProxyConfiguration IsEnabled="true" MaxMRSConnections="100" DataImportTimeout="00:20:00" /><httpRuntime executionTimeout="3600" maxRequestLength="512000" />
After saving the changes, run:
iisreset /noforce
Restart-Service MSExchangeMailboxReplication
This increases the allowed request duration for MRSProxy and prevents premature timeouts during mailbox transfers.
Review NAT or Firewall Timeouts
If the Exchange server is published through NAT, ensure the device does not close idle HTTPS sessions too quickly.
- Increase the TCP session idle timeout to at least 30 minutes.
- Disable any web or TCP proxy inspection for this connection.
A short NAT timeout can close the migration session before completion, especially on slower links.
Limit Concurrent Migration Sessions
Due to limited upload bandwidth, I also recommend running only one migration at a time:
Set-MigrationEndpoint <EndpointName> -MaxConcurrentMigrations 1 -MaxConcurrentIncrementalSyncs 1
This ensures stable transfers and minimizes the risk of concurrent session timeouts.
Set-MigrationEndpoint (ExchangePowerShell) | Microsoft Learn
Verify Latest Exchange Cumulative Update
Some timeout handling improvements and MRSProxy fixes were introduced in later Exchange 2016 Cumulative Updates. Please confirm the server is updated to the latest CU available from Microsoft Learn
After that, you can apply the configuration changes, restart the IIS and MRS services, and retry a single mailbox migration while monitoring its progress using:
Get-MoveRequestStatistics -Identity <user@domain> -IncludeReport
If the migration completes successfully, proceed with the remaining mailboxes in small batches.
I hope these insights are helpful. Please feel free to reach out if you have any questions or concerns.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.