教程:为 Global Relay Identity Sync 配置自动用户预配

本教程介绍了在 Global Relay Identity Sync 和 Microsoft Entra ID 中配置自动用户预配所需的步骤。 配置后,Microsoft Entra ID 会使用 Microsoft Entra 预配服务自动将用户和组预配到 Global Relay Identity Sync 以及取消预配。 有关此服务的功能、工作原理以及常见问题的重要详细信息,请参阅使用 Microsoft Entra ID 自动将用户预配到 SaaS 应用程序和取消预配

支持的功能

  • 在 Global Relay Identity Sync 中创建用户
  • 在用户不再有访问需求的情况下,在 Global Relay Identity Sync 中删除用户
  • 使用户属性在 Microsoft Entra ID 和 Global Relay Identity Sync 之间保持同步
  • 在 Global Relay Identity Sync 中预配组和组成员身份

注意

Global Relay Identity Sync 预配连接器采用了由于安全问题而不再受支持的 SCIM 授权方法。 我们目前正在与 Global Relay 合作,争取转换为更安全的授权方法。

先决条件

本教程中概述的方案假定你已具有以下先决条件:

  • Microsoft Entra 租户
  • 具有配置预配权限的 Microsoft Entra ID 用户帐户(例如应用程序管理员、云应用程序管理员、应用程序所有者或全局管理员)。

步骤 1:规划预配部署

  1. 了解预配服务的工作原理
  2. 确定谁在预配范围中。
  3. 确定要在 Microsoft Entra ID 与 Global Relay Identity Sync 之间映射的数据。

步骤 2:配置 Global Relay Identity Sync 以支持通过 Microsoft Entra ID 进行预配

请联系 Global Relay Identity Sync 代表以获取租户 URL。 将在 Global Relay Identity Sync 应用程序的“预配”选项卡中的“租户 URL”字段中输入此值。

从 Microsoft Entra 应用程序库添加 Global Relay Identity Sync,开始管理到 Global Relay Identity Sync 的预配。可在此处详细了解如何从库中添加应用程序。

步骤 4:定义谁在预配范围中

借助 Microsoft Entra 预配服务,可根据对应用程序的分配和用户/组的属性来限定谁在预配范围内。 如果选择根据分配来限定要将谁预配到应用,可以按照下面的步骤操作,将用户和组分配到应用。 如果选择仅根据用户或组的属性来限定要对谁进行预配,可以使用此处所述的范围筛选器。

步骤 5:配置 Global Relay Identity Sync 的自动用户预配

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

