Hi @AmanpreetSingh-MSFT ,
I need a different solution for point 1 i.e.
*> 1- How can we customize our existing login policy (build in user flow) for sign in to identify old users and redirect them to Auth app signup screen.
In order to identify whether the user is new or old, you can configure the user flow with "User is new" Application Claim, which is returned as "newUser": true claim in the token, if the user has just signed-up for your application. For subsequent sign-ins by that user, this claim will not be returned. As of now built-in user flows support Azure MFA with text message based 2nd factor only. Here is an active feedback link for adding Authenticator support with B2C user flows.*
In my case, there are alot of users that are already present in AD B2C user store and are currently logging in to system. Now that we are trying to setup MFA, we want to identify any user that was created already without MFA setup (might have logged in several times already) during login and then take that user to register Authenticator APP screen so that this existing user can also user MFA from next session. Currently what happens is that, when we try to login with existing users. The login screen gives error "Invalid username or password" and doesnot proceed from there.
I am assuming that the custom claim "strongAuthenticationAppCode" is not present for such existing users and that might be causing this invalid username and password issue (not sure, so please share your thoughts on this too).
Therefore, what I would need is to identify and extract the special claim that will tell me if the currently logging in user is MFA enable already or not. Please help me in implementing this in custom policy.