How to force password reset when password expires - B2C custom policy

Ofer Elyakim 0 Reputation points
2023-05-04T22:16:57.75+00:00

I have a custom policy (Azure B2C tenant) and I would like to force password reset on first login. I set preconditions in step 5 of my journey but it never gets there and show a message on the sign-in window that password has expired after step 1. how can I override it or check for expired password in my custom policy?

Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-05-10T00:03:45.8466667+00:00

    Hi @Ofer Elyakim , I believe that this sample would be useful for you. It details how you can accomplish this. If you're still having issues integrating it with your existing code, please share your code so I can look at it. Let me know if you have any questions!

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

    Thank you,

    James

    0 comments No comments

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.