Retraction – Copilot Studio: Upload File To MS Teams Video

Retraction – Copilot Studio: Upload File To MS Teams Video

Hey there folks. Matthew Devaney here.

This week I released a Youtube video about how to upload a file to MS Teams using Copilot Studio. Then two days later, I started hearing reports that my instructions were no longer working.

Thank you to everyone who let me know that this System variable had suddenly stopped appearing.

System.Activity.ChannelData.OriginalAttachments



I have no idea whether this is a bug, or a planned deprecation. But I do know that we all need a fix, fast.

So the first thing I’ve done is updated one of my June 2025 posts to Copilot Studio Easiest Way To Upload A File In The Chat Window. This will show you how to upload files through using a question node.

My next article, coming out Monday will show how to upload files from outside a topic (generative orchestration mode). In the meantime, there’s two code snippets I want to share.

This first code snippet will get you the name of a file:

First(System.Activity.Attachments).Name



And this code snippet will get you the file content. You can’t view this as a text string. But if you pass it to the file content property of a connector it will work

First(System.Activity.Attachments).Content



That’s all for now. Please watch for Monday’s article for more advice on how to use the Attachments table system variable and Copilot Studio’s generative orchestration mode.





Questions?

If you have any questions about Retraction – Copilot Studio: Upload File To MS Teams Video please leave a message in the comments section below. You can post using your email address and are not required to create an account to join the discussion.

Matthew Devaney

Subscribe
Notify of
guest

3 Comments
Oldest
Newest
Inline Feedbacks
View all comments
howdang
howdang
5 days ago

sorry about this man, know you put a lot of work into it. Looking forward to the next one!

Matt R
5 days ago

I’m surprised at how little support Microsoft has for us to handle files, saving files, renaming files, uploading and downloading files. The limits are way too restrictive. For example on SharePoint it’s understandable that we can only upload a few megabytes to a list item, but using dataverse or a document library, the limits are almost worse.