仅允许在加入特定域的计算机上同步Allow syncing only on computers joined to specific domains

若要确保用户仅同步托管计算机上的 OneDrive 文件,可以将 OneDrive 配置为仅在加入特定域的电脑上进行同步。To make sure that users sync OneDrive files only on managed computers, you can configure OneDrive to sync only on PCs that are joined to specific domains.

仅允许在加入特定域的电脑上进行同步To allow syncing only on PCs joined to specific domains

备注

这些设置适用于 SharePoint 网站和 OneDrive。These settings apply to SharePoint sites as well as OneDrive.

  1. 以全局或 SharePoint 管理员的身份登录到 OneDrive 管理中心 ,并在左窗格中选择 " 同步 "。Sign in to the OneDrive admin center as a global or SharePoint admin, and select Sync in the left pane.

    OneDrive 管理中心的“同步”页

  2. 选中 " 仅允许在加入特定域的 pc 上进行同步" 复选框。Select the Allow syncing only on PCs joined to specific domains check box.

  3. 单击 “添加域”Click Add domains.

  4. 为希望能够同步的成员计算机添加 每个域的 GUIDAdd the GUID of each domain for the member computers that you want to be able to sync.

    备注

    请确保添加计算机域成员身份的域 GUID。Make sure to add the domain GUID of the computer domain membership. 如果用户位于单独的域中,则仅需要将计算机帐户加入的域 GUID。If users are in a separate domain, only the domain GUID that the computer account is joined to is required.

    重要

    此设置仅适用于 Active Directory 域。This setting is only applicable to Active Directory domains. 它并不适用于 Azure AD 域。It does not apply to Azure AD domains. 如果你的设备只加入了 Azure AD,请考虑改用 条件访问策略If you have devices which are only Azure AD joined, consider using a Conditional Access Policy instead.

  5. 如果要阻止 Mac OS 用户完全同步,请选中 " 阻止 MAC os 的同步 " 复选框。If you want to prevent Mac OS users from syncing entirely, select the Block sync on Mac OS check box.

  6. 单击 "同步" 页上的 " 保存 "。Click Save on the Sync page.

有关使用 PowerShell 设置此同步应用程序限制的信息,请参阅 get-spotenantsyncclientrestrictionFor info about setting this sync app restriction by using PowerShell, see Set-SPOTenantSyncClientRestriction.