We are aware of an issue in Microsoft Copilot Studio where file links in the References section may not render correctly when filenames contain spaces (for example, “Medical benefits.pdf”).
This occurs because spaces in URLs are not always properly encoded (e.g., %20) in the auto-generated references. Please note that this does not affect the agent’s ability to retrieve or use the content, only how the reference link is displayed.
Workarounds (without renaming files)
1. Use encoded URLs manually (if customizing responses) Replace spaces with %20 in file paths:
-
Medical benefits.pdf→Medical%20benefits.pdf
2. Use SharePoint sharing links (recommended) From Microsoft SharePoint:
- Use “Copy link” to generate a sharing URL
- These links are already properly encoded and reliable
3. Use Power Automate for link formatting (advanced) With Microsoft Power Automate:
- Reconstruct links dynamically
- Apply
encodeUriComponent()to file names before returning them
4. Custom reference rendering If using adaptive cards or custom topics:
- Render your own links instead of relying on the default References section
Additional notes
- There is currently no configuration available in Copilot Studio to control reference link encoding
- This behavior is a known limitation, and improvements may be introduced in future updates
If this issue significantly impacts your scenario, we recommend submitting feedback through the appropriate Microsoft support or feedback channels.