{"id":1529,"date":"2021-02-09T01:00:00","date_gmt":"2021-02-09T01:00:00","guid":{"rendered":"http:\/\/inswwdev.azurewebsites.net\/au\/insights\/uncategorized\/syncing-on-premises-sharepoint-with-onedrive\/"},"modified":"2021-02-09T01:00:00","modified_gmt":"2021-02-09T01:00:00","slug":"syncing-on-premises-sharepoint-with-onedrive","status":"publish","type":"post","link":"https:\/\/www.insentragroup.com\/us\/insights\/geek-speak\/modern-workplace\/syncing-on-premises-sharepoint-with-onedrive\/","title":{"rendered":"Syncing on-premises SharePoint with OneDrive"},"content":{"rendered":"<p><span data-contrast=\"auto\">So, we now love the OneDrive client.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">We love\u00a0<\/span><span data-contrast=\"auto\">how\u00a0<\/span><span data-contrast=\"auto\">it enables us to access SharePoint, Teams and OneDrive libraries from within Windows apps and work with files in Explorer.\u00a0 And we really love the way we can now link OneDrive with existing Teams and SharePoint Libraries and work with them without syncing.\u00a0\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">The OneDrive client for Windows has come on leaps and bounds in the past few years and now\u00a0<\/span><span data-contrast=\"auto\">it\u00a0<\/span><span data-contrast=\"auto\">is good \u2013 it wasn\u2019t always good \u2013 the Groove sync engine was a disaster \u2013 but the \u201cNext Gen\u201d (current) implementation is getting the job done.<\/span><\/p>\n<h3 style=\"padding-bottom: 15px; margin-bottom: 30px; margin-top: 40px; border-bottom: 1px solid #f16020;\"><span>CUTTING TO THE CHASE <\/span><\/h3>\n<p><span data-contrast=\"auto\">W<\/span><span data-contrast=\"auto\">hat if you want to use OneDrive with SharePoint on-premises<\/span><span data-contrast=\"auto\">?<\/span><span data-contrast=\"auto\">\u00a0 Good news: SharePoint 2019 works with the current OneDrive clients. Bad news: earlier versions do not. But let\u2019s stay positive<\/span><span data-contrast=\"auto\">.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">So, for the sake of this discussion,\u00a0<\/span><span data-contrast=\"auto\">you are<\/span><span data-contrast=\"auto\">\u00a0using OneDrive for Business with Microsoft 365, your identities are\u00a0<\/span><span data-contrast=\"auto\">synced,<\/span><span data-contrast=\"auto\">\u00a0and all is well.\u00a0\u00a0<\/span><span data-contrast=\"auto\">However, t<\/span><span data-contrast=\"auto\">here is<\/span><span data-contrast=\"auto\">\u00a0a nagging concern in your mind that one of your colleagues could connect their corporate PC with another OneDrive account from another organisation and accidentally move a bundle of your precious files away to another company.\u00a0\u00a0<\/span><span data-contrast=\"auto\">While it is<\/span><span data-contrast=\"auto\">\u00a0<\/span><span data-contrast=\"auto\">probably accidental<\/span><span data-contrast=\"auto\">,\u00a0<\/span><span data-contrast=\"auto\">this kind of data leakage happens, and your Cyber risk radar is beeping so you want to fix it.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Luckily,\u00a0<\/span><span data-contrast=\"auto\">there is<\/span><span data-contrast=\"auto\">\u00a0a control for\u00a0<\/span><span data-contrast=\"auto\">it<\/span><span data-contrast=\"auto\">.\u00a0 The policy \u201c<\/span><a rel=\"noopener nofollow\" href=\"https:\/\/docs.microsoft.com\/en-us\/onedrive\/use-group-policy#allow-syncing-onedrive-accounts-for-only-specific-organizations\" target=\"_blank\" data-anchor=\"#allow-syncing-onedrive-accounts-for-only-specific-organizations\"><span data-contrast=\"none\">Allow syncing OneDrive accounts for only specific organi<\/span><span data-contrast=\"none\">s<\/span><span data-contrast=\"none\">ations<\/span><\/a><span data-contrast=\"auto\">\u201d enables you to configure OneDrive so it will only sync with the Microsoft 365 tenant(s)\u00a0<\/span><span data-contrast=\"auto\">which<\/span><span data-contrast=\"auto\">\u00a0<\/span><span data-contrast=\"auto\">you allow.\u00a0\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Great. Now, what happens if you\u2019ve also\u00a0<\/span><span data-contrast=\"auto\">you have<\/span><span data-contrast=\"auto\">\u00a0got SharePoint 2019 in your environment and you<\/span><span data-contrast=\"auto\">\u00a0woul<\/span><span data-contrast=\"auto\">d like to sync th<\/span><span data-contrast=\"auto\">is<\/span><span data-contrast=\"auto\">\u00a0too?\u00a0\u00a0<\/span><span data-contrast=\"auto\">Go<\/span><span data-contrast=\"auto\">\u00a0to SharePoint on-premises, find your library, click Sync and\u2026 you get an error.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\"><img decoding=\"async\" src=\"https:\/\/www.insentragroup.com\/wp-content\/uploads\/sites\/21\/2021\/02\/onedrive_-error-code-0x8004deeea.jpg\" alt=\"\" data-udi=\"umb:\/\/media\/4b83f6150a68418e9b58f27a3663f510\" \/><\/span><\/p>\n<p><span><u>[Your IT department doesn\u2019t allow you to sync files from this location to your computer (Error Code: 0x8004deeea)]<\/u><\/span><span>\u00a0<\/span><\/p>\n<h3 style=\"padding-bottom: 15px; margin-bottom: 30px; margin-top: 40px; border-bottom: 1px solid #f16020;\">DO YOU SEE THE CATCH?<\/h3>\n<p><span>The configuration policy requires a Tenant ID from your Microsoft 365 tenant. SharePoint 2019 on-premises does not have a Tenant ID &#8211; so what can you do?<\/span><\/p>\n<p><span>It turns out OneDrive marks the on-premises SharePoint configuration with the tenant ID \u201cOP1\u201d.\u00a0 You can see it in the registry in Windows by looking into the OneDrive account settings under HKCU.<\/span><\/p>\n<h3 style=\"padding-bottom: 15px; margin-bottom: 30px; margin-top: 40px; border-bottom: 1px solid #f16020;\">BRINGING IT HOME<\/h3>\n<p><span>Adding \u201cOP1\u201d to your AllowTenantList policy alongside your Microsoft 365 tenant ID, will allow your OneDrive client to sync with SharePoint 2019 on-premises.<\/span><\/p>\n<p><span>There are one or two other polices, and some connectivity requirements, relating to using OneDrive with SharePoint 2019 which are documented here: <a href=\"https:\/\/docs.microsoft.com\/en-us\/sharepoint\/install\/new-onedrive-sync-client\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/docs.microsoft.com\/en-us\/sharepoint\/install\/new-onedrive-sync-client<\/a><\/span><\/p>\n<p>Hope this is helpful to someone.\u00a0 Comments and feedback always welcome.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So, we now love the OneDrive client.\u00a0 We love\u00a0how\u00a0it enables us to access SharePoint, Teams and OneDrive libraries from within Windows apps and work with files in Explorer.\u00a0 And we really love the way we can now link OneDrive with existing Teams and SharePoint Libraries and work with them without syncing.\u00a0\u00a0\u00a0 The OneDrive client for&hellip; <a class=\"more-link\" href=\"https:\/\/www.insentragroup.com\/us\/insights\/geek-speak\/modern-workplace\/syncing-on-premises-sharepoint-with-onedrive\/\">Continue reading <span class=\"screen-reader-text\">Syncing on-premises SharePoint with OneDrive<\/span><\/a><\/p>\n","protected":false},"author":94,"featured_media":1530,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","footnotes":""},"categories":[19],"tags":[],"class_list":["post-1529","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-modern-workplace","entry"],"_links":{"self":[{"href":"https:\/\/www.insentragroup.com\/us\/wp-json\/wp\/v2\/posts\/1529","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.insentragroup.com\/us\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.insentragroup.com\/us\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.insentragroup.com\/us\/wp-json\/wp\/v2\/users\/94"}],"replies":[{"embeddable":true,"href":"https:\/\/www.insentragroup.com\/us\/wp-json\/wp\/v2\/comments?post=1529"}],"version-history":[{"count":0,"href":"https:\/\/www.insentragroup.com\/us\/wp-json\/wp\/v2\/posts\/1529\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.insentragroup.com\/us\/wp-json\/wp\/v2\/media\/1530"}],"wp:attachment":[{"href":"https:\/\/www.insentragroup.com\/us\/wp-json\/wp\/v2\/media?parent=1529"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.insentragroup.com\/us\/wp-json\/wp\/v2\/categories?post=1529"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.insentragroup.com\/us\/wp-json\/wp\/v2\/tags?post=1529"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}