May 25, 2018 Microsoft engineers administer SharePoint and OneDrive using a PowerShell console that requires two-factor authentication. We perform day-to-day tasks by running workflows so we can rapidly respond to new situations. Check-ins to the service require code review and management approval. No engineer has standing access to the service. OneDrive is the files experience for Microsoft 365 and SharePoint Server., giving you access to all your work or school files, including the files that people share with you directly or through the teams you're working on. By the way, the OneDrive App that allows you to sync SharePoint Document Library is the same app that allows you to sync files and folders from your own OneDrive for Business Account. You can easily differentiate between the 2 in your Desktop OneDrive for Business Folder. See Sync OneDrive files or sync SharePoint files for more info. SharePoint Server 2016 and later. Moving documents from OneDrive to SharePoint. Sometimes documents that you start by yourself grow in importance and become relevant to a project. When that happens, it may make sense to copy or move files from OneDrive to SharePoint. SharePoint Online and OneDrive for Business are uniquely positioned to respond to today’s evolving security challenges. As a first step to providing administrators security and control in a mobile and connected world are conditional access policies.

One feature that confuses the hell out of everyone is OneDrive Sync available in SharePoint Online and OneDrive. So today I would like to clarify what it is and how it works. I have written a few posts previously on how to install it. Still, since Microsoft has made a few significant improvements over the last few years, I would like to start from scratch and explain to you, my loyal blog followers what OneDrive sync is and how to get the most out of it.

What is OneDrive Sync?

OneDrive sync is an application that you install on your computer that takes care of a two-way synchronization of files and folders between SharePoint document libraries and your computer (i.e., C: Drive) as well as your own OneDrive files and folders and your computer (i.e., C: Drive).

Why do we need OneDrive Sync?

By making the files available on your computer, the idea is that you can access them without logging in to SharePoint Online. Moreover, you can access them without an internet connection (offline). OneDrive sync “remembers” the changes and synchronizes them automatically when the Internet connection is present, so you always get the latest and greatest copy of the files in either SharePoint Online or your computer.

How is OneDrive Sync related to OneDrive for Business?

OneDrive for Business is your personal storage place in Office 365, as explained further in this post. OneDrive sync client is a separate application you install to synchronize the files and folders. They just happen to share the name “OneDrive”. And what adds to the confusion is that, as I described above, OneDrive sync client syncs files and folders from your private OneDrive for Business (within the company’s Office 365) as well as SharePoint document libraries. I know, I know, that’s why I wrote this post.

How to install OneDrive sync client

OK, so now that we got terminology part behind us, let me describe to you how to install and configure OneDrive Sync client. I provided similar instructions in a previous post, but I would like to repeat it here again to make sure you get the latest and greatest instructions.

  1. Navigate to either your OneDrive for Business or any SharePoint Document Library
  2. Just above files and folders, click the Sync button.
  3. You will get a pop-up that looks like this and OneDriveSetup.exe file downloaded to your computer automatically.
  4. In case if OneDriveSetup.exe does not start automatically, you might need to click get the latest version of OneDrive.
  5. Go ahead and run/open the executable file.
  6. Next, it will prompt you to enter your email address. Please make sure to enter your Office 365 User D (email address) and click Sign In
  7. It will ask you the location where you want to store the synchronized files and folders. I suggest you leave as-is, but you can optionally change the location. Hit Next
  8. And that is it! You will now get a notification that the files and folders synchronized to your computer.

What does it look like in Windows Explorer?

  1. You can navigate to your synchronized files and folders by clicking on a blue cloud icon in the taskbar
  2. And then click Open folder.
  3. You will now notice all the synchronized files and folders. Your personal files from OneDrive will reside under OneDrive-[Company Name] section, while all the document libraries will reside under the [Company Name] section, next to a building icon

It is imperative to note the naming convention for the synchronized SharePoint Document libraries. The naming convention is as such: [Site Name] – [Document library name].

How to configure OneDrive Sync

Now that we installed OneDrive sync, it is time to configure it. You have a few options, depending on how you work.

Files On-Demand

Remember when I told you earlier that all the files are copied over to your C:Drive? Well, that is not 100% accurate. If you were to stop right here and not configure this any further, you would use what’s called the Files On-Demand feature. This is a new feature that was rolled out relatively recently. Its purpose is to save space on your hard-drive. The idea is that it does not download the physical files and folders to your computer. Instead, it just downloads the names of files and folders as well as the hierarchy of folders. So it looks like you have them on your computer, but you don’t. It only downloads files and folders when you click on them.

In the image below, you can see the cloud icons next to all the files, except for one (green checkbox). This indicates that I opened the file on my computer, and it was physically downloaded to my computer at that time.

Files on your computer

The above setup works well when you want to save storage on your laptop, but if you do not have WiFi and need to access the files, it won’t work. In this case, you need to disable Files On-Demand. To do this:

  1. Click the Blue Cloud Icon > More > Settings
  2. Under the Settings Tab, uncheck the box next to Save space and download files as you use them.
  3. You will get a confirmation message, just hit OK.
  4. When you go back to Windows Explorer, you will now notice a bunch of green checkboxes, meaning that the files have physically been downloaded and synchronized to your computer.

