我们正在尝试使用 B2E 可选声明......我们按照这个文档和这个在 B2E 创建扩展声明,而不是用一些值填充它......并在 Token Conf/Manifest 上启用它。我们还使用 PartnerClaimType 设置了 de XML,但我们无法接收来自 B2E 的声明。您有什么提示或想法为什么我们无法收到索赔?
默认声明工作正常,但可选……我们至少花了 2 天时间进行大量测试……=(
Extension Claim
{
"@odata.context": "https://graph.microsoft.com/beta/$metadata#applications('XXX9f805-40cb-41af-80ae-c63201919XXX')/extensionProperties",
"value": [
{
"id": "XXX707f9-8cdb-4cfa-996e-59da8512fXXX",
"deletedDateTime": null,
"appDisplayName": "",
"name": "extension_XXXb714c01374c3e89a7c700bbd0eXXX_perfil",
"dataType": "String",
"isSyncedFromOnPremises": false,
"targetObjects": ["User"]
}
]
}
Populated claim from and User
{ "extension_XXXb714c01374c3e89a7c700bbd0eXXX_perfil": "tempinfo",
}
B2E App Manifest
"saml2Token": [
{
"name": "extension_XXXb714c01374c3e89a7c700bbd0eXXX_perfil",
"source": "user",
"essential": false,
"additionalProperties": []
}
]
OpenId ClaimProvider
观察:我们还尝试了“extension_perfil”和“extn.perfil”</p>
参考:
https://docs.microsoft.com/en-us/graph/api/resources/extensionproperty?view=graph-rest-1.0
https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-optional-claims