AI agents rely on knowledge sources to provide accurate and context-aware responses. Without proper knowledge configuration, AI may generate generic or incorrect answers.
Using Microsoft 365 Copilot, you can connect structured and unstructured data sources such as SharePoint, documents, and databases to improve agent performance.
This guide explains how to configure knowledge sources step by step.
Why Knowledge Sources Matter
Knowledge sources define:
What the AI knows
Where it gets information
How accurate responses will be
Key Principle
👉 Better data = Better AI output
Step-by-Step Execution Guide
Step 1: Identify the Required Knowledge
What You Need to Do
Before configuring anything, define:
What information your agent needs
What type of data it should access
Examples
Task tracking → SharePoint list
Policies → PDF/Word documents
Reports → Excel files
Expected Outcome
Clear understanding of required data
Step 2: Choose the Type of Knowledge Source
Available Options
You can connect:
SharePoint Lists
OneDrive files
PDF / Word documents
Excel datasets
Websites (internal/external)
Decision Logic
Structured data → better for workflows
Documents → better for reference
Expected Outcome
Correct source selected based on use case
Step 3: Prepare the Data Properly
What You Need to Do
Ensure your data is clean and structured.
For Structured Data (Excel / SharePoint)
Use clear column names
Avoid empty or inconsistent rows
Keep format simple
For Documents (PDF / Word)
Use proper headings
Avoid clutter
Keep content organized
Expected Outcome
Data is readable and usable by AI
Step 4: Upload or Connect Knowledge Source
What You Need to Do
Open Copilot / Agent Builder
Navigate to Knowledge section
Choose Add Knowledge Source
Then Select
Upload file
ORConnect SharePoint / OneDrive
Expected Outcome
Data source linked to the agent
Step 5: Configure Access and Permissions
What You Need to Do
Ensure:
AI has access to the data
Users have correct permissions
Important
Restricted data → limited AI response
Proper access → accurate output
Expected Outcome
Agent can retrieve required information
Step 6: Define How Knowledge is Used
What You Need to Do
Specify how the agent should use the data.
Example Instruction
Use the SharePoint list to retrieve task details and provide accurate status updates.
Expected Outcome
Agent understands how to use data
Responses become contextual
Step 7: Test Knowledge Integration
What You Need to Do
Ask the agent questions based on your data.
Example
“What is the status of Task 1?”
“Show pending tasks”
Expected Outcome
Agent retrieves correct data
Responses match actual records
Step 8: Refine Knowledge Setup
What You Need to Do
If results are not accurate:
Improve data structure
Add more relevant sources
Update instructions
Expected Outcome
Improved response quality
More precise answers
Step 9: Use Structured Data for Better Accuracy
Key Insight
Structured data (like SharePoint or databases) is more reliable than unstructured data.
Example
Excel sheet with columns → High accuracy
Random documents → Lower precision
Expected Outcome
More consistent results
Step 10: Maintain and Update Knowledge Sources
What You Need to Do
Regularly:
Update data
Remove outdated content
Add new sources
Expected Outcome
Agent stays relevant
Information remains accurate
Knowledge sources are the backbone of any AI agent. Proper configuration ensures that your agent provides accurate, reliable, and context-aware responses.
By using structured data and clear instructions, you can significantly improve the effectiveness of your AI solutions.
🎯 Ready to Practice?
Try this:
Connect a SharePoint list
Ask questions based on data
Validate responses
👉 This is how real AI systems are trained and tested.
Still need help?
Contact us