This post was most recently updated on July 31st, 2022.
4 min read.This article will describe a surprising issue with Microsoft Teams, and a simple workaround. đ Essentially, using the out-of-the-box âAttachâ > âRecentâ messaging extension in Teams has a couple of caveats or edge cases, that make it problematic to use.
Instead, either move the file to the proper location using the âFilesâ tab or share a link to your file (also available under âAttachâ > âBrowse Teams and Channelsâ).
This post will describe the actual solution for moving the file safely, without data loss.
Problem
So this oneâs going to be a quickie. A bit too long for a tweet, though (I tried). I ran into quite a scary.. Letâs call it a âfeatureâ.
By using the âRecentâ -menu in Microsoft Teams âAttachâ messaging extension, youâll end up uploading a copy of a file in your channel, but not necessarily the latest version of said file. In my particular case, I ended up getting a 4-hour-old version of a file that I had just modified myself about 30 minutes earlier.
Whatâs worse, I realized it was a copy of said file, so I went and removed the original file⊠Only to later realize that I had lost a couple of hours of work đ
Anyhow⊠Thisâll cause problems. You might lose some of your data, and clutter the rest with unnecessary duplicates.
Part of the problem (or maybe just an additional problem) is the fact that the âAttachâ messaging extensions (or âQuick actionâ â whatever you want to call it!) create a copy of your document. If youâre trying to attach files from other channels to your message, you end up generating multiple copies of your files.
But thatâs not the worst-case scenario! If you get unlucky (I tested this multiple times, it usually didnât happen, and Iâm 100% sure itâs not how itâs supposed to work), you might upload an older version of the file to your new channel, and the new version stays behind.
How to mess up moving your files in Teams?
The whole, unfortunate experience looks something like the below:
I have just modified the file above, and I want to upload it to another, less general channel (called âTestChannelâ). Iâll navigate to that channel, start a new conversation and hit âAttachâ -> âRecentâ.
Thisâll let me upload the file. The process takes about 10 seconds.
Navigating to the âFilesâ tab of the channel, I can see the file is now actually 4 minutes old, despite being modified roughly 30 seconds ago, and uploaded literally 10 seconds ago!
The content was also only partially missing â it seems like I was somehow able to upload an old version of the file I was just modifying.
Now, I suspect this issue is caused by your OneDrive for Business sync client (one of my favorite pieces of software ever developed!) serving your Teams client an old version of the file, and Teams then happily uploading that one to the channel.
I could be completely mistaken. But the bottom line is that using the âAttachâ -> âRecentâ is risky, since it:
- Could cause data loss đŹ
- It will cause cluttering đĄ
So you should move your files around some other way. But how?
Solution
Instead of using the âAttach a fileâ quick action to select a âRecentâ file, itâs far safer to share a link to your file (if you donât care where itâs actually located) or just find the file in the Files section of your channel, and move it to a new location, and share it from there (if the location needs to make sense).
Obviously, this is not for situations when you WANT to have a work-in-progress version of the document somewhere and then âpublishâ it â rather, this is for the situations when you just want to embed the file to the right channel with proper permissions, instead of creating a duplicate.
Essentially, the steps are as follows:
Time needed:Â 2 minutes
How to move a file from the Microsoft Teams channel to another?
- Navigate to whichever channel your file is located in.
If your file isnât hosted in Teams at this point, donât bother with this explanation â just âAttachâ the file as you would.
If you already have the file hosted in another channelâs Files, follow this guide. - Open the âFilesâ tab.
Thatâll bring up the files hosted for the channel! Find your file in the list.
- Select the âEllipsisâ button.
Thatâs the three dots at the right side of the name of the file in a list! It should open a new menu for you.
- Select âMoveâ.
All of the steps above in one screenshot.
- Choose the proper channel for your file.
This will move the file to said channelâs library/folder in the SharePoint site thatâs hosting the Files experience for your Teams team/channel!
- Open the channel to which you want to post the file.
Great â now it should be safe to post about the file since it wonât be duplicated anymore.
- NOW you can use the âAttachâ > âBrowse â or just paste a link to the file in the Teams message!
Your file wonât be âuploadedâ anymore, but rather itâs properly attached from its proper location.
And there you go! Once more, in case you just want to share the file, no matter where itâs located, you can also use the âAttachâ > âBrowse Teams and Channelsâ or use a sharing link without actually moving the file.
- How to solve keyboard shortcuts not working in Google Chrome on Windows? - September 10, 2024
- Search (and secretly, sync) broken in OneNote? A quick fix! - September 3, 2024
- âDestination Path Too Longâ when copying files in File Explorer? Easy workaround(s)! - August 27, 2024