web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Azure AD B2C after pas...
Power Pages
Unanswered

Azure AD B2C after password reset I get redirected to portal error page

(0) ShareShare
ReportReport
Posted on by 2

Hi everyone, I am trying to fix an issue I am facing where whenever a portal user resets their password, they get redirected to a portal error page.

Our PowerApps portals instance is using Azure AD B2C as an authentication provider. The Sign up/Sign in seems to be working fine, but we are having an issue with the password reset functionality. We are using a B2C user flow to manage the password reset. The password reset policy does seem to be working as users are able to reset their passwords successfully. However, after they reset the password they get directed back to a portal error page.

I have checked the Authentication/OpenIdConnect/tnibizhubB2C/ValidIssuers Site setting and it does match the user flow config.

 

Below are the steps that the users are taking:

1. click forgot password

2. enter email and receive verification code

3. submit verification code

4. enter new password

5. this directs me to the error page

 

My theory for this issue is that it is trying to log me into portal with my old password and not the new one, but I'm not sure if this is correct or even how to go about fixing it.

 

Any advice would be great,

Thanks

Categories:
I have the same question (0)
  • alrezac Profile Picture
    on at

    Hi,

     

    My guess is that you have some cached information on your old account in your browser. If you try logging in using InPrivate/Incognito mode do you have the same issue? If you don't, you should be able to just clear your cookies/cache and you should be good to go.

     

    Regards,

     

    Alex

     

    -------

     

    Community Support Team _ Alex Rezac
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • NiallBraniff Profile Picture
    2 on at

    Hi Alex,

    Same issue occurs whenever I clear my cookies and use incognito mode. The user still gets sent back to the error page. I have started looking into changing where the password reset redirects you, in case I can have it bring you to the sign up/ sign in page on azure ad b2c, but sadly I don't think it is possible.

  • Bryant Boyer Profile Picture
    106 on at

    Hey @NiallBraniff did you solve this problem? I'm facing the same issue in my portal with password reset flow in Azure B2C.

  • oliver.rodrigues Profile Picture
    9,368 Most Valuable Professional on at

    Hi @FlowHawk 

    I worked separately with Niall on this one.. The issue here was due to a custom policy that was injecting the wrong URL when the user was resetting the password.

    Would you have similar scenario in your case?

  • Bryant Boyer Profile Picture
    106 on at

    My user flows are standard out of the box. I've posted my issue in a new thread. Thanks for hopping in to help me there Oliver! Password Reset Redirects to "Sign In Failed" page - Power Platform Community (microsoft.com)

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard