-->APPLIES TO: 2013 2016 2019 SharePoint in Microsoft 365
- Onedrive For Business
- Onedrive For Business Mac Sharepoint On Premise Manager
- Onedrive For Business Mac Sharepoint On Premises
- Onedrive For Business Sharepoint Online
- Onedrive Sharepoint On Premise
You enable OneDrive for Business as follows: In the Power Platform admin center, select an environment. Select Settings Integration Document management settings. Select Enable OneDrive for Business to enable it, and then select OK. The onedrive sync client can sync your onedrive for business library in sharepoint online. It can’t sync document libraries (such as team sites), on-premises sharepoint environments, or another user's onedrive library. If you have to sync other sharepoint document libraries such as team sites or on-premises sharepoint environments, you should. Aug 25, 2020 Configure syncing with the new OneDrive sync app. 8/25/2020; 6 minutes to read +9; In this article. APPLIES TO: 2013 2016 2019 SharePoint in Microsoft 365 When you deploy SharePoint Server 2019 in your organization, your users can sync their OneDrive files as well as SharePoint team site files by using the new OneDrive sync app (OneDrive.exe) for Windows or Mac.
When you deploy SharePoint Server 2019 in your organization, your users can sync their OneDrive files as well as SharePoint team site files by using the new OneDrive sync app (OneDrive.exe) for Windows or Mac. Compared with the previous OneDrive sync app (Groove.exe), the new sync app provides:
- Improved performance and reliability
- Files On-Demand
- Support for larger files
- Higher sync limits
- The ability to silently deploy. If your Windows users are already syncing document libraries with the previous OneDrive sync app, they will transition to the new sync app automatically.
- Mac support
Requirements
- Install SharePoint Server 2019.
- Install the OneDrive sync app (download). For deployment info, see:
- Configure OneDrive for SharePoint Server 2019.
Recommendations
1. Allow WNS Traffic
For the best user experience, SharePoint Server 2019 will send change notifications to sync clients via WNS web push notifications. This feature ensures sync users quickly have the latest copies of any SharePoint Server file updates. You may need to take steps to ensure outbound requests from your SharePoint Server and your user's sync client computers can reach and properly interact with the WNS service.
For SharePoint Server:
- Allow outbound HTTPS connection to reach *.notify.windows.com
For OneDrive Sync client computers:
- Allow outbound TLS encrypted TCP/IP socket connection to reach *.wns.windows.com
- Avoid HTTPS decryption for *.wns.windows.com on your proxy server as this likely will disconnect the socket connection.
If either the SharePoint Server or the OneDrive sync client is unable to communicate with the WNS service then the sync client will fall back to polling the SharePoint Server roughly every two minutes looking for changes. As a result, your users may see delays of more than two minutes from the time of a server change to when the sync client downloads the changed file.
2. Opt-in to Sharing Improvement Information
When configuring the SharePoint server you have the option to enable sharing of improvement information with Microsoft. Enabling this opts connected sync clients into sending troubleshooting information. This allows the sync client team to proactively detect and correct problems, respond to customer reported problems, and improve the product over time. If this is disabled, customer escalations are harder to investigate and will require the customer to manually gather and provide logs from the impacted sync client machines.
Configure OneDrive for SharePoint Server 2019
To set up OneDrive with SharePoint Server 2019, you can either use Group Policy or set the registry keys directly.
Note
For settings that require an organization ID, if you sync a single domain, you can use OP1. Do not use this if you sync multiple domains.
The Known Folder Move settings don't work for SharePoint Server.
Using Group Policy
Configure the following two Group Policy objects to configure OneDrive to be used with SharePoint 2019:
Specify SharePoint Server URL and organization name
The URL (SharePointOnPremFrontDoorUrl) is used by the sync app to authenticate the user and to set up syncing of the user's SharePoint Server hosted personal OneDrive site.The organization name (SharePointOnPremTenantName) lets you specify the name of the root folder that will be created in File Explorer. If you don't supply an organization name, the sync app will use the first segment of the URL as the name. For example, office.sharepoint.com would create the folder 'office'.
Specify the OneDrive location in a hybrid environment
This setting (SharePointOnPremPrioritization) lets you specify if the sync app should first set up a sync relationship with SharePoint in Microsoft 365 (the default) or the SharePoint on-premises server if the user identity exists in both identity providers. The sync application's Settings dialog can be used to 'Add Account' the same identity for the other SharePoint realm after the first has been configured (if the user identity exists in both).
You should be able to find these Group Policy objects using the Group Policy Editor (gpedit.msc) when navigating to Computer ConfigurationAdministrative TemplatesOneDrive. If the OneDrive folder is not present, you can add the OneDrive Group Policy template by copying the following two files from the OneDrive installation folder after you have installed the latest OneDrive sync app on that computer:
- C:UsersusernameAppDataLocalMicrosoftOneDriveonedrivesyncclientversionadmOneDrive.admxtoC:WindowsPolicyDefinitionsOneDrive.admx
- C:UsersusernameAppDataLocalMicrosoftOneDriveonedrivesyncclientversionadmOneDrive.admltoC:WindowsPolicyDefinitionsen-USOneDrive.adml
To automate this copying using PowerShell, you could use:
More information:Learn how to manage OneDrive using Group Policy
By setting the registry keys
Alternatively, you can also directly configure the following underlying registry keys:
Key | Type | Value | Required |
---|---|---|---|
HKLM:SoftwarePoliciesMicrosoftOneDriveSharePointOnPremFrontDoorUrl | String | https://sharepoint.contoso.local | required |
HKLM:SoftwarePoliciesMicrosoftOneDriveSharePointOnPremPrioritization | DWORD (32-bit) | 1 | optional |
HKLM:SoftwarePoliciesMicrosoftOneDriveSharePointOnPremTenantName | String | Contoso | optional |
Differences between syncing files in SharePoint Server and SharePoint in Microsoft 365
If your organization also uses the OneDrive sync app to sync files in Microsoft 365, here's what will be different for users who sync on-premises files.
Single Top-level URL
If you have deployed multiple on-premises SharePoint Server farms in your enterprise, on a given client computer, you will only specify a single 'SharePointOnPremFrontDoorUrl'. For a given user, you should configure their computer with the SharePoint Server URL that hosts their individual OneDrive site or if they don't have a OneDrive site, where the team sites they are most likely to sync are hosted. Your users will be able to start syncing team site content from any of your on-premises SharePoint Server farms by navigating to the web experience of the Team Site and clicking the Sync button on that site.
For example, you have a SharePoint Server farm for your Finance department and another for the rest of your company. Users who are members of the Finance department have their individual OneDrive site hosted on the Finance department's SharePoint Server farm. For those Finance employees, you use your computer management system to set the SharePointOnPremFrontDoorUrl registry key policy on their computer to have your Finance specific farm's URL. For all other employees, you set the SharePointOnPremFrontDoorUrl to your other SharePoint Server farm URL. The sync client will look for and provision on-demand as needed, the user's OneDrive site on the appropriate SharePoint Server farm.
Folder names
The OneDrive sync app creates the following folders on users' computers:OneDrive – Contoso (for syncing personal My Site files)Contoso (for syncing SharePoint team site files)
In SharePoint in Microsoft 365, 'Contoso' is the tenant name that has been set for the SharePoint in Microsoft 365 instance. In SharePoint on-premises, there is no tenant name associated to the instance of SharePoint. You can set the this with the 'Specify SharePoint Server URL and organization name' group policy, or the sync app will use the first segment of your SharePoint URL.
File thumbnails and previews
Thumbnails don't appear in File Explorer for files synced from SharePoint on-premises. If you enable Files On-Demand, and a file is online-only, a file preview won't be available. Image files and Office files will not have a thumbnail in File Explorer until the file is downloaded.
Sharing from File Explorer
When users share files and folders from File Explorer, the sharing option will open the browser instead of the Share dialog.
Privacy settings
When setting up SharePoint Server, you'll be prompted to select if clients should send error reports and usage statistics back to Microsoft. If you enable the setting, individual users can opt out by following these steps:
Onedrive For Business
- At the far right of the taskbar, in the notification area, right-click the OneDrive cloud icon.
- Select Settings.
- Select the Settings tab, and under Privacy, clear the option.
[Update] This post was updated on April 26, 2019
SharePoint Online and OneDrive for Business are one of the most common places to store company data. Procedures, various templates, documents in creation, runbooks – those are only a few examples of what kind of documents reside in SharePoint Online and OneDrive for Business. Those documents are often labeled as business-critical, which means that ensuring they are not accidentally (or purposefully) deleted is a big deal. That is where the issue of backup comes in. Read on if you want to know more about how to back up SharePoint Online and OneDrive for Business.
Why is backup needed?
Office 365, together with SharePoint Online and OneDrive for Business, changes the way data is stored. High availability and excellent security of Microsoft’s Cloud might make you think that backup is a thing of the past. The truth is, for all companies which value their data, backup is still a must-have.
The article Why back up Office 365 mailboxes? shares some insight into why backup is needed. Although it is mostly about mailbox data, it applies to SharePoint and OneDrive for Business just as well.
When deciding if your company needs data backup, there are two questions which need answering:
- In the age of strict data protection regulations, can you afford not to have a rock-solid backup?
- Can you entrust all of your data entirely to a third party?
The native option
22 April 2019 Microsoft announced a new SharePoint feature – Files restore for SharePoint. Apart from that, there are two other options – retention policy and litigation hold. They allow you to preserve and secure essential documents against deletion.
Microsoft office professional plus 2016 for mac. Retention policy allows to either retain or automatically delete certain items. It can be applied on a global level – (for example for the whole Exchange Online, SharePoint Online) or for chosen sites. A retention policy creates Preservation Hold Libraries, which hold deleted content for the specified amount of time.
Onedrive For Business Mac Sharepoint On Premise Manager
The litigation hold is a part of the native Office 365 eDiscovery tool. Its primary purpose is to hold specific content in case of litigation. Because it prevents items from being deleted indefinitely, it is also used as a backup alternative.
For a detailed comparison between a retention policy and a litigation hold, visit Office 365 litigation hold vs. retention policy – what’s the difference.
With the introduction of Files restore for SharePoint, SharePoint gains useful backup and restore capabilities. Site owners gain an option to restore a library to any point in the past 30 days. Although this feature offers granularity on a library level and reliable disaster recovery capabilities, it is not without flaws.
Files restore for SharePoint – limitations
The feature is relatively new, so there is no telling how it will evolve. It allows site owners to restore a whole library to a point in time, as long as this point is in the last 30 days. This recovery feature comes in handy when:
Onedrive For Business Mac Sharepoint On Premises
- Documents are mass deleted,
- files get overwritten,
- a lot of data becomes corrupted or infected by malware.
It means that if, say, a disgruntled employee leaves a company and wants to leave a mark by deleting files in bulk, you can ensure data integrity, despite that. However the feature was long awaited by admins and greatly increases SharePoint Online data security, there are a few facts to keep in mind, mentioned in restore a document library:
Onedrive For Business Sharepoint Online
- To use the feature, you need to be a site owner. During the restore action, visitors will see a notice that recovery is in progress
- The feature requires versioning set up and turned on. Turning off the version history will disable the option to restore items to their previous versions.
- Emptying site collection recycle bin makes restore impossible
- The feature is meant for disaster recovery when a lot of documents are deleted or corrupted at the same time, it cannot be used for recovering single items, or excluding some items from the restore
Onedrive Sharepoint On Premise
Already mentioned litigation holds and retention policies can be used for another layer of protection. However, they will not cover each and every angle.
Limitations of retention policies and litigation holds
The native options are trusted to be very reliable and helpful, especially in terms of eDiscovery. However, they are not perfect for backup purposes. Here is why:
- A litigation hold is not cut out to restore backed up content.
- Litigation holds and retention policies greatly increase the size of an Office 365 tenant. In case of an indefinite global retention policy, there is no way to delete contents granularly.
- Both native alternatives to backup store the content in the same physical location. This is against good backup practices.
- They are dependent on Microsoft services. Not only does it create a potential unavailability risk, but also Security and Compliance Center is one of the most rapidly changing services in an Office 365 tenant. Whenever there is a change, there is also a risk.
- Preservation Hold libraries (a place which stores the deleted SharePoint content) are only visible to site collection admins.
- Litigation hold’s main purpose is to make content discoverable in case of litigation. Incorrect use of the hold may make all content discoverable, creating additional risks.
- Don’t forget you will need at least an E3 subscription for hold/retention capabilities.
The solution
Fortunately, there is a simple solution which allows you to back up SharePoint Online and OneDrive for Business, as well as all mailbox data in Exchange Online. This complete Office 365 backup solution is CodeTwo Backup for Office 365.
CodeTwo Backup for Office 365 is a tool which allows you to back up and quickly restore SharePoint Online, OneDrive for Business and Exchange Online data. This software lets you create a continuous incremental backup of your data to a local storage or an Azure-located VM. In case of unexpected data damage, data loss, or unavailability, you can access all backed up content at all times. Granularly restore the data to its original location or even to a different tenant.
It is highly recommended if you value data confidentiality and security.
How to back up SharePoint Online and OneDrive for Business?
Here is a short preview of how to back up and restore SharePoint Online and OneDrive for Business data:
- First, download Backup for Office 365 (it includes a 30-day free trial version).
- Next, on the Jobs tab, create a new SharePoint backup job.
- It will start an easy-to-use wizard. You can decide what to back up, when a backup job should start and how often it should run. For a step-by-step presentation of how to configure a backup job, take a look at this User’s manual article.
- The best part is that your data can be accessed and restored at any time. You can restore whole site collections, libraries or even single items to their original destination or, if you need, to another tenant. To learn more about restoring SharePoint data from backup, refer to this User’s manual article.
CodeTwo Backup for Office 365 offers an easy and reliable way to back up and restore SharePoint, OneDrive for Business and Exchange Online data. What is more, thanks to the ability to restore data to a different tenant, the software can be used as a SharePoint migration tool. To learn more about this solution, take a look at this website. You can also watch the video below on how it is important to back up SharePoint Online data.
If you want to learn more about Office 365 backup, check out the following articles: