Building and customizing solutions using Microsoft 365 Copilot APIs and tools
Hi Arissa,
Based on the behavior described, this appears to be an intermittent SharePoint content retrieval or grounding issue rather than a document discovery issue.
Since the agent can identify documents and return their links but sometimes fails to retrieve their content, I recommend checking the following:
- SharePoint Indexing: Search for a unique phrase from the affected document directly in SharePoint and verify that it appears in search results.
- Permissions: Confirm that the affected user has Read access to the SharePoint site and documents.
- Document Protection: Check whether the files have encryption-based sensitivity labels, DKE, or password protection.
- Knowledge Source Configuration: Review SharePoint knowledge source filters and topic-level generative answers data source settings.
- Authentication: Verify that the SharePoint connection and authentication permissions are configured correctly.
- Service Health: Since the issue occurs intermittently across multiple channels, check Microsoft 365 Service Health for potential SharePoint Search or Copilot Studio incidents.
A few questions to narrow down the issue:
- Does this happen with all SharePoint documents or only specific ones?
- When it fails, does the agent return the document name and link but fail to answer based on its content?
- Does the same query work consistently when searching directly in SharePoint?
- Are there any errors in Copilot Studio conversation activity details?
If possible, please share one successful and one failed interaction with timestamps.
This will help isolate whether the issue is related to SharePoint indexing, permissions, retrieval, or a potential service-side issue.