web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Embed a Copilot Studio...
Copilot Studio
Suggested Answer

Embed a Copilot Studio Agent with knowledge from a SharePoint site

(3) ShareShare
ReportReport
Posted on by 22
We have a few use cases where we'd like to build an agent using Copilot Studio, provide it knowledge from a SharePoint site or other file management storage, and embed it on a page. One use case is a public website, the other is an internal SharePoint.
 
To embed an agent, you need to set it to No Authentication and then select Channel > Custom Site. Embedding an agent on any page with SharePoint knowledge then returns an error, which Support advised was because an unauthenticated agent is trying to connect to an internal SharePoint knowledge base. As a workaround, we uploaded the files directly to the agent (which stores it in Dataverse) and we were able to successfully embed the agent on a website. However, that isn't a good long-term solution because it makes file management rather difficult - you can't store files in folders, it's just a long list, etc.
 
For the internal scenario, SharePoint Agents don't meet our team's requirements because they have multiple projects on one SharePoint site, and they would like a project-specific agent to be the default. As you can only set one default agent per site, SP Agents don't work for them. Also, embedding an agent on pages makes it more visible rather than relying on the small Copilot button. So, they'd like to embed agents on SharePoint pages. But like with the above scenario, it returns an error due to being set to No Authentication, even though it's on an internal site. I came across this technical solution provided by Microsoft to embed Copilot Studio agents on SharePoint sites - https://github.com/microsoft/CopilotStudioSamples/tree/main/SSOSamples/SharePointSSOComponent - but our team assessed that it will take several weeks and resources for us to implement that.
 
Am I correct that there is no way to embed an Agent (whether it be an internal or external page) with SharePoint knowledge? Is there any way we can embed an Agent on a page and have its knowledge files organised into folders?
I have the same question (0)
  • ronaldwalcott Profile Picture
    3,847 Super User 2025 Season 2 on at
    Take a look at this to see if it can satisfy your requirements Using Copilot studio agents as a MCP server
    The idea would be one Copilot agent calling other agents that are configured as MCP servers
  • Suggested answer
    Chris L Profile Picture
    22 on at
    Thanks @ronaldwalcott, I've had a look but can't immediately see how an MCP server would help my scenario?
     
    For everyone else's benefit, I also put this question to Microsoft Support and they advised on this option:
     
     
    This can be used to synchronise files between SharePoint and the Copilot Studio agent's storage in Dataverse, using connectors for adding, updating and deleting.
     
    Microsoft Support also recommended the SharePointSSOComponent as a better long-term solution, which we're considering.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 250 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 197 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 103 Moderator

Last 30 days Overall leaderboard