The Test-MRSHealth PowerShell cmdlet can be used to verify that the Mailbox Replication Service on Exchange Server 2013 Mailbox servers is healthy. This service is responsible for processing mailbox move requests, so a healthy MRS will be important any time you are performing migrations.

Running the cmdlet on a Mailbox server will test the local server.

[PS] C:\>Test-MRSHealth


RunspaceId  : e9dc1305-6b80-4e92-a8b7-9efb06e0894f
Check       : ServiceCheck
Passed      : True
Message     : The Mailbox Replication Service is running.
Identity    : E15MB1
IsValid     : True
ObjectState : New

RunspaceId  : e9dc1305-6b80-4e92-a8b7-9efb06e0894f
Check       : RPCPingCheck
Passed      : True
Message     : The Microsoft Exchange Mailbox Replication service is responding to 
              a RPC ping. Server version:
              15.0.620.24 caps:3F.
Identity    : E15MB1
IsValid     : True
ObjectState : New

RunspaceId  : e9dc1305-6b80-4e92-a8b7-9efb06e0894f
Check       : QueueScanCheck
Passed      : True
Message     : The Microsoft Exchange Mailbox Replication service is scanning 
              mailbox database queues for jobs. Last scan age: 00:05:35.4810000.
Identity    : E15MB1
IsValid     : True
ObjectState : New

The items of most interest are the Check, Passed, and possibly the Message values in the results. If a check has not passed then the message will assist you with identifying why.

With those three attributes in mind it is quite easy to test multiple Mailbox servers with a single cmdlet and output a neat report with the results.

[PS] C:\>Get-MailboxServer | Test-MRSHealth | Select Identity,Check,Passed,Message | ft -auto

Identity          Check Passed Message
--------          ----- ------ -------
E15MB1     ServiceCheck   True The Mailbox Replication Service is running.
E15MB1     RPCPingCheck   True The Microsoft Exchange Mailbox Replication service 
                               is responding to a RPC ping. Serve...
E15MB1   QueueScanCheck   True The Microsoft Exchange Mailbox Replication service 
                               is scanning mailbox database queue...
E15MB2     ServiceCheck   True The Mailbox Replication Service is running.
E15MB2     RPCPingCheck   True The Microsoft Exchange Mailbox Replication service 
                               is responding to a RPC ping. Serve...
E15MB2   QueueScanCheck   True The Microsoft Exchange Mailbox Replication service 
                               is scanning mailbox database queue...
E15MB3     ServiceCheck   True The Mailbox Replication Service is running.
E15MB3     RPCPingCheck   True The Microsoft Exchange Mailbox Replication service 
                               is responding to a RPC ping. Serve...
E15MB3   QueueScanCheck   True The Microsoft Exchange Mailbox Replication service 
                                is scanning mailbox database queue...

[adrotate banner=”48″]

About the Author

Paul Cunningham

Paul is a former Microsoft MVP for Office Apps and Services. He works as a consultant, writer, and trainer specializing in Office 365 and Exchange Server. Paul no longer writes for Practical365.com.

Comments

  1. Ashvin

    Hello Paul, I am configuring DAG on Exchange 2010 SP3 in production. We have a DC with Exchange 2010 SP3 primary to configure DAG i created Member Server and install Exchange 2010 SP3 but the Mailbox Database of Member Server status is unknown on Primary server and Primary server Mailbox Database is Mounted on Member Server. Same thing (Primary VM) i run on my test environment (without gateway )it is working fine. is it a Exchange issue or network issue.The Error is M.S.Exchange Replication service is not running on Member server.

  2. Alan Barnes

    Hi, Paul,

    We have 3 Exchange Servers running 2013. One Mailbox Store and 2 CAS Servers. I just finished an upgrade from CU 9 to CU 17.

    The upgrade went very smoothly, but I now seem to have a constant warning on my two CAS servers in the Event Viewer. The warning states the following: The Mailbox Replication service was unable to determine the set of active mailbox databases on a mailbox server.
    Mailbox server:
    Error: MapiExceptionNetworkError: Unable to make admin interface connection to server.

    I have checked and all services are running. Mail is flowing fine, but I hate to see such warning in the logs after such a smooth upgrade. Any ideas or recommendations. Thanks in advance for any help or direction. I have exhausted all my ideas.

  3. Ryan

    Hi Paul, I have just used a few of your articles to help me through an Exchange 2013 implementation and migration from one domain to another. I got as far as ready to import PST files into the new server, but I can’t because my Mailbox Replication Service is not there. It is literally not listed as a service. The exe and config files are in the Exchange folder, but no service. I’m running two CA servers in an HA/Load Balance environment. Wondered if you could assist?

      1. Ryan

        I feel like a total moron. I think I’ve been staring at a screen way too long this week. Thank you so much. I can’t believe I didn’t see that.

  4. pravin

    Hi Paul,

    I have two exchange server 2013 with DAG configured and both mailbox and client access role installed.
    Im getting error in event viewer on both server that “Mailbox replication service is unable to find Active directory”
    Event id is 1005. Plz help me about this.
    Thanks

Leave a Reply