Clicking on the Sync button in Files tab is NOT the best way to Sync Teams files to Windows 10 desktop. Learn the right process in this article.
10 min reading time. Creation time 6 hours!
Channel Files tab – Open in SharePoint – In the breadcrumb – Choose Documents (before the channel name) – Sync. Accept the dialog. Done.
Sync Teams – Teams terms explained
When I talk about Teams – with a capital T – it means the product / app called Microsoft Teams. When we refer to the word “team” it means the content of the Teams app. You can add a new team for each project. Each team has channels. Each channel has a files tab.
Types of Files in Teams
The are two types of files in Teams – Chat files and Channel files.
Chat files are stored in OneDrive. In fact, Windows 10 automatically syncs OneDrive files.
Channel files are stored in SharePoint. However, these are not synched by default to your desktop.
How to Sync Teams Chat files
Files which you upload during a Teams chat are stored inside your OneDrive in the folder Microsoft Teams Chat Files.
Usually, all OneDrive files are synched to local desktop as a part of standard deployment. Now, check if the folder exists in local OneDrive. If not, follow the instructions below…
First, in Windows 10 – taskbar – tray icons (near the time display) locate the OneDrive icon. You may have to click the up arrow to find it.
Second, Right click on the OneDrive icon.
Choose Help and Settings and Settings
Go to the Accounts tab – OneDrive storage location.
Click Choose Folders.
Find the folder Microsoft Teams Chat Files and select it. Click Ok.
What does the cloud icon mean?
Now this folder will sync to local OneDrive folder. This folder will have a cloud icon next to it.
The cloud icon means the files are just a shortcut. Just double click to edit the file. Changes will sync automatically. That’s it.
Teams Channel files sync
I have a team called Beauty Program containing four channels. As an example, we will use this team to understand the sync process.
Single channel file sync
Open Teams app on the PC. Open the team inside Teams – select the desired Channel and click the File tab. Click the Sync button.
Sometimes, you may need to login to OneDrive. Ignore the Getting ready to sync dialog. Now the files will be visible on inside the OneDrive folder on the PC.
However, this is not enough. Why? If you are a part of a team, you may want to have all the related files – across all channels – to be synched locally.
You will need to go to each Channel – Files tab and click the Sync button repeatedly. But that is neither efficient, nor recommended. There is a better way.
Already made this mistake?
No problem. This is a common mistake. However, read on to find out how to sync all channels in the team and correct this mistake.
How to sync Teams Files for all channels in a team
This is a slightly lengthy process. But it must be done only once per team.
Go to any Channel in the team and open the Files tab and look for the button – Open in SharePoint.
A separate browser window will open. It may require you to login to Office 365. After login, the same channel files will be shown on SharePoint.
You will see the Channel name with Documents written before it. By the way, the technical name for this is breadcrumb. Click on the Documents in the breadcrumb.
Now you will see all the channel names as sub-folders. This is how your Teams files are stored in SharePoint (it is a document library).
Click the Sync button.
It will ask you for permission to open OneDrive. After that, you can choose the checkbox if you want to allow OneDrive to open from browser in future. This is safe. Allow it and click Open.
You may need to login to OneDrive if you are not logged in to it on the PC.
In addition, a dialog like this will appear informing you that the sync is happening. After that, you can close the dialog.
Depending upon the number of folders and files it may take few minutes.
Now go to the PC and check file explorer.
These Teams files and folders DO NOT appear below the local OneDrive folder. In fact, another folder is created with your organization name – MaxOffice in my case. Inside this folder, you will see the folder.
Inside this folder, you will get all the channels and files.
File sync complete for all channels in the selected team!
When new channels are added, the folders will be synched automatically.
Repeat this process for each team as required.
What if I have already synched a single channel?
This is a common mistake. But OneDrive understands and automatically corrects the problem.
For example, here I synched only the Execution channel. Then realized my mistake and synched the whole team. After that, in my local drive, I see two folders. One containing Team name – Documents and another containing Team name – channel name. Now what?
You will notice that the folder with just the channel name will NOT have the cloud icon. That means, it got unlinked from sync. The main team folder – Documents – is now synched. The channel folder is anyway a part of it. Check it yourself.
Therefore, you can now delete the wrongly synched single channel folder without any problems.
Disk space usage on local drive after sync
Don’t worry about running out of diskspace on the PC. Why?
Because, when you sync any folder – whether the chat folder or team folder, what you see are only shortcuts to the folder and files.
Sync Teams Files on Demand
Now you can edit a Teams files on the PC, even without open the Teams app. Go to the synched folder – team – channel – file and double click on it to open and edit it.
The file will download and open automatically. Edit and save it as usual. Sync is automatic. In addition, for Office files, there is AutoSave as well.
However, for non-Microsoft files, the editor for the file must be installed on the PC.
How to edit Teams files Offline
This is the real benefit of taking all this trouble. Once sync is established, the files can be edited when offline. However, is there a catch? To edit a file while you are offline, the file must be available locally. A file with cloud icon is NOT available locally.
Therefore, if you are intending to edit files offline, you must download the files locally WHILE you are online. Just make sure the files that the files have a green tick mark.
Then go offline and edit. When you get internet connection later, files will sync automatically with Teams.
Download files for editing later
If you double click a cloud only file, it will download and open immediately. However, you don’t want to open and edit the file right now. You are just preparing for editing it later.
Therefore, you need to just download the file – without opening it.
How? Right click on the file and choose Always keep on this device.
This can be done for multiple selected files or folders as well.
In other words, all these files will download to the PC. The icon will change to a white tick mark.
Deleting a file deletes it for everyone in the team
This is important to understand. Unlike OneDrive, Teams files are available to all team members. When you delete a Teams file which is synched to the PC, it will get deleted from your PC as well as from Teams.
That is why, it shows you this warning. Just make sure that this file not useful to the entire team before deleting it.
If you delete by mistake what happens? Don’t worry. There is are multiple recycle bins!
Sync Teams Recycle bins
If the file you delete is a local file as well, you can find it in your PC recycle bin. It will stay there till you clear the PC Recycle Bin.
If it was a cloud file, then it will go to the SharePoint recycle bin. Here the files are stored for 93 days. (IT can change this period as required).
After 93 days what happens? Of course, there is a way – just escalate a call to IT.
How to un-sync a team from PC?
When a project is finished or you moved to another team, the locally synched files are no longer needed.
DO NOT delete the folder from PC. That will delete all files in the team for all team members.
Go to OneDrive settings (taskbar tray OneDrive icon, right click, help and settings) – Accounts tab. Find the Team name and choose Stop Sync.
This will NOT delete the local files. But just unlink Teams folders and files from the local PC. Now you can delete the local folder without affecting the Teams files.
Notes for IT
Migrate traditional Server File Shares to Teams
Now that you know how easy it is to work on Teams files remotely and offline, these benefits should be extended to traditional file shares as well.
Typical file share requires online connection and does not sync automatically leading to multiple copies and confusion.
Moving traditional, departmental file shares to Teams is a fantastic way to improve Teams adoption. In fact, you still get all the security, governance, DLP, retention, conditional access, and more…
Multi-level SharePoint Recycle Bin
The recycle bin at Teams level is accessible to users. Even if a file is deleted from it, there is a second stage recycle bin. This is at site collection level.
What if you delete a file from second stage recycle bin and want to recover it? In addition, there is a 14 day restore from backup available. In this case, request MS support to recover it for you.
Enable Files on Demand
This is a global policy setting which can be implemented using Endpoint manager / Intune / Group Policy. This is an important setting.
Why? Because in a team, multiple people are adding files. If Files on Demand is not enabled, the local synched folders can grow very fast. This can exhaust the local PC storage very quickly. For details read the documentation here.
Update OneDrive and Office Pro Plus every month
I have observed that most organizations have an update frequency of 6 months. This is counterproductive. OneDrive and Office is updated on a weekly basis. Updates include new features and stability + security improvements. Therefore, set the frequency to monthly.
In addition, for the core IT team and the early-adopters and champions / ambassadors change it to Beta (insider) channel – which gives weekly updates.
In conclusion, we learnt many things in the process. Now you can use sync to your advantage and work more efficiently. Try it out. Let me know your experience, queries and comments.
About the Author:
I am Dr Nitin Paranjape.Feel free to call me DOC. I did my post-graduation in gynecology, way back in 1991, in Bombay (TNMC – Nair Hospital).
IT was my hobby while I was studying medicine.
I started with a very primitive Sinclair Spectrum 32KB gaming computer. It required a TV (black & white) as a display and a spool tape recorder to load the software. I got tired of gaming and thought of writing software for medical automation. Learn more
Paranjape, N. (2020). How to Sync Teams files to a PC. Available at: https://efficiency365.com/2020/11/09/how-to-sync-teams-files-to-pc [Accessed: 27th November 2020].