web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / File upload not workin...
Copilot Studio
Unanswered

File upload not working in published teams and copilot chat

(0) ShareShare
ReportReport
Posted on by 2
Hello everyone,
I have a a question node in a copilot topic which asks the user to upload a file. Identifier is a "File" type and include file metadata on the question node is turned ON. This works fine when tested in studio but doesn't work when I publish it and try to test it in teams/copilot chat. I saw a similar question in this forum earlier but couldn't find a concrete solution. Any ideas to make to make it work?
I have the same question (0)
  • Assisted by AI
    sannavajjala87 Profile Picture
    282 Super User 2026 Season 1 on at

    Hi, this is a common difference between the Copilot Studio test canvas and the published Teams/M365 channel.

    The first thing I would check is whether File uploads are enabled at the agent level:

    Copilot Studio → Settings → Generative AI → File processing capabilities → File uploads = On

    Microsoft also notes that file upload support depends on the published channel, and not every channel behaves exactly like the Studio test panel. Supported file types include DOCX, CSV, PDF, TXT, JPG, PNG, WebP, and non-animated GIF, with a 15 MB individual file size limit. (Microsoft Learn)

    A few things I would try:

    1. Test in 1:1 Teams chat first
      Avoid testing in group chat/channel initially. File handling and identity context can behave differently there.

    2. Republish and refresh the Teams channel
      After changing file settings, republish the agent. If Teams still shows old behavior, turn the Teams channel off/on and republish. Microsoft also mentions Teams can cache agent configuration changes. (Microsoft Learn)

    3. Make sure you are using the file object correctly
      If the question node stores the uploaded file in a variable, treat it as a record/file object, not plain text. With metadata enabled, you should be checking the file record properties rather than expecting just a string value.

    4. Use a Power Automate action/tool for processing
      If your goal is to save, read, or pass the file somewhere else, the more reliable pattern is:
      Copilot question node → file variable → Power Automate flow/tool → process or store the file.

    Also, the Studio test panel often shows the “best case” behavior because it runs inside the authoring experience. Published Teams/M365 channels can have additional restrictions around channel support, authentication, file size/type, and caching.

    So I would validate in this order:

    • File uploads enabled in agent settings

    • Supported file type and under 15 MB

    • Works in 1:1 Teams chat

    • Agent republished after setting change

    • Teams channel refreshed if needed

    • File variable passed as a file/record object, not text

    Hope this helps. In many cases this is not a topic design issue, but a published-channel behavior/configuration issue.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 249

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 180 Super User 2026 Season 1

#3
Vish WR Profile Picture

Vish WR 153

Last 30 days Overall leaderboard