Azure-Samples / active-directory-b2c-custom-policy-starterpack

Azure AD B2C now allows uploading of a Custom Policy which allows full control and customization of the Identity Experience Framework
http://aka.ms/aadb2ccustom
MIT License
326 stars 386 forks source link

2FA flow with new azure portal experience #114

Open ivi-hamiti opened 2 years ago

ivi-hamiti commented 2 years ago

Azure portal has introduced the new authentication methods experience which makes it also possible for the authentication methods to be queried through MS Graph Api. As far as i can understand the value of the phone number is persisted in different places for the two experiences but we noticed there is a sync mechanism between these two.

Old page image

New page image

We are using a custom policy and using 2FA and we need to switch to the new experience as it offers us the possibility to update the phone number via the MS Graph Api. In this case should we change the custom policy to use new claims? If so, what should be the approach as there are no examples for this.