Maximo 应用程序套件 — SCIM 用户同步配置和常见挑战解释


在身份提供商 (IdP) 之间同步用户和群组,例如 Azure 入口 ID 还有 Maximo 应用程序套件 (MAS) 是实现集中式身份和访问管理的关键步骤。MAS 支持 SCIM 2.0 进行配置,但一些细微差别——以及一些陷阱——如果不清楚地理解,可能会影响同步过程。
这篇博客介绍了:
从 Azure Entra ID 到 MAS 的 SCIM 配置需要 JWT 代币,它源自 MAS API 密钥。
注意:MAS 确实如此 不 允许恢复身份验证令牌的详细信息。
如果丢失,则必须生成一个 新的 API 密钥。
创建 API 密钥和令牌后,必须发出 GET 请求才能生成 JWT。您可以使用邮差生成令牌,详细信息如下。
得到 https://api.%3cmasdomain%3e/v1/authenticate]https://api。<masdomain>/v1/身份验证
响应返回 JWT 代币 这将用于 Azure Entra SCIM 配置中。
SCIM 配置文件控制身份和授权如何从 IdP 同步。要创建个人资料,请点击以下 URL POST 请求,正文如下所示。
https://api.%3cmasdomain%3e/scim/v2/Profiles]https://api。/s@@ <masdomain>cim/v2/配置文件
{
"id": "MasProfile1",
"version": 1,
"identities": [
{ "id": "default-saml",
"type": "saml",
"samlId": "externalId"
}
],
"entitlement": {
"application": "BASE"
},
"runtimeConfigs": {
"useGroupDisplayNameAsGroupId": true
},
"workspaces": [
{ "id": "test",
"applications": ["manage"]
}
]
}
{
"id": "MasProfile2",
"version": 2,
"identities": [
{
"id": "default-saml",
"type": "saml",
"samlId": "externalId"
}
],
"entitlement": {
"application": "BASE"
},
"workspaces":
[
{
"id": "uat",
"applications": ["manage"]
}
],
"runtimeConfigs": {
"useGroupDisplayNameAsGroupId": true
}
}
Maximo 安全组及其成员资格可以在 Azure Entra 项目中管理,而应用程序授权则在 Maximo Manage 中管理。当群组通过 SCIM 同步时,群组 ID(例如 ap_maximo_supervisors_tyhntb)会在 Maximo 中映射为群组名称,从而使其创建新群组而不是链接到现有的 AP_MAXIMO_SUPERSIORS 群组。由于 ap_maximo_supervisors_tyhntb 是 SCIM 群组 ID,因此我们无法将其移除或重新映射。
当群组从 Azure AD → MAS Core 同步时:
这会导致 新群组 将在 Maximo 中创建,而不是映射到现有的 Maximo 安全组。
创建 SCIM 配置文件时添加以下标签。
“使用群组显示名称作为群组 ID”: true
这确保 MAS 使用 显示名称 作为群组 ID,避免使用不需要的后缀。
注意:如果在 MAS 中修改现有配置文件,请增加 “版本” 号。MAS 仅在版本更改时更新。
当你从 Azure Entra 组中移除用户时,Entra 会向 MAS 发送以下补丁请求,这会强制 MAS 从群组中删除所有用户,而不是删除一个特定用户。
补丁请求记录在 MAS Core 日志中:
补丁:/scim/v2/masstgprofileext/groups/maximo-secGroup
{
'schemas': [...],
'Operations': [
{
'op': 'Remove',
'path': 'members',
'value': [{'value': 'userid'}]
}
]
}
这是 不是 符合 SCIM 标准。
{
"schemas": ["urn:ietf:params:scim:api:messages:2.0:PatchOp"],
"Operations": [
{
"op": "remove",
"path": "members[value eq \"userid\"]"
}
]
}
Azure Entra 提供了 SCIM 兼容模式。
通过将此参数附加到 SCIM URL 来启用它:
?aadoptscim062020
这解决了:
参考:
Discover everything you need to know to modernize your asset management strategy.
Inside, you’ll learn:

ActiveG, BPD Zenith, EAM Swiss, InterPro Solutions, Lexco, Peacock Engineering, Projetech, Sharptree, and ZNAPZ have united under one brand: Naviam.
You’ll be redirected to the most relevant page at Naviam.io in a few seconds — or you can
go now.