Forum Discussion
steReply
Dec 12, 2024Copper Contributor
AD B2C - Custom Policies - RaiseErrorIfClaimsPrincipalDoesNotExist in Password Reset journey
Hi, I'm using custom policies in our web app. For the Reset Password, I'm using the standard PasswordReset user journey provided with the local account starter pack. This journey references to <Us...
Kidd_Ip
Dec 12, 2024MVP
Please consider below:
- Add a Validation Technical Profile: Create a validation technical profile that checks if the user exists in your directory.
- Modify the Orchestration Step: Update the orchestration step to include this validation technical profile before sending the OTP.
- steReplyDec 13, 2024Copper Contributor
The first OrchestrationStep of the PasswordReset UserJourney calls a TechnicalProfile that has the RaiseErrorIfClaimsPrincipalDoesNotExist in it. Isn't that enough?
My PasswordReset policy:
The PasswordReset UserJourney:
The LocalAccountDiscoveryUsingEmailAddress TechnicalProfile with RaiseErrorIfClaimsPrincipalDoesNotExist set to true: