Hey all,
I've configured my Power Apps portal to use Azure B2C for external authentication. Everything works great except for this one piece. When a user resets their password they are redirected to .../Account/Login/ExternalAuthenticationFailed with this error:
If they click "Sign in" and use their newly reset password, they authenticate correctly. What that means is that the password reset flow is resetting their password correctly, but just redirecting the user to an error page. How can I change this user experience?
Note: I set up the Azure AD B2C using the wizard at make.preview.powerapps.com so I haven't manually configured any settings.
Solved! Go to Solution.
I am glad it worked
@justinburch would you be able to let the product team aware of this possible issue?
Power Apps Portals Super User
Hi @FlowHawk,
If you haven't already, I would definitely recommend submitting a ticket to Microsoft so this can be appropriately tracked and investigated. I'm not sure if anyone from the product team browses this community, but I think that's their preferred method of identifying issues so that they know who the point of contact is.
Glad to see you got a workaround, though!
ok two things on this:
@gdavenport glad it got you through it! It's definitely a difficult journey to take on. After Oliver helped me through this issue I made a youtube video so that I wouldn't forget the whole process I went through: Leverage Azure B2C for Authentication in Power Apps Portal - YouTube
If you get stuck again, it might be of help.
Hi Oliver,
How about the case when the AAD app is configured to be used in Authorization Code Flow with PKCE ? This is my case, I can't enable any checkboxes as here:
Whats the solution in this case? I get the same redirect to error page after password reset.
Thanx
Hi @bechespuiaovi ,
i think pkce is not supported in portals. Had the same issue a while ago and we had to switch the challenge off for the application registered for portals (was not ad, but another provider).
See here for the doc: https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/configure-openid-provider
Sorry for the disappointing answer,
Christian
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |