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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Unable to authenticate...
Power Pages
Unanswered

Unable to authenticate with the external account provider" error in Power Pages Microsoft login

(0) ShareShare
ReportReport
Posted on by 15

Hi everyone,

I'm trying to configure Microsoft authentication (using Microsoft Entra ID) in Power Pages by following this guide: [https://learn.microsoft.com/en-us/power-pages/security/authentication/oauth2-microsoft]

Here’s what I’ve done so far:

  1. Enabled authentication in my Power Pages site via Power Pages Studio (Security > Identity Providers > Authentication settings).
  2. Registered the site as an app in Microsoft Entra ID (Azure portal):
    • Added the correct redirect URI: https://[yoursite].powerappsportals.com/signin-microsoft
    • Created a client secret and saved both the Client ID and secret.
  3. Went back to Power Pages > Identity Providers > Configured Microsoft with the Client ID and Secret.
  4. Clicked "Sync" and then tried signing in from the portal.
 

 Issue:
        When I click the Sign in button on the portal and select Microsoft, I get the following error message:

             "Unable to authenticate with the external account provider."

I'm not sure what’s going wrong. I’ve double-checked the redirect URI and client credentials. My site is still in preview (not live) could that be a factor?

Has anyone else faced this issue, or can guide me on how to troubleshoot it?

Thanks in advance for any help!

Categories:
I have the same question (2)
  • AlbertoCastro Profile Picture
    1,201 Most Valuable Professional on at
    Hi!
    Can you ensure the app registration includes Microsoft Graph delegated permissions like openid, profile, and User.Read.
     
    You might need to grant admin consent for these in the Azure portal.
     
     
  • AD-07010429-0 Profile Picture
    15 on at
    Yes, I've already granted the required Microsoft Graph delegated permissions, including openid, profile, and User.Read. Admin consent has also been provided in the Azure portal.
     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 74 Super User 2025 Season 2

#2
Jerry-IN Profile Picture

Jerry-IN 55

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard