cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kkarikar
Helper I
Helper I

PowerApps Portal - Local Login (Authentication)

Hello everyone,

 

Local sign in has been configured in my portal app. The problem I am facing is if a Contact is already registered and they use their correct credentials later on to sign into the portal again, the portal doesn't recognize the existing contact and errors out. 

Registration works as expected but local login (sign in button) errors out with incorrect username or password.   

Is there a workflow that's been called when the user clicks on sign in? I'm completely lost and haven't found anything useful online. This login piece was already implemented by someone else with this bug mentioned above and this is the first time I am working on the authentication piece for a portal app and need to know a way to debug this. 

 

If you could direct me towards an area, process or a workflow to look for implementation errors, that would be great! 
Thank you so much in advance!!

1 ACCEPTED SOLUTION

Accepted Solutions
ragavanrajan
Super User
Super User

Hi @kkarikar 

 

Welcome to the community. FYI. Local login will be deprecated. Reference below 

https://www.engineeredcode.com/blog/power-apps-portals-authentication-overview  

 

Please try to use Azure AD B2C or Azure B2B or any other identity provider.  Microsoft preferred way is to use Azure B2C 

https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/migrate-identity-providers 

 

For your error could you check with the users did they have already signin with Azure AD or any other identity provider? if they did then you can expect errors while logging in. 

 

Hope it helps. 
------------

If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.

View solution in original post

2 REPLIES 2
ragavanrajan
Super User
Super User

Hi @kkarikar 

 

Welcome to the community. FYI. Local login will be deprecated. Reference below 

https://www.engineeredcode.com/blog/power-apps-portals-authentication-overview  

 

Please try to use Azure AD B2C or Azure B2B or any other identity provider.  Microsoft preferred way is to use Azure B2C 

https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/migrate-identity-providers 

 

For your error could you check with the users did they have already signin with Azure AD or any other identity provider? if they did then you can expect errors while logging in. 

 

Hope it helps. 
------------

If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.

Thank you so much @ragavanrajan for such a quick response!! This really helped a lot and yes, they've already signed into Azure AD so, that makes sense!

Helpful resources

Announcements
Welcome Super Users.png

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (2,064)