Test-ExchangeSearch cmdlet fails without parameters or with the -MailboxDatabase parameter in Exchange Server 2013

Applies to: Exchange Server 2013 Enterprise


When you run the Test-ExchangeSearch cmdlet without parameters or when you run it with the -MailboxDatabase parameter in a Microsoft Exchange Server 2013 on-premises environment, the cmdlet doesn't run successfully. Additionally, you receive an error message that resembles the following:
The monitoring mailbox could not be found in the Mailbox Database "database_name".
+ CategoryInfo : NotSpecified: (:) [Test-ExchangeSearch], ManagementObjectNotFoundException
+ FullyQualifiedErrorId : [Server=EXCHANGE,RequestId=Request_ID,TimeStamp=date time] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] 4ADC2C61,Microsoft.Exchange.Management.Sear
+ PSComputerName : Exchange.contoso.com

Note If you run Test-ExchangeSearch cmdlet with other parameters, the cmdlet runs successfully.


This issue occurs if the names of the Health mailboxes in Microsoft Exchange Server 2013 have been changed.


To resolve this issue, install Cumulative Update 13 for Exchange Server 2013 or a later cumulative update for Exchange Server 2013.


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.


Learn about the terminology that Microsoft uses to describe software updates.