Share via

AAD B2C dynamic authentication type based on user type

MB_Dev 20 Reputation points
2023-08-09T20:45:28.0666667+00:00

Hi,

I would like to create a user journey on ADD B2C where the user enters the email address and based on a property on the user account choose an authentication type, (passwordless with email verification or provide password). I have both policies separated and I have no idea how to combine them based on a condition.

Thank you,

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments

Answer accepted by question author

Anonymous
2023-08-11T20:46:26.5433333+00:00

Hi @MB_Dev , you may be able to use sub journeys for this to implement branching.

First, create two sub journeys, one for passwordless with email verification and another for providing a password. Then, in your main user journey, add a branching condition based on the user account property to call the appropriate sub journey.

Here's a high-level outline of the steps:

  1. Create a sub journey for passwordless authentication with email verification.
  2. Create a sub journey for authentication with a password.
  3. In the main user journey, add an orchestration step that checks the user account property.
  4. Based on the property value, call the appropriate sub journey using the Call or Transfer type.

Please let me know if you have any questions and I can help you further.

If this answer helps you please mark "Accept Answer" so other users can reference it.

Thank you,

James

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.