cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kkarikar
Regular Visitor

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.

View solution in original post

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
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Users online (1,794)