Download files links are not working after publishing the agent in Microsoft 365 Copilot and Microsoft Teams
@eavanvalkenburg is already working on this.
Since Sep 14, 2026.
Assessment
This issue has not been assessed yet.
Description
We have an Azure AI Foundry agent with Code Interpreter enabled. The agent can generate downloadable files successfully when tested in Foundry. However, after publishing the agent to Microsoft 365 Copilot and Microsoft Teams, the generated file download links no longer work.
This behavior does not appear to be documented in the current Limitations section of the publishing documentation.
https://learn.microsoft.com/en-us/azure/foundry/agents/how-to/publish-copilot?tabs=portal
Could you please confirm:
- Is downloadable-file functionality from Code Interpreter supported after publishing Foundry agents to Microsoft 365 Copilot/Teams?
- If it is a known limitation, could the documentation be updated accordingly?
- If it is expected to work, could you advise why the generated download links fail after publishing and whether there is a recommended workaround?
- Dominant language
- Python
- Stars
- 13.6k
- Forks
- 2.3k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 342
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/agent-framework
-
python triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
microsoft/agent-framework#8523 · 1 comment ·
-
.NET compaction documentation
Difficulty 1/5 Under an hour Newbie friendliness 82/100
microsoft/agent-framework#4629 · 1 comment ·
-
harness python reproduced
microsoft/agent-framework#8567 · 2 comments · 1 assignee ·
-
.NET agents reproduced
microsoft/agent-framework#8566 · 1 comment · 1 assignee ·
-
.NET agents python
microsoft/agent-framework#8562 · 1 assignee ·
All issues in microsoft/agent-framework
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100