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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / PowerApps Portal - Loc...
Power Pages
Answered

PowerApps Portal - Local Login (Authentication)

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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!!

Categories:
I have the same question (0)
  • Verified answer
    ragavanrajan Profile Picture
    7,044 Most Valuable Professional on at

    Hi @Anonymous 

     

    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.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    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!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
DP_Prabh Profile Picture

DP_Prabh 51

#2
rezarizvii Profile Picture

rezarizvii 35

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 29 Most Valuable Professional

Last 30 days Overall leaderboard