教程:为 Zscaler Beta 配置自动用户预配

本教程的目的是演示需要在 Zscaler Beta 和 Microsoft Entra ID 中执行哪些步骤,以将 Microsoft Entra ID 配置为自动将用户和/或预配到 Zscaler Beta 以及对其取消预配。

注意

本教程介绍在 Microsoft Entra 用户预配服务之上构建的连接器。 有关此服务的功能、工作原理以及常见问题的重要详细信息,请参阅使用 Microsoft Entra ID 自动将用户预配到 SaaS 应用程序和取消预配

先决条件

本教程中所述的方案假定你已具备以下项:

  • 一个 Microsoft Entra 租户
  • Zscaler Beta 租户
  • Zscaler Beta 中具有管理员权限的用户帐户

注意

Microsoft Entra 预配集成依赖于 Zscaler Beta SCIM API,该 SCIM API 可供拥有企业版套餐的帐户的 Zscaler Beta 开发人员使用。

在使用 Microsoft Entra ID 为 Zscaler Beta 配置自动用户预配之前,需要从 Microsoft Entra 应用程序库将 Zscaler Beta 添加到托管的 SaaS 应用程序列表。

若要从 Microsoft Entra 应用程序库添加 Zscaler Beta,请执行以下步骤:

  1. 至少以云应用程序管理员身份登录到 Microsoft Entra 管理中心

  2. 浏览至“标识”>“应用程序”>“企业应用程序”>“新建应用程序”。

  3. 在搜索框中,键入“Zscaler Beta”,在结果面板中选择“Zscaler Beta”,然后单击“添加”按钮添加该应用程序。

    Zscaler Beta in the results list

将用户分配到 Zscaler Beta

Microsoft Entra ID 使用名为“分配”的概念来确定哪些用户应收到对所选应用的访问权限。 在自动用户预配的上下文中,只同步“已分配到”Microsoft Entra ID 中的应用程序的用户和/或组。

在配置和启用自动用户预配之前,应确定 Microsoft Entra ID 中的哪些用户和/或组需要访问 Zscaler Beta。 确定后,可以按照此处的说明将这些用户和/或组分配到 Zscaler Beta:

有关将用户分配到 Zscaler Beta 的重要提示

  • 建议将单个 Microsoft Entra 用户分配到 Zscaler Beta 以测试自动用户预配配置。 其他用户和/或组可以稍后分配。

  • 如果将用户分配到 Zscaler Beta,必须在分配对话框中选择任何特定于应用程序的有效角色(如果有)。 具有“默认访问权限” 角色的用户排除在预配之外。

配置 Zscaler Beta 的自动用户预配

本部分逐步介绍了如何配置 Microsoft Entra 预配服务,以根据 Microsoft Entra ID 中的用户和/或组分配在 Zscaler Beta 中创建、更新和禁用用户和/或组。

提示

还可选择按照 Zscaler Beta 单一登录教程中提供的说明为 Zscaler Beta 启用基于 SAML 的单一登录。 可以独立于自动用户预配配置单一登录,尽管这两个功能互相补充。

注意

预配或取消预配用户和组时,我们建议定期重启预配,以确保正确更新组成员身份。 执行重启操作将强制我们的服务重新评估所有组并更新成员身份。

