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 / Microsoft Identity Pro...
Power Pages
Unanswered

Microsoft Identity Provider throws Access Denied

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

When configuring external identities, the Microsoft one (i.e. for using personal accounts), for a portal, fails to work with a generic "Unable to authenticate with the external account provider.". The URL offers a slightly better hint: `Account/Login/ExternalLoginCallback?ReturnUrl=%2F&Provider=Microsoft&error=access_denied`.

 

Any thoughts on how to diagnose/debug this?

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

    Hi @anze , 

     

    In the authentication settings > make sure you have enabled the "External Login" and "Open registration" Turned on. 

     

    The screenshot below for your reference. 

     

    ragavanrajan_0-1635051695492.png

    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
    on at

    Hi there, any luck with this? Pretty sure I've got the steps right but I'm getting the same error was well when trying to sign in with Microsoft

     

  • anze Profile Picture
    Microsoft Employee on at

    Yeah, for us, the problem was in the redirect URI which was incorrect. 

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
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard