GENERATIVE AI CONFIGURATION

Mastering Knowledge Sources: Connecting Websites & SharePoint

Transform your agent from a basic chatbot into an organizational expert. Discover the step-by-step process of grounding your AI with Public Websites and SharePoint libraries to deliver precise, data-driven intelligence.

What is "Knowledge" in Copilot?

Adding knowledge means connecting your agent to information sources such as websites, documents, or databases. The agent can then read this information and use it to answer user questions dynamically.

You can orchestrate this at two distinct levels:

  • Agent Level: Knowledge available across the entire bot experience.
  • Topic Level: Specialized knowledge triggered only for specific conversation flows.

Deployment Options

  • Initial Setup: Connect sources during the creation wizard.
  • Existing Agents: Add via the Overview or Knowledge pages.
  • Real-time: Use connectors for live system data.

Supported Knowledge Sources

Where does your agent get its brainpower?

Supported Knowledge Sources

The 7 pillars of your agent's intelligence.

Public Websites Live documentation & sites.
File Uploads PDF, Word, or Text files.
SharePoint Internal org libraries.
Dataverse Structured business data.
Azure AI Search Advanced cloud indexing.
Connectors Live data via API flows.
Unstructured Data Raw text & content files.

Topic-Level Knowledge

Sometimes you only want certain knowledge used in specific conversations. By adding knowledge to the Conversational Boosting system topic or a Generative Answers node, you narrow the AI's focus.

AI Suggestions

Can't find the right source? Use the "See Suggestions" feature. Copilot Studio analyzes:

  • Previous agents you've built.
  • Agents shared within your organization.
  • Files used in your Microsoft Office products.
Pro-Tip: Description Matters

When adding a source, you must provide a unique name and a clear description.

The description isn't just for you—it helps the LLM understand the context and intent of the data, significantly improving answer accuracy when generative AI is enabled.

Efficiency Tip: Use "Conversational Boosting" for general FAQ and "Topic Nodes" for technical troubleshooting.
PUBLIC WEBSITE KNOWLEDGE

Mastering Knowledge Sources: Connecting Websites.

Transform your agent from a simple chatbot into an organizational expert. By connecting public websites, your Copilot Studio agent can retrieve trusted information and generate accurate, data-driven responses for users.

Understanding URL Depth

The way you structure your URL determines how much "brainpower" your agent gets. Copilot Studio uses Grounding with Bing Search to crawl these links, but there's a specific rule: Stay within two levels of depth.

Depth Compatibility Guide
fabrikam.com/engines/rotary
Valid: 2 levels deep.
fabrikam.com/engines/rotary/dual-shaft
Invalid: 3 levels is too deep for the standard crawler.
The "No-Go" Zone

Your agent needs to see what a normal visitor sees. It cannot access:

  • Password Protected: SharePoint or Wikis.
  • Redirects: Links that bounce to other domains.
  • Social Media: Community forums (noisy data).

How to Add a Website Source

1. Access

Go to Overview or Knowledge and hit "Add".

2. Connect

Select Public Website and paste your URL.

3. Describe

Tell the AI what the site is about (crucial for Gen AI).

4. Finalize

Select Add to Agent and start testing immediately.

SHAREPOINT KNOWLEDGE INTEGRATION

Add SharePoint as a Knowledge Source

In Copilot Studio, you can connect your agent directly to SharePoint so it can read company documents, policies, and data stored in SharePoint sites or lists. This allows the agent to generate accurate answers using real organizational knowledge instead of relying only on predefined topics.

What Does SharePoint Knowledge Integration Mean?

When you connect SharePoint to your Copilot Studio agent, the agent can read information directly from SharePoint sites or lists. This allows it to answer questions using company documents, policies, and data stored in SharePoint.

Instead of manually programming answers, the agent searches the connected SharePoint content and generates responses based on the latest available information.

  • Access company documents stored in SharePoint
  • Retrieve real-time information from SharePoint lists
  • Generate smarter responses using generative AI

What You'll Learn

  • How SharePoint works as a knowledge source
  • How to add SharePoint sites to an agent
  • How to connect SharePoint lists
  • Authentication and security basics
  • Filtering SharePoint search results

Add SharePoint Sites as a Knowledge Source

Connect your agent to an entire SharePoint site.

When a user asks a question and the agent doesn't have a predefined topic, the agent automatically searches the connected SharePoint site and all its subpages.

For example, if you connect a SharePoint site like: contoso.sharepoint.com/sites the agent can also search subpages such as: /sites/policies

Open your agent

Select "Add Knowledge"

Choose SharePoint

Add URL and save

Add SharePoint Lists as Knowledge

SharePoint lists are commonly used to store structured information such as tasks, employee records, or inventory data.

When you connect a SharePoint list to your agent, the agent can access the latest data in real time.

Ways to Select Lists
Browse My Lists Recent Lists Paste List URL

You can connect up to 15 lists at a time, and each list becomes a separate knowledge source for the agent.

Real-Time Data Advantage

SharePoint lists create a live connection between the agent and your data.

  • Always retrieves the latest information
  • Uses user permissions from SharePoint
  • Ensures secure access to data

This means users only see information they already have permission to access in SharePoint.

Authentication Requirements for SharePoint Knowledge Sources

When your Copilot Studio agent retrieves information from SharePoint, authentication plays an important role in protecting data and ensuring users only see content they are allowed to access.

One important thing to understand is that generative answers from SharePoint sources are not available to guest users in applications that use Single Sign-On (SSO). This means only authenticated users inside your organization can retrieve information from SharePoint through the agent.

Authentication Setup

To allow your agent to access SharePoint data, authentication must be configured properly.

  • Create an application registration in Microsoft Entra ID
  • Configure authentication settings inside Copilot Studio
  • Ensure SharePoint permissions are correctly applied
Required Permission Scopes

When creating the Microsoft Entra ID application registration, you or your administrator must add the following permission scopes:

Sites.Read.All Files.Read.All

These permissions allow the agent to read SharePoint content that users already have access to.

Important Note About Permissions

Adding the required scopes does not give users extra access. The agent only retrieves information that the user is already allowed to view in SharePoint.

If you select "No authentication" in Copilot Studio, the agent will not be able to retrieve any information from SharePoint.

Supported Manual Authentication Providers

If you need advanced authentication scenarios, SharePoint supports manual authentication using the following providers:

Microsoft Entra ID

Entra ID V2 (Federated)

Entra ID V2 (Certificates)

Entra ID V2 (Client Secrets)

Note: SharePoint does not support manual authentication using Generic OAuth. Also, this authentication setup only applies to generative answers in Copilot Studio and does not affect Power Platform connectors.

Filter Your SharePoint Knowledge Source

To improve search accuracy, you can add filters to your SharePoint knowledge source. Filters help the agent focus only on relevant information.

Title

Author

Modified By

Modified Date

Example: Configure the agent to only search documents modified in the last six months to ensure information is current.

Advanced Search Fine-Tuning

To ensure your agent strictly adheres to these SharePoint filters, you should disable general web searching. This prevents the AI from "guessing" from the internet when a filtered result isn't found.

Settings to Turn Off:
  • Web Search: Disable to prevent external data leakage.
  • Agent Level: Turn off "Use general knowledge" in Generative AI settings.
  • Topic Level: Uncheck "Allow the AI to use its own general knowledge" in the node.

Result: If the data isn't in your filtered SharePoint, the agent will gracefully respond with "no response."