在 Microsoft Entra ID 中为 Zscaler Beta 配置自动用户预配:

  1. 至少以云应用程序管理员身份登录到 Microsoft Entra 管理中心

  2. 浏览至“标识”>“应用程序”>“企业应用程序”>“Zscaler Beta”。

    Enterprise applications blade

  3. 在应用程序列表中,选择“Zscaler Beta”

    The Zscaler Beta link in the Applications list

  4. 选择“预配”选项卡。

    There is a list of tabs arranged into categories, and titled ZScaler Beta - Provisioning / Enterprise Application. The Provision tab of the Manage category is selected.

  5. 将“预配模式” 设置为“自动” 。

    The Automatic mode has been selected from the Provisioning Mode drop-down list. There are fields for Admin Credentials, used to connect to the Zscaler Beta API, and there is a Test Connection button.

  6. 在“管理员凭据”部分中,输入 Zscaler Beta 帐户的租户 URL 和机密令牌,如步骤 6 中所述 。

  7. 若要获取租户 URL 和机密令牌,请在 Zscaler Beta 门户的用户界面中导航到“管理”>“身份验证设置”,然后在“身份验证类型”下单击“SAML”。

    On Authentication Settings, in the Authentication Profile, the selected Directory Type is Hosted DB, and the selected Authentication Type is SAML.

    单击“配置 SAML”打开“配置 SAML”选项 。

    On Configure SAML, the Enable SAML Auto-Provisioning and the Enable SCIM-Based Provisioning options are selected. The Base URL and Bearer Token text boxes are highlighted.

    选择“启用基于 SCIM 的预配”以检索基 URL 和持有者令牌,然后保存设置 。 将“基 URL”复制到“租户 URL”,并将“持有者令牌”复制到“机密令牌”。

  8. 填入步骤 5 中所示的字段后,单击“测试连接”以确保 Microsoft Entra ID 可以连接到 Zscaler Beta。 如果连接失败,请确保 Zscaler Beta 帐户具有管理员权限,然后重试。

    On Admin Credentials, the Tenant URL and Secret Token fields have values, and the Test Connection button is highlighted.

  9. 在“通知电子邮件”字段中,输入应接收预配错误通知的个人或组的电子邮件地址,并选中复选框“发生故障时发送电子邮件通知”

    The Notification Email text box is empty, and the Send an email notification when a failure occurs checkbox is cleared.

  10. 单击“保存” 。

  11. 在“映射”部分下,选择“将 Microsoft Entra 用户同步到 Zscaler Beta”。

    The Synchronize Microsoft Entra users to ZScalerBeta is selected and enabled.

  12. 在“属性映射”部分,查看从 Microsoft Entra ID 同步到 Zscaler Beta 的用户属性。 选为“匹配”属性的特性用于匹配 Zscaler Beta 中的用户帐户以执行更新操作。 选择“保存”按钮以提交任何更改 。

    In the Attribute Mappings section for user attributes, the Active Directory attributes are shown next to the Zscalar Beta attributes they are synchronized with. One pair of attributes is shown as Matching.

  13. 在“映射”部分下,选择“将 Microsoft Entra 组同步到 Zscaler Beta”。

    The Synchronize Microsoft Entra groups to ZScalerBeta is selected and enabled.

  14. 在“属性映射”部分中,查看从 Microsoft Entra ID 同步到 Zscaler Beta 的组属性。 选为“匹配”属性的特性用于匹配 Zscaler Beta 中的组以执行更新操作。 选择“保存”按钮以提交任何更改 。

    In the Attribute Mappings section for group attributes, the Active Directory attributes are shown next to the Zscalar Beta attributes they are synchronized with. One pair of attributes is shown as Matching.

  15. 若要配置范围筛选器,请参阅范围筛选器教程中提供的以下说明。

  16. 若要为 Zscaler Beta 启用 Microsoft Entra 预配服务,请在“设置”部分将“预配状态”更改为“开”。

    The Provisioning Status is shown and set to On.

  17. 通过在“设置”部分的“范围”中选择所需的值,定义要预配到 Zscaler Beta 的用户和/或组 。

    The Scope drop-down list is shown, and Sync only assigned users and groups is selected. The other available value is Sync all users and groups.

  18. 已准备好预配时,单击“保存” 。

    The Save button at the top of Zscaler Beta - Provisioning is highlighted. There is also a Discard button.

此操作会对“设置”部分的“范围”中定义的所有用户和/或组启动初始同步 。 初始同步执行的时间长于后续同步,只要 Microsoft Entra 预配服务正在运行,则大约每隔 40 分钟就会进行一次同步。 可使用“同步详细信息”部分监视进度并访问指向预配活动报告的链接,该报告描述了 Microsoft Entra 预配服务对 Zscaler Beta 执行的所有操作。

要详细了解如何读取 Microsoft Entra 预配日志,请参阅有关自动用户帐户预配的报告

其他资源

后续步骤