Working With Integrated Search Providers in Microsoft Dynamics 365 Customer Service

“How To Series” visual titled: “Working With Integrated Search Providers in Microsoft Dynamics 365 Customer Service.” On the left is a headshot of Doug Greiner, Senior Consultant. The New Dynamic logo is featured on the lower right. The color scheme includes maroon, white, and gray.

Table of Contents

One of the most useful features in the Microsoft Dynamics 365 Customer Service Workspace (CSW) application is the ability to search knowledge articles that exist within the Dataverse. This allows end-users to query and search through an organization’s knowledge articles directly within the CSW application using the Smart Assist and AI recommendation capabilities.

This is fine if your internal knowledge base is already set-up within your organization’s Dataverse, but what if you want to pull in articles from another source (such as an external-facing website or Knowledge Base) and make them available within CSW? Previously your options were limited, as you would be expected to conduct a data migration of these external articles to get them into Dataverse. This can be a time-consuming (and costly) exercise however.

Fortunately, with integrated search providers in Dynamics 365 Customer Service, you can configure third-party sources, such as enterprise websites, which are based on the site map protocol. Articles are then ingested into Dataverse and refreshed on the schedule you specify. This no-code solution is elegant and allows citizen developers and administrators to configure the capability within Customer Service with just a few clicks.

In this blog we will discuss how to configure the integrated search provider capability within Dynamics 365 Customer Service, and how to use the resulting information effectively within the application.

Firstly, if this is your first time working with integrated search providers you will need to enable the Integrated Search API trigger flow. Go to Solutions > Default Solution > Cloud Flows and turn on Integrated Search API trigger flow as shown in the screenshot below.

Screenshot of the Power Apps interface showing the Cloud flows section in the Default Solution, integrated with Dynamics 365 Customer Service, with a right-click menu open offering options like Edit, See analytics, Turn on, and Advanced.

After the Cloud Flow has been activated, we can get down to business by configuring the integrated search providers within Dynamics 365.

We then need to determine what the URL is for your Sitemap. If you do not know what the URL is, that is no problem. Simply navigate to HTTPS://<YOUR URL>/robots.txt. To get the required site map collection from the robots.txt file, and make sure that the site map link that you select has sitemapindex included, for example: “https://contoso.com/_sitemaps/sitemapindex.xml”.

Screenshot of a robots.txt file for Dynamics 365 Customer Service, displaying sitemap URLs and multiple disallow rules targeting answers, commands, badges, and various sorting options.

In the Dynamics 365 Customer Service admin center or Contact Center admin center, under Experiences, select Knowledge.

On the Knowledge page, in the Integrated Search Providers section, select Manage and then select New.

A computer screen displays the Dynamics 365 Customer Service admin center interface, with navigation options on the left and various Dynamics 365 Customer Service knowledge management settings and management links on the main panel.

In the Provider info section:

Search provider name: Enter the name of the search provider.

Description: Enter the description of the search provider.

Select Next.

A form titled Add an integrated search provider is displayed in Dynamics 365 Customer Service, prompting the user to enter search provider information such as name and description, with navigation buttons for Next and Save as draft at the bottom.

In the Authentication and Testing section, verify and enter the following:

Root URL: Enter the root URL of the search provider website, including the protocol. For example, in https://contoso.com/about, the root URL is: https://contoso.com/.

Site Map URL: This is the Site Map URL we extracted from the robots.txt file earlier in this blog post.

A software interface titled Authenticate the provider connection displays input fields for Root URL, Sitemap URL, language selection, and authentication type—ideal for Dynamics 365 Customer Service—with navigation buttons for Next, Back, and Save as draft at the bottom.

In the Configure Knowledge Article Schema section, either choose manual field mapping or via a JSON schema. In our example we will use field mapping via an HTML file from our Help website. After uploading our HTML file, we will choose which Meta Tags to include in our field mapping.

