Skip to main content
Community site session details

Community site session details

Session Id :
Power Pages - Security
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:
  • AD-07010429-0 Profile Picture
    15 on at
    Unable to authenticate with the external account provider" error in Power Pages Microsoft login
    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.
     
  • AlbertoCastro Profile Picture
    1,188 Most Valuable Professional on at
    Unable to authenticate with the external account provider" error in Power Pages Microsoft login
    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.
     
     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 60 Super User 2025 Season 2

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 2

#3
surya narayanan Profile Picture

surya narayanan 35

Featured topics