我正在为用户制定自定义邀请政策,以便他们可以使用邀请链接进行注册。我已经创建了制定自定义策略所需的策略。下面是列表
我跟随Azure AD B2C pre-populate a custom attribute in the SignUp policy制定了自定义政策。
实际上,这是我之前的问题Azure Ad b2c : Add new member user with invitation的答案。
上述所有政策均已成功上传。但是当我尝试运行邀请政策时。我收到了错误。
请帮我解决这个问题。我完全失明了如何解决这个问题。
上述错误可能是由声明类型引起的,声明类型由自我声明的技术配置文件引用为输出声明,它没有输入类型:
e.f.:
<ClaimType Id="extension_MyCustomClaim">
<DisplayName>My Custom Claim</DisplayName>
<DataType>string</DataType>
<UserInputType>TextBox</UserInputType>
</ClaimType>
<ClaimType />
元素可能缺少<UserInputType />
元素。