我希望迁移 adb2c,但旧广告使用由 userflow 实现的 mfa。如何获取strongAuthenticationPhoneNumber?

I wish to migrate adb2c but the older ad uses mfa implemented by userflow. How to get the strongAuthenticationPhoneNumber?

我正在关注 https://docs.microsoft.com/en-us/azure/active-directory-b2c/user-migration 进行迁移,第一步是预迁移。我已经能够将除 mfa 号码以外的所有内容迁移到新的 b2c 。来自旧 B2C 的“strongAuthenticationPhoneNumber”,因为它无法通过图表访问?

您无法通过图 api 访问 strongAuth 属性。您必须使用自定义策略来实施。查找并用 extension_whatever.

替换 strongAuthenticationPhoneNumber

https://docs.microsoft.com/en-us/azure/active-directory-b2c/custom-policy-get-started

使用具有 MFA 的入门包 https://github.com/Azure-Samples/active-directory-b2c-custom-policy-starterpack/tree/master/SocialAndLocalAccountsWithMfa

如果 phone 号码已经在 B2C strongAuth 属性中并且您想移动到新的 B2C 租户,则这些号码无法公开。您可以使用自定义策略在用户下次登录时将号码迁移到扩展属性中。然后希望稍后有大量用户登录并且可以将 phone 号码收集到新租户中。