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 Automate / OAuth 2 sign in failed...
Power Automate
Unanswered

OAuth 2 sign in failed to exchange code for access token

(1) ShareShare
ReportReport
Posted on by 2

Dears,

 

I'm creating a custom connector to work with Orchestrator from PA but I cannot authenticate from PA.

 

Orchestrator is an on-premise instance.

 

The connector works in Postman only and if I try to authenticate I get the below error:

 

 

OAuth 2 sign in failed to exchange code for access token. Client ID and secret sent in form body.. Response status code=InternalServerError. Response body: { "statusCode": 500, "message": "Internal server error", "activityId": "008f4909-c122-4ddb-9399-88d59ec9b6b6" } Client ID and secret sent in Basic authorization header.. Response status code=InternalServerError. Response body: { "statusCode": 500, "message": "Internal server error", "activityId": "5f944917-f1e1-4504-a101-9f6323677ed6" } '. Please sign in again.

 

Categories:
I have the same question (0)

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard