天天看點

SharePoint解決方案:如何配置OneDrive 與SharePoint 2019的Connection

51CTO 部落格位址:https://blog.51cto.com/13969817

部落格園部落格位址:https://www.cnblogs.com/bxapollo

自從微軟于2017年的build大會上宣布OneDrive支援File-On Demand功能,使用者可以通過檔案資料總管通路OneDrive和SharePoint Online中的所有檔案,而無需下載下傳所有檔案,而無需下載下傳所有檔案,不會占用裝置上的其他存儲空間,很多企業使用者非常欣喜,加速了他們推動數字化轉型的腳步。

而今OneDrive也可以與SharePoint Server 2019高度內建,使用者可以在任何裝置上配置OneDrive和SharePoint的Connection,來協作文檔和共享文檔,同時也享有File On Demand的功能,讓使用者通路和編輯資料無磁盤空間不足之憂,今天我将為大家分享OneDrive與SharePoint2019的配置方案。

配置OneDrive與SharePoint 2019的Connection有兩種方案:Group Policy或者直接修改系統資料庫,今天我給大家分享的解決方案是配置Group Policy。

用戶端Windows 10或者Windows Server 2019版本部署最新版Microsoft OneDrive app

在SharePoint Server 2019端配置My Site,用來對OneDrive做身份驗證

配置Group Policy

如何在SharePoint Server 配置My Site,就不詳細介紹了,與以往版本的配置沒有任何差異。

接下來分享一下如何配置Group Policy:

首先,使用PowerShell方式複制OneDrive.admx和OneDrive.adml到指定路徑:

其次,使用Powershell: gpedit打開local group policy editor,如下圖所示:

SharePoint解決方案:如何配置OneDrive 與SharePoint 2019的Connection

然後再彈出的Local Group Policy Editor頁面,在Computer Configuration->Administrative templates->Onedrive, enable下圖Specify SharePoint Server URL and Organization name 和 Specify the OneDrive Location in a hybrid environment兩個設定。

SharePoint解決方案:如何配置OneDrive 與SharePoint 2019的Connection

完成配置之後,就可以點選網站Library的sync,對目前登入的account做身份驗證,并配置OneDrive和SharePoint library之間的connection了。

SharePoint解決方案:如何配置OneDrive 與SharePoint 2019的Connection

配置成功如下,使用者可以按需通路資料,預設資料是存儲在SharePoint Server端的,隻有使用者通路資料,才會從Server端download到本地存儲有一個副本,減輕使用者本次磁盤存儲壓力。

SharePoint解決方案:如何配置OneDrive 與SharePoint 2019的Connection

 相關資料:

User Group Policy to control OneDrive Sync Settings

Configure Syncing with the new OneDrive sync app