Exhcange Hybrid Migration - mrsproxy.svc Access Denied

Mohamed Benhaddou 41 Reputation points
2023-12-06T13:05:21.23+00:00

Hi,

I have to migrate mailboxes from An Exchange 2016 Server to Exchange Online.

I installed the hybrid agent without any error.

When I'm trying to migrate my first batch of mailboxes, i receive this error :
User's image

I already check this article but with no result :
https://learn.microsoft.com/en-us/exchange/troubleshoot/move-mailboxes/access-is-denied-error-when-moving-mailboxes

Additional information :

  • The port 25 and 443 are open (inbound and outbound)
  • We have a spam filter

Can someone help me ?

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,195 questions
Microsoft 365 and Office | Install, redeem, activate | For business | Windows
Exchange | Exchange Server | Management
Exchange | Hybrid management
{count} votes

Accepted answer
  1. Jarvis Sun-MSFT 10,231 Reputation points Microsoft External Staff
    2023-12-07T07:13:50.8033333+00:00

    Hi @Mohamed Benhaddou ,

    Welcome to our Q&A forum!

    By research, this error appears when Office 365 is not able to communicate with on-premises server where MRS (Mailbox Replication service) service is on.
    Below I have mentioned some checklists to investigate:

    1. First thing be sure you are using correct on-premises account credentials for the endpoint.
    2. Run Remote Connectivity Analyzer for Autodiscover service in Exchange Server.
    3. Check that the service is running and WSecurity is allowed. For this step you can use Get-WebServicesVirutalDirectory | FL MRSproxyEnabled,WSsecurityAuthentication command. If is show $False run Set-WebservicesVirtualDirectory -Identity "Server Name\EWS(Default Web Site)" -MRSproxyEnabled:$True -WSSecurityAuthentication:$True

    When these steps are completed, you can restart the migration process again.

    Hope the above can help you and feel free to let us know if you have other questions.


    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.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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