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?

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
14,662 questions
{count} votes

1 answer

Sort by: Most helpful
  1. James Hamil 14,111 Reputation points Microsoft Employee
    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