Share via

I am receiving an error during mailbox migration (on-premises exchange2016 to online exchange ).

Damaris Alves Duarte 0 Reputation points
2026-03-02T20:20:16.72+00:00

I have an on-premises email server, Exchange 2016 Version 15.1 (Build 2507.6).

I am experiencing issues migrating mailboxes both to the cloud and from the cloud back to the on-premises email server. I identified a migration advisory (https://admin.cloud.microsoft/?source=applauncher#/servicehealth/:/alerts/EX1226910), however, it does not apply to our environment because we do not have multi-geo tenants.

I validated the Microsoft Exchange Server Auth Certificate, and it is not expired — it is valid until 07/09/2030.

Command: Get-WebServicesVirtualDirectory | fl Name,MRSProxyEnabled

Output:

Name            : EWS (Default Web Site)

The Test-MRSHealth command returns without any issues.

This problem has been occurring since January. We noticed it when attempting a new migration on January 26, and since then we have not been able to perform any migrations.

I have hidden the company domain in the logs by modifying it to mail[Moderator note: personal info removed] /EWS/".

Erro: TimeoutErrorTransientException: The call to [Moderator note: personal info removed] timed out. --> The request channel timed out attempting to send after 00:00:07.9177680. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout. --> The HTTP request to '[Moderator note: personal info removed' has exceeded the allotted timeout of 00:00:07.9177680. The time allotted to this operation may have been a portion of a longer timeout. --> The request channel timed out attempting to send after 00:00:07.9177680. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout. --> The HTTP request to '[Moderator note: personal info removed] ' has exceeded the allotted timeout of 00:00:07.9177680. The time allotted to this operation may have been a portion of a longer timeout.

Exchange | Hybrid management
Exchange | Hybrid management
The administration of a hybrid deployment that connects on-premises Exchange Server with Exchange Online, enabling seamless integration and centralized control.
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Hani-Ng 8,470 Reputation points Microsoft External Staff Moderator
    2026-03-02T23:53:12.4666667+00:00

    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 Damaris Alves Duarte

    Thank you for reaching out to the Q&A Forum with detailed logs and your validation steps.

    Based on the specific error signature (timeout at 00:00:07.9) and your confirmation that the MRSProxy bindings are missing from the web.config file, I would like to share some information from my research and my understanding that I hope will be helpful that 

    Even though Get-WebServicesVirtualDirectory shows MRSProxyEnabled as True, the underlying configuration file (web.config) does not contain the necessary WCF (Windows Communication Foundation) bindings. Without these specific bindings, the server reverts to the default web connection timeout (approx. 8 seconds) rather than the extended timeout required for mailbox moves.

    This behavior frequently occurs after installing an Exchange Cumulative Update (CU) or Security Update (SU), which can overwrite configuration files and revert them to a default state.

    You can try to force Exchange to regenerate the missing XML blocks in the web.config file and try to run

    Disable MRS Proxy:

    Get-WebServicesVirtualDirectory | Set-WebServicesVirtualDirectory -MRSProxyEnabled $false
    

    Reset IIS: (Required to unload the current config

    iisreset
    

    Re-enable MRS Proxy: (This triggers the rewrite of the web.config)

    Get-WebServicesVirtualDirectory | Set-WebServicesVirtualDirectory -MRSProxyEnabled $true
    

    Reset IIS:

    iisreset
    

    After running these commands, if you open the web.config file at C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\exchweb\EWS, you should now see a section named <binding name="MRSProxyBinding">. The migration should now proceed past the 7-second mark.

    You can see the following Microsoft Learn article regarding enabling the proxy and how updates affect configuration files: Move mailboxes between on-premises and Exchange Online organizations in hybrid deployments

    Additionally, please note that because Exchange Server 2016 is no longer supported as of October 2025. Your current installation is running a 2022 build, which leaves the environment vulnerable to newer threats. I recommend prioritizing this move to Exchange Online to ensure your data is protected by modern security standards.

    I hope this information proves helpful!


    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.


  2. Damaris Alves Duarte 0 Reputation points
    2026-03-02T21:59:43.8566667+00:00

    The web.config file located at C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\exchweb\EWS does not contain bindings with the name MRSProxy.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.