Azure AD b2c:尝试运行自定义邀请策略时出错

问题描述 投票:1回答:1

我正在为用户制定自定义邀请政策,以便他们可以使用邀请链接进行注册。我已经创建了制定自定义策略所需的策略。下面是列表

  • Base_Extensions.XML
  • Base.XML
  • Invitation.HML

我跟随Azure AD B2C pre-populate a custom attribute in the SignUp policy制定了自定义政策。

实际上,这是我之前的问题Azure Ad b2c : Add new member user with invitation的答案。

上述所有政策均已成功上传。但是当我尝试运行邀请政策时。我收到了错误。

enter image description here

请帮我解决这个问题。我完全失明了如何解决这个问题。

azure azure-ad-b2c identity-experience-framework
1个回答
0
投票

上述错误可能是由声明类型引起的,声明类型由自我声明的技术配置文件引用为输出声明,它没有输入类型:

e.f.:

<ClaimType Id="extension_MyCustomClaim">
  <DisplayName>My Custom Claim</DisplayName>
  <DataType>string</DataType>
  <UserInputType>TextBox</UserInputType>
</ClaimType>

<ClaimType />元素可能缺少<UserInputType />元素。

© www.soinside.com 2019 - 2024. All rights reserved.