microsoft / microsoft/agent-framework

Download files links are not working after publishing the agent in Microsoft 365 Copilot and Microsoft Teams

Open
#8,293 1 comment 0 reactions 1 assignee View on GitHub

@eavanvalkenburg is already working on this.

Since Sep 14, 2026.

foundry hosting
Dominant language
Python
Stars
13.6k
Forks
2.3k
Avg merge
2d 45m
Merged PRs (30d)
358

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.

Image

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?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.