Configure and validate knowledge

Completed

Knowledge sources connect, or ground, an agent's responses in information that you select. Good grounding starts with relevant, current content and continues through source descriptions, permissions, citations, and testing.

Select a knowledge source

Choose a source based on where the information lives and how it's maintained.

Knowledge source Use it for
Uploaded file A focused document or small set of documents that the maker controls.
Public website Public information from a specific web domain.
SharePoint Organizational documents and sites that should respect a signed-in user's permissions.
Dataverse Structured business data stored in tables and available through Dataverse search.

Start with a small set of sources you trust rather than adding everything that might be relevant. When sources overlap, conflict, or contain outdated information, the agent has a harder time deciding what to use.

Available source types depend on your environment, licensing, and organizational policies. Check the sources available in Add knowledge before planning a connection.

Check access for each source type. Uploaded files become knowledge available to the agent; don't assume the original document's permissions carry over to the uploaded copy. Upload only content appropriate for the agent's intended audience.

For connected sources such as SharePoint and Dataverse, access depends on the source permissions and configured authentication. Test with representative user accounts before publishing. Dataverse knowledge requires Dataverse search, Authenticate with Microsoft, and appropriate permissions to the underlying data. Ask your administrator for help if tables aren't available.

Configure useful source details

In the Build tab, use the Knowledge section to add and manage sources. Give each source a specific name and description. The description should identify:

  • The content the source contains.
  • The questions the source should answer.
  • The authority or scope of the source.
  • Any information that the source doesn't contain.

For example, Approved equipment standards by job role, work location, and accessibility need. This source doesn't contain current stock levels. is more useful than Equipment document.

Web search lets an agent supplement its configured knowledge with information from across the public web. This broader coverage can be useful for general research, but it can also introduce information that your organization hasn't reviewed.

While Search all websites is on, existing website sources remain saved but aren't used. You also can't add a specific public website or Bing Custom Search configuration until you turn web search off.

To disable web search, on the Build tab, select Knowledge. In Add knowledge, select Public websites, and then turn off Search all websites. The agent can still use any specific public websites that you add as knowledge sources, but it doesn't search the broader web.

Disable web search when the agent should answer only from approved sources. Test an out-of-scope question afterward and verify that the agent doesn't use unapproved web content.

Turning off web search doesn't disable the model's general training knowledge. Agents powered by the Microsoft Copilot harness have no general-knowledge on/off setting. Use instructions to require answers from approved sources, and test that the agent acknowledges missing information rather than relying on unsupported details.

Validate grounding and citations

Test each source with questions that have known answers. Include one question that the source can't answer. In Preview, inspect the response and available activity details, then check that:

  • The agent uses the intended source.
  • The response matches the source without adding unsupported details.
  • Citations identify the source when citations are available.
  • Source links open for a user with the expected permissions.
  • The agent states that it lacks approved information when no source contains the answer.

Add an instruction such as Cite the source used for each equipment rule or policy statement. when users need to verify grounded claims. Avoid instructions that remove references or force a response format that suppresses citation markers.

If an answer is wrong, first identify whether the source contains the right information. Refine the source selection or description when the agent finds the wrong information. Refine the agent instructions when it finds the right information but uses it incorrectly.

For more information, see Available knowledge sources, Manage knowledge sources, and Add Dataverse tables as knowledge.