How to stop sync of files and folders

It is crucial to note that once you synchronize your OneDrive or SharePoint document libraries, it establishes a constant 2-way connection between OneDrive/SharePoint and your computer. So any change you make in one place (i.e., deletion) will immediately happen in the other location. If you need to break that link – you need to stop the synchronization. To do this – follow instructions in this post.

How to disable OneDrive sync

Sometimes, you just do not want your users to sync anything to their computer (i.e., highly sensitive information). In such cases, Site Owners can disable Sync option. I describe the steps in this article.

Additional OneDrive Sync Nuances

Training

OneDrive Sync and Required Metadata

In case your library contains metadata columns that you made required, you will notice a lock icon appearing next to the files. That means that all the files and folders became read-only, and you can no longer edit them from Windows Explorer.

Sharepoint And Onedrive Overview

If you try to open and edit a document, you won’t be able to.

The reason for this – there is no SharePoint metadata in the Windows Explorer – and since it is required, you will need to navigate to SharePoint to fill it out.

OneDrive Sync and Required Check-Out

The same thing will occur if you enable Check-Out on the document library. Since this is a strictly SharePoint feature, it will lock down all the files, just like shown above, in the synchronized folder on your PC. Because again, it expects you to go to SharePoint to check out a document first before making any changes.

OneDrive Sync Icons

In case you want to get to know all the possible icons and Statuses in OneDrive sync, check out this helpful summary from Microsoft.

-->

Sharepoint Vs Onedrive

Tip

Watch the following session to learn how Teams interacts with Azure Active Directory (AAD), Microsoft 365 Groups, Exchange, SharePoint and OneDrive for Business: Foundations of Microsoft Teams

Each team in Microsoft Teams has a team site in SharePoint Online, and each standard channel in a team gets a folder within the default team site document library. Files shared within a conversation are automatically added to the document library, and permissions and file security options set in SharePoint are automatically reflected within Teams. To see the impact of changing a site address in SharePoint, read Change a site address.

Difference In Sharepoint And Onedrive

Note

This article applies only to standard channels. The architecture for private channels is different from standard channels. Each private channel has its own SharePoint site collection that's separate from the parent team site. To learn more, see Private channels in Microsoft Teams.

Private chat files are stored in the sender's OneDrive for Business folder, and permissions are automatically granted to all participants as part of the file sharing process.

If users aren't assigned and enabled with SharePoint Online licenses, they don't have OneDrive for Business storage in Microsoft 365 or Office 365. File sharing will continue to work in standard channels, but users won't be able to share files in chats without OneDrive for Business storage in Microsoft 365 or Office 365.

By storing the files in the SharePoint Online document library and OneDrive for Business, all compliance rules configured at the tenant level will be followed.

Note

Integration with SharePoint On-premises is not supported for Microsoft Teams at this time.

The following is the example of relationships between team, standard channel, and document library.

For every team, a SharePoint site is created, and the Shared Documents folder is the default folder created for the team. Each standard channel, including the General channel (the default channel for each team) has a folder in Shared Documents.

Note

It's not currently possible to replace the default SharePoint site and document library with another one. We've heard from you that you want it, and we're considering it. Check the Teams Roadmap or Teams UserVoice to stay on top of upcoming features.

Note

Microsoft will be moving from UserVoice to our own customer feedback solution on a product-by-product basis during 2021. Learn more.

Tip

To add a tab to your team that links to an existing SharePoint site page or to your existing SharePoint document library:

  1. Select the plus sign next to the tabs.
  2. Select either SharePoint for an existing SharePoint site page or Document Library for an existing document library.
  3. Select the appropriate page or document library.

For every user, the OneDrive folder Microsoft Teams Chat Files is used to store all files shared within private chats with other users (1:1 or 1:many), with permissions configured automatically to restrict access to the intended user only.

Note that for public teams, the SharePoint team site is provisioned with 'Everyone except external users' access. The public team isn't displayed in Teams for people who aren't members of that team. However, they can access content on the SharePoint team site using the URL of the SharePoint team site.

Channel Files tab

Relationship Between Sharepoint And Onedrive

This feature hasn't yet been released. It's been announced, and is coming soon. If you're an admin, you can find out when this feature will be released in the Message Center (in the Microsoft 365 admin center).

The Files tab in Teams closely resembles the SharePoint documents view. On the Files tab, users can:

  • See additional options in the New file menu.
  • Sync files to their local drive.
  • On the All Documents menu, switch from List view to Compact list to Tiles view.
  • Identify files that need attention or have malware.
  • Immediately see whether a file is read-only or checked out.
  • Check out and check in files.
  • Pin, unpin, and change the sort order of files.
  • Identify which files need metadata
  • Choose from many more filter options.
  • Group files based on column headings.
  • Modify column settings (move left or right, hide) and column width.

Default link type setting

SharePoint and OneDrive have an admin setting for specifying the default link type for links that are created for a file. Teams is adopting that same approach by reusing the settings that the admin sets for SharePoint and OneDrive. More details about this approach are described in Change the default link type when users get links for sharing.

More information

For more information about how SharePoint works with Teams, see SharePoint and Teams: better together.

To learn more about the guest experience in Teams, read What the guest experience is like.