How search is working in D365 using the UseAzureSearch

For D365, searching is working using the Azure search or we can use third-party integration like unbxd for searching but searching is always triggered from Azure search endpoints and we need to configure cloud-powered search capabilities, following these steps.

  1. In Commerce headquarters, go to Commerce Parameters > Configuration Parameters.

  2. Under Set up the configuration parameters, check that an entry exists for ProductSearch.UseAzureSearch and its value is set to true, as shown in the following example image.

    Configuration parameters for cloud-powered search.

    1. If the ProductSearch.UseAzureSearch configuration parameter exists and is set to true, cloud-powered search capabilities have already been configured.
    2. If the ProductSearch.UseAzureSearch configuration parameter exists but isn't set to true, set it to true.
    3. If the ProductSearch.UseAzureSearch configuration parameter isn't present, continue to the next step.
  3. Select New to add the ProductSearch.UseAzureSearch configuration parameter.

  4. Set the value of the ProductSearch.UseAzureSearch configuration parameter to true.

If we do not configure these changes in D365, then we may get an error on the searchbycriteria API. 

Comments

Popular posts from this blog

Create custom workflow in D365 X++

Convert amount from one currency to another currency using X++

How to Create Extended Data Types (EDTs) in Finance and Operations of Dynamics 365 -- F&O Customization Part 2