在 Microsoft Entra ID 中为 Global Relay Identity Sync 配置自动用户预配:

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

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

    Enterprise applications blade

  3. 在应用程序列表中,选择“Global Relay Identity Sync”。

    The Global Relay Identity Sync link in the Applications list

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

    Provisioning tab

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

    Provisioning tab automatic

  6. 在“管理员凭据”部分下,输入 Global Relay Identity Sync 租户 URL 。 单击“测试连接”,以确保 Microsoft Entra ID 可以连接到 Global Relay Identity Sync。如果连接失败,请确保 Global Relay Identity Sync 帐户具有管理员权限,并联系 Global Relay 代表解决此问题。

    Authorization button

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

    Notification Email

  8. 选择“保存”。

  9. 在“映射”部分下,选择“将 Microsoft Entra 用户同步到 Global Relay Identity Sync”。

  10. 在“属性映射”部分中,查看从 Microsoft Entra ID 同步到 Global Relay Identity Sync 的用户属性。 选为“匹配”属性的特性用于匹配 Global Relay Identity Sync 中的用户帐户以执行更新操作。 如果选择更改匹配目标属性,则需要确保 Global Relay Identity Sync API 支持基于该属性筛选用户。 选择“保存”按钮以提交任何更改。

    Attribute 类型
    userName 字符串
    活动 Boolean
    displayName 字符串
    title 字符串
    preferredLanguage 字符串
    name.givenName 字符串
    name.familyName 字符串
    name.formatted 字符串
    addresses[type eq "work"].formatted 字符串
    addresses[type eq "work"].streetAddress 字符串
    emails[type eq "work"].value 字符串
    addresses[type eq "work"].locality 字符串
    addresses[type eq "work"].region 字符串
    addresses[type eq "work"].postalCode 字符串
    addresses[type eq "work"].country 字符串
    addresses[type eq "other"].formatted 字符串
    phoneNumbers[type eq "work"].value 字符串
    phoneNumbers[type eq "mobile"].value 字符串
    phoneNumbers[type eq "fax"].value 字符串
    externalId 字符串
    name.honorificPrefix 字符串
    name.honorificSuffix 字符串
    nickName 字符串
    userType 字符串
    区域设置 字符串
    timezone 字符串
    emails[type eq "home"].value 字符串
    emails[type eq "other"].value 字符串
    phoneNumbers[type eq "home"].value 字符串
    phoneNumbers[type eq "other"].value 字符串
    phoneNumbers[type eq "pager"].value 字符串
    addresses[type eq "home"].streetAddress 字符串
    addresses[type eq "home"].locality 字符串
    addresses[type eq "home"].region 字符串
    addresses[type eq "home"].postalCode 字符串
    addresses[type eq "home"].country 字符串
    addresses[type eq "home"].formatted 字符串
    addresses[type eq "other"].streetAddress 字符串
    addresses[type eq "other"].locality 字符串
    addresses[type eq "other"].region 字符串
    addresses[type eq "other"].postalCode 字符串
    addresses[type eq "other"].country 字符串
    roles[primary eq "True"].display 字符串
    roles[primary eq "True"].type 字符串
    roles[primary eq "True"].value 字符串
    urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:employeeNumber 字符串
    urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:costCenter 字符串
    urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:organization 字符串
    urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:division 字符串
    urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:department 字符串
    urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:manager 参考
    urn:ietf:params:scim:schemas:extension:GlobalRelay:2.0:User:proxyAddresses 字符串
    urn:ietf:params:scim:schemas:extension:GlobalRelay:2.0:User:extensionAttribute1 字符串
    urn:ietf:params:scim:schemas:extension:GlobalRelay:2.0:User:extensionAttribute2 字符串
    urn:ietf:params:scim:schemas:extension:GlobalRelay:2.0:User:extensionAttribute3 字符串
    urn:ietf:params:scim:schemas:extension:GlobalRelay:2.0:User:extensionAttribute4 字符串
    urn:ietf:params:scim:schemas:extension:GlobalRelay:2.0:User:extensionAttribute5 字符串
    urn:ietf:params:scim:schemas:extension:GlobalRelay:2.0:User:extensionAttribute6 字符串
    urn:ietf:params:scim:schemas:extension:GlobalRelay:2.0:User:extensionAttribute7 字符串
    urn:ietf:params:scim:schemas:extension:GlobalRelay:2.0:User:extensionAttribute8 字符串
    urn:ietf:params:scim:schemas:extension:GlobalRelay:2.0:User:extensionAttribute9 字符串
    urn:ietf:params:scim:schemas:extension:GlobalRelay:2.0:User:extensionAttribute10 字符串
    urn:ietf:params:scim:schemas:extension:GlobalRelay:2.0:User:extensionAttribute11 字符串
    urn:ietf:params:scim:schemas:extension:GlobalRelay:2.0:User:extensionAttribute12 字符串
    urn:ietf:params:scim:schemas:extension:GlobalRelay:2.0:User:extensionAttribute13 字符串
    urn:ietf:params:scim:schemas:extension:GlobalRelay:2.0:User:extensionAttribute14 字符串
    urn:ietf:params:scim:schemas:extension:GlobalRelay:2.0:User:extensionAttribute15 字符串
  11. 在“映射”部分下,选择“将 Microsoft Entra 组同步到 Global Relay Identity Sync”。

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

    Attribute 类型
    displayName 字符串
    members 参考
  13. 若要配置范围筛选器,请参阅范围筛选器教程中提供的以下说明。

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

    Provisioning Status Toggled On

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

    Provisioning Scope

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

    Saving Provisioning Configuration

此操作会对“设置”部分的“范围”中定义的所有用户和组启动初始同步周期 。 初始周期执行的时间比后续周期长,只要 Microsoft Entra 预配服务正在运行,后续周期大约每 40 分钟就会进行一次。

步骤 6:监视部署

配置预配后,请使用以下资源来监视部署:

  1. 通过预配日志来确定哪些用户已预配成功或失败
  2. 检查进度栏来查看预配周期的状态以及完成进度
  3. 如果怀疑预配配置处于非正常状态,则应用程序将进入隔离状态。 可在此处了解有关隔离状态的详细信息。

其他资源

后续步骤