A configuration screen titled Configure knowledge article schema in Dynamics 365 Customer Service displays options for file upload and meta tags selection. Several tags like viewport, og:title, and twitter:card are shown with checkboxes. Next and Save as draft buttons are below.

Once that we have selected the Meta Tags to include in our field mapping, we now need to conduct a field mapping exercise. This is as simple as using the drop-down menus to map the Dynamics Knowledge Article attributes to the Source Property. After populating all the values and clicking the Validate Mapping button, we should see a green bar across the top of the screen indicating that the field mapping was successful.

A software interface for mapping Dynamics 365 Customer Service knowledge article schemas shows fields for context, external reference ID, and title, each with operation type, source property, and value preview options. Navigation and save buttons appear below.

Next, we need to specify the refresh frequency for our integrated search provider. This specifies how often the provider will check the source for new Knowledge Articles or for updates to existing Knowledge Articles.

A software interface screen titled Add an integrated search provider with a section to set a knowledge refresh schedule for Dynamics 365 Customer Service, offering options for refresh frequency and lookback period. Navigation and save buttons are at the bottom.

After that, our Integrated Search Provider should be ready for us to use. Click the Save and Close button to go back to the main Integrated Search Provider area. We are almost ready to activate our search provider, but before we do that, we should run a trial ingestion first to ensure that the articles are coming over as we expect. Running this test is a good idea as you do not want to dirty up your knowledge article area with potentially incorrect information. To run a trial ingestion, click to select the search provider from the view and click Run Ingestion on the main tool bar.

A screenshot of an All integrated search providers list in Dynamics 365 Customer Service, showing one entry: Keri Search Provider with datasource Website, status Inactive (Validated), owner System Administrator, created 25/4/2023, refresh schedule: 1 day.

After clicking Run Ingestion a page will display asking us how many records we would like to import as part of our trial. I recommend only ingesting ten records as part of the test before clicking Run Ingestion to start the process.

A software dialog box titled Run Ingestion with options for time-range based or trial ingestion, a field for number of records, and Run Ingestion and Cancel buttons at the bottom—ideal for Dynamics 365 Customer Service data workflows.

The trial ingestion will now run in the background, but to check on the progress we can double-click our Integrated Search Provider from the view and check the Insights tab. This will let us know the status of our trial ingestion and alert us if we had any failures.

A dashboard displays Dynamics 365 Customer Service Search provider details with tabs and an Insights section showing an Ingestion ID, completed status, and columns for Crawl Status, Recognized, Created, Updated, and Failed.

Once the articles have been ingested into Dataverse, let us look at the articles and see what was ingested. As you can see from the screenshot below, our KB articles from our external site are now living within Dynamics 365. We can also take advantage of the Agent Copilot assisted AI suggestions when working with a Case, all within Dynamics 365, without having to log into another knowledge source.

A computer screen displays an email client with a list of emails on the left and an open message titled Previewing, Testing, and Reviewing Surveys | SurveyMonkey Help on the right, featuring guidance text related to Dynamics 365 Customer Service.

The integration of external knowledge articles into Microsoft Dynamics 365 Customer Service through Integrated Search Provides can significantly enhance the functionality of the CSW by allowing seamless access to diverse information sources without the need for extensive data migration. This no-code solution empowers administrators to efficiently configure and manage knowledge articles, thereby improving overall user experience and operational efficiency.

Working with New Dynamic

New Dynamic is a Microsoft Solutions Partner focused on the Dynamics 365 Customer Engagement and Power Platforms. Our team of dedicated professionals strives to provide first-class experiences incorporating integrity, teamwork, and a relentless commitment to our client’s success.   Contact Us today to transform your sales productivity and customer buying experiences. 

Join the Community

If you found this blog helpful, subscribe below to receive our monthly updates.

Join the Community

If you found this blog helpful, subscribe to receive our monthly updates.

Table of Contents

Share with your network

What our Customers Say