Skip to content

Exchange 2016 – Outlook and OWA search function not working

About:

This error when you search on outlook app and web portal and search returns nothing or returns zero

 

 

Steps:

  •  Stop the Microsoft Exchange Search and Microsoft Exchange Search Host Controller service.
  • Remove all the files under “Fsis” file:

 

C:\Program Files\Microsoft\Exchange Server\V15\Bin\Search\Ceres\HostController\Data\Nodes\Fsis

(Make a copy first)

  • Open EMS (Exchange management shell) and “Run as Administrator”
  • Navigate to directory C:\Program Files\Microsoft\Exchange Server\V15\Bin\Search\Ceres\Installer

 

.\installconfig.ps1 -action U -datafolder “c:\Program Files\Microsoft\Exchange Server\V15\Bin\Search\Ceres\HostController\Data”

 

Then again installed Search component with below command :

 

.\installconfig.ps1 -action I -datafolder “c:\Program Files\Microsoft\Exchange Server\V15\Bin\Search\Ceres\HostController\Data”

 

  • Force Active Directory Replication from a domain controller in the same AD Site as the Exchange 2013 server with repadmin /syncall /APeD.

 

  • Check on the Exchange Server with
    Get-MailboxDatabaseCopyStatus and review the ContentIndexState.

 

 

 

 

Failed content indexes can be seen in the output of Get-MailboxDatabaseCopyStatus.

 

1

2

3

4

5

6

7

8

9

10

11

12

[PS] C:\scripts\>GetMailboxDatabaseCopyStatus * | sort name | Select name,status,contentindexstate

 

Name               Status  ContentIndexState

—-               ——  —————–

DB05\EX2016SRV1   Mounted            Healthy

DB05\EX2016SRV2   Healthy FailedAndSuspended

DB06\EX2016SRV1   Healthy            Healthy

DB06\EX2016SRV2   Mounted            Healthy

DB07\EX2016SRV1   Healthy            Healthy

DB07\EX2016SRV2   Mounted            Healthy

DB08\EX2016SRV1   Healthy            Healthy

DB08\EX2016SRV2   Mounted            Healthy

 

  • First, stop the search services on the server.

 

StopService MSExchangeFastSearch

 

StopService HostControllerService

 

Next, open Windows Explorer and go to the folder that contains the files for that database. If you aren’t sure where that is located you can query the database attributes.

 

GetMailboxDatabase DB05 | select EdbFilePath

 

 

In that folder (E:DB05 in this example) there will be a sub-folder with a GUID for the name, which contains the content index files. Delete that GUID folder.

exchange-2016-content-index-01

Start the search services on the server again.

 

StartService MSExchangeFastSearch

 

StartService HostControllerService