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 Automate / Oauth 2.0 using AAD in...
Power Automate
Unanswered

Oauth 2.0 using AAD in Custom Connector does not authenticate a Office365 user.

(0) ShareShare
ReportReport
Posted on by

I have a custom connector with Authentication Type - Azure Active Directory configured as below :

 

CC.jpg

 

Here, I have entered ClientID and ClientSecret from the App registration and Resource URL -https://management.core.windows.net/

 

When I am authenticating an user with my organization directory from both the tenant it is working (i.e. authenticating). But when I am trying to authenticate against the Office 365 user I am getting AADSTS650057 error below.

Error1.jpg

Please help and suggest to resolve this issue.

 

 

Categories:
  • AndiRodi Profile Picture
    133 on at

    i have the same problem. did you solve it?

     

    thanks

    Andi

  • rgldude Profile Picture
    4 on at

    I have the same issue using HTTP request and no response from Microsoft on how to fix. The original message has been in here for five months without a response, come on we need a solution for this issue. 

  • AndiRodi Profile Picture
    133 on at

    did you set the scope value as https://graph.microsoft.com/.default?

  • rgldude Profile Picture
    4 on at

    The link you gave has an error. 

    {"error":{"code":"BadRequest","message":"Invalid version.","innerError":{"date":"2021-08-11T14:55:32","request-id":"370f9b5b-df99-40ec-8318-8c1436454f5f","client-request-id":"370f9b5b-df99-40ec-8318-8c1436454f5f"}}}

     

  • AndiRodi Profile Picture
    133 on at

    try without /.defaults

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 271

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard