What’s happening?
Users (a team) are unable to log in to a Power Page site. They remain stuck on the login page and no credentials allow them to access the site, despite having appropriate web roles assigned and site visibility set to public.
Reason
This is caused by the "Local Authentication Disabled" setting being enabled for the contact records associated with the users attempting to log in.
Resolution:
Note: We recommend you use the Azure AD B2C identity provider for authentication on your Power Pages site and deprecate the local identity provider.
To resolve this, follow these steps:
- Open the relevant Model Driven App.
- Navigate to "Contacts" in the Navigation Pane.
- Look up the contact record associated with the user who is unable to log into the Power Page.
- Ensure the form selected is "Contact" or any form that includes the "Web Authentication" tab.
- Under the "Web Authentication" tab, locate the option "Local Authentication Disabled" and set it to "No".
- Save the contact record.
- Attempt to log into the Power Page again.
These steps ensure that local authentication is enabled for the affected users, allowing them to successfully log in to the Power Page. Additional information on local authentication is available at Local authentication, registration, and other settings | Microsoft Learn.