active-directory - 我希望迁移 adb2c,但旧广告使用由 userflow 实现的 mfa。如何获得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
如果电话号码已经在 B2C strongAuth 属性中,并且您想移动到新的 B2C 租户,则不能公开这些号码。您可以使用自定义策略在用户下次登录时将号码迁移到扩展属性中。然后希望稍后有大量用户登录,并且可以将电话号码收集到新租户中。
推荐阅读
- java - org.springframework.web.reactive.function.UnsupportedMediaTypeException:不支持内容类型'application/json;charset=UTF-8'
- hyperledger-fabric - Hyperledger composer 网络升级超时错误
- ios - 面临在 xamarin.forms 中为 IOS 自定义选项卡式页面的问题
- angular - 如何始终以角度 5 显示窗口的模态弹出中心
- javascript - 是否可以在javascript中对数字使用字符串函数?
- android - 如何单击 Spinner 中的更多项目并突出显示它?
- python - django.db.models.fields.Field.name 参数的目的
- angular - 无法使用 ngx-cookie-service 删除 cookie
- eclipse - 导出的 Eclipse 首选项包含 \!/=
- maven - WebApp 中的 Maven 插件和部署