Azure ad b2c 跟踪Azure B2C用户,他们试图验证电子邮件,但没有提供提交到电子邮件的代码

Azure ad b2c 跟踪Azure B2C用户,他们试图验证电子邮件,但没有提供提交到电子邮件的代码,azure-ad-b2c,Azure Ad B2c,我想跟踪用户谁点击验证电子邮件B2C按钮,但不输入代码,他们应该通过电子邮件接收。在B2C或某种“未验证电子邮件”存储中是否有对该按钮的控制?我正在使用自定义模板。 您可以使用Azure Monitor确定谁至少发起了电子邮件验证,但没有完成验证。通过Azure Monitor启用日志分析 然后在日志分析中使用此查询: AuditLogs | where OperationName == "Verify email address" or OperationName == &

我想跟踪用户谁点击验证电子邮件B2C按钮,但不输入代码,他们应该通过电子邮件接收。在B2C或某种“未验证电子邮件”存储中是否有对该按钮的控制?我正在使用自定义模板。

您可以使用Azure Monitor确定谁至少发起了电子邮件验证,但没有完成验证。通过Azure Monitor启用日志分析

然后在日志分析中使用此查询:

AuditLogs
| where OperationName == "Verify email address" or OperationName == "Send verification email"
| summarize count() by OperationName, CorrelationId, bin(TimeGenerated, 1h)
| summarize count() by CorrelationId, TimeGenerated
| extend state = iff(count_ == 1, "Abandoned", "Completed")
| summarize dcount(CorrelationId) by TimeGenerated, state
| render timechart