教程:为 Bonusly 配置自动用户预配

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

注意

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

先决条件

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

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

注意

Microsoft Entra 预配集成依赖于可供 Bonusly 开发人员使用的 Bonusly REST API

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

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

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

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

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

    Bonusly in the results list

将用户分配到 Bonusly

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

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

将用户分配到 Bonusly 的重要提示

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

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

配置 Bonusly 的自动用户预配

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

提示

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

若要在 Microsoft Entra ID 中为 Bonusly 配置自动用户预配,请执行以下操作:

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

  2. 依次浏览到“标识”>“应用程序”>“企业应用程序”>“Bonusly”。

    Enterprise applications blade

  3. 在应用程序列表中,选择“Bonusly” 。

    The Bonusly link in the Applications list

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

    Screenshot of the Bonusly - Provisioning tab. Under Manage, Provisioning is highlighted.

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

    Screenshot showing a Provisioning Mode list box, with Automatic selected and highlighted.

  6. 在“管理员凭据”部分下,按照步骤 6 中的说明输入 Bonusly 帐户的机密令牌

    Screenshot of the Admin credentials section. The Secret token box is empty, but the box is highlighted.

  7. Bonusly 帐户的机密令牌位于“管理”>“公司”>“集成”中。 在“如果要编码”部分中,单击“API”>“新建 API 访问令牌”以创建新的机密令牌。

    Screenshot of the Bonusly menu. Under Admin, Company is highlighted. Under Company, Integrations is highlighted.

    Screenshot of the If you want to code section of the Bonusly site, with A P I highlighted.

    Screenshot of the Bonusly site. The Services tab is open. Under Your A P I access tokens, Create new A P I access token is highlighted.

  8. 在以下屏幕上,在提供的文本框中键入访问令牌的名称,然后按“创建 Api 密钥”。 新的访问令牌将在弹出窗口中显示几秒钟。

    Screenshot of the New access token page of the Bonusly site. An unlabeled box contains My Token, and the Create A P I key button is highlighted.

    Screenshot of the Bonusly site. A notification is visible that displays New access token created, followed by an indecipherable token.

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

    Screenshot of the Admin Credentials section. The Text connection button is highlighted.

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

    Screenshot showing an empty Notification email box. An option is visible that is labeled Send an email notification when a failure occurs.

  11. 单击“ 保存”。

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

    Screenshot of the Mappings section. Under Name, Synchronize Microsoft Entra users to Bonusly is highlighted.

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

    Screenshot of the Attribute Mappings page. A table lists Microsoft Entra attributes, corresponding Bonusly attributes, and the matching status.

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

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

    Screenshot of the Settings section. The Provisioning status toggle is set to Off.

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

    Screenshot showing the Scope list box. Sync only assigned users and groups is selected in the box.

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

    Screenshot of the Bonusly - Provisioning page, with the Save button highlighted.

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

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

其他资源

后续步骤