Issue
- When you perform a mail search, it only displays recent mails.
- Application Event ID: 118 – MSExchange Search Indexer
Exchange Search Indexer has temporarily disabled indexing of the mailbox database Staff (GUID = 9150d5fa-d794-4685-8f12-01e58c0382a1) due to an error (Microsoft.Mapi.MapiExceptionMdbOffline: MapiExceptionMdbOffline: Unable to update CI Retry table (hr=0x80004005, ec=1142)
Run below command for each exchange database. And check the status of ContentIndexState
Get-MailboxDatabaseCopyStatus –Identity <DB-NAME>\<SERVER-NAME>
Below command also outputs the status of ContentIndexState. Run this command on each mailbox server.
Get-MailboxDatabaseCopyStatus | FL Name,*Index*
You can update the ContentIndexState by running below command. For run this command the DB should mount on the healthy server. In this case my healthy server is EX02. If you try to run this command on active server below error will appear. (Only passive database copies can be updated)
Update-MailboxDatabaseCopy –Identity <DB-NAME>\<SERVER-NAME> –CatalogOnly
Go to Organization Configuration -> Mailbox -> Database Management. And Move Active Mailbox Database…
Now run the command.
Update-MailboxDatabaseCopy –Identity <DB-NAME>\<SERVER-NAME> –CatalogOnly
It will take some time to complete the process. After completion of the process check the health of ContentIndexState.
Get-MailboxDatabaseCopyStatus –Identity <DB-NAME>\<SERVER-NAME>
Get-MailboxDatabaseCopyStatus | FL Name,*Index*
Now check the mailbox search issue on OWA or Outlook client.
Leave a Reply