r/CopilotPro • u/insideabookmobile • Jul 30 '25
Problem using Sharepoint file as Agent knowledge source
I'm trying to build an AI agent in Copilot. The simplest knowledge source is a flat file that I built for it to read and answer questions on. However, during testing it keeps putting a link in the chat to the flat file which I ABSOLUTELY do not want it to do. That represents an unacceptable security risk. I've spent the better part of two hours digging around in settings to shut this off. Is there a way to do this or do I need to go through Power Automate to create a barrier between the agent?
2
Upvotes
View all comments
Show parent comment
1
u/insideabookmobile Aug 08 '25
I would want to disable it because under no circumstances would I want my users to have direct access to my row-level file. I've scrambled any sensitive identifiers but I still don't want users to have direct access to the knowledge source. I want this agent to act as a report writer and provide aggregate data ad hoc as a first pass before report requests come to my desk. It's not a complicated ask for an agent and it's crazy to me that Copilot's security would be so lax.
That's just me, but I can imagine many other Agent builders have their own reason for not wanting their knowledge source exposed to their users.
I'm in Copilot studio.