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 LogIn Unable...
Power Pages
Unanswered

Microsoft LogIn Unable to authenticate with external account provider.

(0) ShareShare
ReportReport
Posted on by

Hello,

I'm configuring a Microsoft APP to do the authentification process with Microsoft accounts for my Power Portal.

I don't allow to register new users, i only want to let in the customers that have email or microsoft account in my CRM.

 

I already follow the Microsoft documentation:

1. I've created the microsoft app, and the secret id.

2. I've chained the two platforms throught redirection URL, Client id and Secret id.

3. I set permisions like that:

RubnP_0-1655386660993.png

I have a google authentification option too and it's working.

But when i try to log in throught my Microsoft option: 

1.

RubnP_1-1655386767390.png

2.

RubnP_2-1655386789978.png

I can Log in, but when my first page after that:

3.

RubnP_3-1655386853266.png

"

Unable to authenticate with external account provider.

"

Anyone can help me?

 

Thank You!

 

pd: I have the option for external Log in.

RubnP_4-1655386982398.png

 

 

 

 

 

Categories:
I have the same question (0)
  • Christian Leverenz Profile Picture
    1,214 on at

    @Anonymous ,

    basically, users in portals/power pages are contacts. So, for each "login" there has to be a contact. Roles with the tablepermissions are set and assigned to a contact.

    When using external authentication, another table is filled, which relates the external id with the conact. I think, the name of the table is somethinfg like external Identities. Its a 1-n relation from thecontacts and can be seen from there. For each external login, there has to be an entry in that table with a lookup to the contact (ok, obvious), the id od the external provider, usually something like https://account.microsoft.com/<tenantid> or so. And the userid in the foreign system. Usally (but can be anything) a guid sent along with the token. Not sure, which claim is used from the token, i forget this always 🙂

    And the contact has to be portal enabled.

    When all theses conditions are met, the external authentication will select the correct contact.

     

    Usually, when signing up with an external identity, the contact can be generated and directly linked to the external provider.

     

    A lot of text, sorry for that.

    Hope it helps,

      Christian

  • Steve0 Profile Picture
    Microsoft Employee on at

    I am getting the same thing, did you solve this?

  • Jcook Profile Picture
    7,781 Most Valuable Professional on at

    @Anonymous @Steve0 ,

     

    Docs are wrong, you dont copy the ID you copy the Secret value.

     

    Create a new secret and copy the value (the one that is hidden after you leave leave the page)

    Jcook_0-1695420215964.png

     

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 70 Super User 2025 Season 2

#2
Jerry-IN Profile Picture

Jerry-IN 55

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard