Building and customizing solutions using Microsoft 365 Copilot APIs and tools
Hello Harsh Patel,
This is a known limitation in Copilot Studio when using SharePoint as a knowledge source. The reference URLs are generated by the underlying retrieval system and often use download links, which causes documents to download instead of opening in the browser. Prompt engineering or Conversational Boosting cannot override this behavior.
Recommended workaround:
- Use custom citations or manually transform the SharePoint links to browser-friendly URLs (for example, add
?web=1or use SharePoint sharing/view links). - Alternatively, maintain custom “view” URLs in SharePoint/Dataverse and return those instead of default citations.
- Also verify the SharePoint library setting “Open in the browser” is enabled.
Currently, there is limited native control over autogenerated citation link behavior in Copilot Studio.