title: Azure Active Directory B2C: Use conditional User Flow for Sign In based on Application Claim
body: <p>When a user signs in, is it possible to let Azure Active Directory B2C pick the User Flow to use for Sign-In based on an Application Claim?</p>
  <p>The behavior i am trying to create is, that the user enters his e-mail and ADB2C then routes to one of the available policies based on an application claim the user enters during sign-up.</p>
  <p>This should allow us to have Multi-Factor-Authentication activated (or deactivated) on a User-Level. Currently you can only activate or deactivate <a href="https://docs.microsoft.com/en-us/azure/active-directory-b2c/multi-factor-authentication?pivots=b2c-user-flow" rel="nofollow noreferrer">MFA on a User Flow-Level</a>, so my idea would be to have 2 User Flows, one with MFA activated and one without MFA and then use the respective User Flow based on a criteria of the user (e.g. Application Claim). It would be even better to have a Hook decide which User Flow to user but afaik this is not possible at the moment.</p>
  <p>I know i can use <a href="https://www.kallemarjokorpi.fi/blog/azure-b2c-custom-mfa-implementation.html" rel="nofollow noreferrer">Custom Policies</a> to customize the login flow but this seems to be a quite painful experience so i try to stick with User flows as much as possible.</p>