Building and customizing solutions using Microsoft 365 Copilot APIs and tools
Hello Robi @ TP,
Copilot Studio agents cannot access SharePoint file contents simply because a file is linked in the Knowledge section or shared company-wide. Knowledge sources are only indexed for retrieval and do not provide runtime access unless a SharePoint or OneDrive connector is configured. The Copilot agent runs under its own service principal, not the user’s identity, so it requires explicit read permissions to the SharePoint site or library. Without this setup, the agent can only give retrieval-based responses and cannot parse or extract dynamic data from the file. To resolve this, add and authenticate the appropriate connector, grant the agent access in SharePoint, and republish the agent.
Checklist to resolve:
- Add SharePoint connector in Copilot Studio.
- Authenticate with your Microsoft account.
- Grant the Copilot app/service principal access to the SharePoint site.
- Re-publish the agent after adding the connector.