I have installed Sitecore 8.2 update 5 using the [Sitecore Azure Toolkit](https://dev.sitecore.net/Downloads/Sitecore_Azure_Toolkit/1x/Sitecore_Azure_Toolkit_111.aspx) ARM templates.

The setup is a single CM app service with multiple CD app service instances.

When trying to add an external site to FXM, or even just loading the FXM screen up generates this error in the log files:

> 
> 2017-10-30T21:59:23 PID[6952] Error 4472 21:59:23 ERROR [Sitecore Services]: HTTP GET
>  URL <https://cms-prd-cm.azurewebsites.net/sitecore/api/ssc/domainmatcher/service/DomainMatcher/QueryAll?search=&sorting=aName&skip=0&top=999>
> 
> 
> Exception Sitecore.ContentSearch.Exceptions.IndexNotFoundException: Index sitecore\_fxm\_web\_index was not found
> 
> 
> 

In my investigation, it looks like the ARM templates are disabling the `Sitecore.FXM.Azure.DomainsSearch.Index.Web.config` config file when installing the CM instance. On the CD's this is being enabled correctly. Enabling this file does resolve the issue, but is that the right thing to do?

So my questions are:

* Why is that file being disabled on installation?
* Should it be disabled?
* If it should, how do we fix the error where the FXM application is looking for the web index even tho I'm in the CMS admin tool, which should really be looking at the `master` db and index?