NotSupportedException - Search operation not supported with xConnect collection-only configuration
Are you also getting this error “NotSupportedException - Search operation not supported with xConnect collection-only configuration”? So, let me explain to you this issue is related to CD Sitecore instance.
The issue is that Sitecore CD servers are set to only use xConnect as a collection-only endpoint. To resolve this issue, open this config “App_Config\Sitecore\XConnect.Client.Configuration\Sitecore.XConnect.Client.config” and add “ContentDelivery” role in role:require attribute just like below code.
<clientconfig type="Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration,Sitecore.XConnect.Client.Configuration"
singleInstance="true"
role:require="ContentDelivery or Standalone or ContentManagement">
<param desc="clientModel" ref="xconnect/runtime" />
<param desc="collectionConnectionStringName">xconnect.collection</param>
<param desc="searchConnectionStringName">xconnect.collection</param>
<param desc="configurationConnectionStringName">xconnect.collection</param>
</clientconfig>
Comments