Symptoms
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 ch.TestSearch + PSComputerName : Exchange.contoso.comNote If you run Test-ExchangeSearch cmdlet with other parameters, the cmdlet runs successfully.
Cause
This issue occurs if the names of the Health mailboxes in Microsoft Exchange Server 2013 have been changed.
Resolution
To resolve this issue, install Cumulative Update 13 for Exchange Server 2013 or a later cumulative update for Exchange Server 2013.
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
References
Learn about the terminology that Microsoft uses to describe software updates.