Fixing the "Remote Server Returned an Error (403) Forbidden" During Mailbox Migration to Exchange Online
Md Sajid Hossain
Microsoft 365 Solutions Architect | Cloud Security Expert | Systems Administrator | Aspiring DevOps Engineer | Network & Security Enthusiast
If you’re managing a hybrid Exchange environment and encounter the "Remote Server Returned an Error (403) Forbidden" while moving mailboxes to Exchange Online, you’re not alone. This error often occurs during mailbox migrations and can be caused by a disabled Mailbox Replication Proxy (MRS Proxy) service. Let’s break down the symptoms, causes, and how to resolve this issue.
Symptoms
When attempting to move mailboxes from an on-premises Exchange Server to Exchange Online, the operation fails with one of the following errors:
The connection to the server 'mail.<DomainName>.com' could not be completed.
The call to 'https://mail.<DomainName>.com/EWS/mrsproxy.svc' failed. Error details: The HTTP request was forbidden with client authentication scheme 'Negotiate'. The remote server returned an error: (403) Forbidden.
Root Cause
The issue typically occurs because the MRS Proxy service in the EWS (Exchange Web Services) virtual directory is disabled. This can happen in two scenarios:
How to Fix It
Option 1: Enable MRSProxy
领英推荐
Set-WebServicesVirtualDirectory "<ServerName>\EWS (Default Web Site)" -MRSProxyEnabled $true
Option 2: Disable and Re-enable MRSProxy
Set-WebServicesVirtualDirectory "<ServerName>\EWS (Default Web Site)" -MRSProxyEnabled $false
Set-WebServicesVirtualDirectory "<ServerName>\EWS (Default Web Site)" -MRSProxyEnabled $true
Final Thoughts
The 403 Forbidden error during mailbox migrations can be frustrating, but it’s often caused by a simple misconfiguration of the MRS Proxy service. By enabling or re-enabling MRSProxy and restarting IIS, you can resolve the issue and get your migration back on track.
If you’ve encountered this error and found additional solutions, feel free to share your insights in the comments. Let’s collaborate to make Exchange migrations smoother for everyone.
See more information: Enable the MRS Proxy endpoint for remote moves
#ExchangeOnline #Microsoft365 #HybridExchange #ITSupport #TechTips #MailboxMigration #403Forbidden