拆分注册过程的第二步发生内部服务器错误

Internal server error on second step of split sign-up journey

如果我尝试在同一个策略中将电子邮件验证和用户注册 (as per this sample) and use custom email verification (as per this one) 分开,我会收到一个非描述性的“无法显示该页面,因为发生了内部服务器错误”500 错误在电子邮件验证成功之后但在显示第二个自我断言屏幕之前。 App Insights 日志记录表明策略转换为 Microsoft.Cpim.Common.PolicyException 状态,可能是在 IsSelfAssertedEmpty 谓词返回 true 之后。但是日志记录中没有任何内容表明什么是空的,而且我也不知道什么是空的。关于如何解决此问题或如何诊断原因有什么想法吗?

微软的 sample for splitting email verification and sign-up includes a 'PartnerClaimType="Verified.Email"' attribute on the email output claim on the verification technical profile. Somehow, the out of the box email verification control provides this partner claim, whereas the custom control defined in their custom email example 没有。我不能说我理解它是如何工作的,因为显示控件不能有输出声明,但是删除合作伙伴声明参考可以解决 500 错误。