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 / 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 (3)
  • 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

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
rezarizvii Profile Picture

rezarizvii 53

#2
DP_Prabh Profile Picture

DP_Prabh 40

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 28 Most Valuable Professional

Last 30 days Overall leaderboard