Introduction
This article will discuss the Microsoft Graph Connector for connecting to ServiceNow and indexing Knowledge articles in the Microsoft 365 Search Index and using Semantic Index these data are shown as prompt responses to user queries in Copilot for Microsoft 365.
As we are familiar, ServiceNow Knowledge Management is a module within the ServiceNow platform that serves as a library of known issues or potential issue resolutions. It allows users to create, edit, and view knowledge articles to share information across the organization.These articles contain descriptions of issues, their root causes, and resolutions. Knowledge Management in ServiceNow also enables the creation of multiple knowledge bases, each managed by one or more knowledge managers, and provides features for creating, editing, publishing, and retiring knowledge articles.
Microsoft Graph connectors are focused on indexing content from various data sources like ServiceNow to make it searchable and accessible within Microsoft 365 services. Graph connectors work by creating a connection to the data source, registering a schema that defines the structure of the data, and then ingesting content into the Microsoft Graph. This process enables Copilot for Microsoft 365 to surface and utilize the indexed data from ServiceNow and other sources in its responses, enhancing the discoverability and engagement of enterprise data within Microsoft 365.
Semantic Index for Copilot
The Semantic Index for Copilot is an improvement to Microsoft 365 search that helps users find information more quickly and easily within their organization's Microsoft 365 data. It does this by creating two indexes: a user-level index and a tenant-level index. Using text-based content that you create or interact with is included, such as emails, documents you're mentioned in, comment on, or share, User-level indexing creates a customized index for your eyes only on a working set of data, making it easier to use in everyday tasks. The tenant-level index adds text-based SharePoint Online files that are accessible by two or more people in your organization via site inheritance. The Semantic Index uses these indexes to understand the relationships between different words and concepts and to identify relevant information that may not be found using traditional keyword search methods. It allows organizations to search through billions of vectors (mathematical representations of features or attributes) and return related results. When a user issues a query either directly via search or through Microsoft Copilot, the semantic index is always in the security context of the user, and only content that the user is authorized to see is returned.
Workflow of Microsoft Copilot with Data Processing

Image Source: https://learn.microsoft.com/en-us/microsoftsearch/semantic-index-for-Copilot#data-flows
Step 1. User Prompt
- Initiated in Microsoft 365 apps.
- Sent to Copilot securely via HTTPS.
Step 2. Processing by Copilot
- Accesses Microsoft Graph: Retrieves user context and relevant information.
- Semantic Index Lookup: Analyzes personal and organizational data for deeper understanding.
- Modifies User Prompt: Refines the prompt based on gathered context.
Step 3. Response Generation
- Sends Modified Prompt: Forwards it to the Large Language Model (LLM).
- Receives LLM Response: Processes the text generated by the LLM.
Step 4. Post-Processing by Copilot
- Accesses Microsoft Graph: Utilizes context for further refinement.
- Semantic Index Lookup: Enhances response with relevant insights.
Step 5. Output
- Sends Final Response: Delivers the refined text back to the app.
Configure Microsoft Graph Connector
The following steps describe how to Index ServiceNow Knowledge articles in Copilot for Microsoft 365 using the Microsoft Graph connector:
Setting up a Microsoft Graph Connector is a three-step process. :
- Connect
- Configure
- Customize
To configure the Microsoft Graph connector, navigate to the Admin Center.
1. In the settings link in the left navigation, click the "Search and Intelligence" option. Once the details are visible, click on the "Data Sources" tab and then click on the "Add" option to add a new connector as shown in the below screenshot.

2. Connect: In the Other Data sources section, click on the ServiceNow Icon from the list of data sources and select "ServiceNow Knowledge". Click Next.

3. Create Connection: In order to create a connection, three fields need to be filled in:
- "Connection ID" - Connector ID should exclude the word "Microsoft". It must contain only alphanumeric characters and be a maximum of 32 characters. The connection ID creates implicit properties for your connector. This ID will be used when you make Microsoft Search API calls.
- Display Name - A user-friendly name makes it easier to identify the connector.
- Icon - It is not mandatory to use the default icon. You may substitute another image of your choice.
Select the mandatory notice Checkbox to create a connection.












Join the conversation! Your thoughts help the community grow.