cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dBrand
Helper III
Helper III

Unable to get token to authenticate

I am getting a {"error":"invalid_request"} when trying to issue an HTTP api call using the HTTP action. Not sure where to turn at this point. It does work in Postman, but not in Power Automate. Any help would be greatly appreciated. Thanks!

 

dBrand_0-1632514712771.png

It returns:

RAW INPUT:

{
"uri": "https://auth.xxxxxx.com/connect/token",
"method": "POST",
"body": "grant_type=client_credentials&client_id=xxx&client_secret=xxx&scope=GO.Api.full_access"
}


RAW OUTPUT:

{
"statusCode": 400,
"headers": {
"Pragma": "no-cache",
"ServerID": "01",
"Cache-Control": "no-store, no-cache, max-age=0",
"Date": "Fri, 24 Sep 2021 20:06:23 GMT",
"Server": "Microsoft-IIS/10.0",
"X-Powered-By": "ASP.NET",
"Content-Length": "27",
"Content-Type": "application/json; charset=UTF-8"
},
"body": {
"error": "invalid_request"
}
}

 

 

 

0 REPLIES 0

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Microsoft Ignite 768x460.png

Find your focus

Explore the latest tools,training sessions,technical expertise, networking and more.

Users online (2,880)