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 / Http request failed as...
Power Automate
Unanswered

Http request failed as there is an error getting AD OAuth token

(0) ShareShare
ReportReport
Posted on by 3

Hello,

 

I Am trying to create a Power Automate to fetch data from D365 Finance and Operations. I am trying to use the oData REST API.

 

Here is my configuration of the HTTP step;

ge02dY3zdB.jpg

 

I have registered an app with the proper permissions, i have seen it work in other apps already. 

I'm not sure what Audience means here, so I have just entered the client secret.  

When i run this i get this error;

 

5lEY75L1x6.jpg

 

I have also tried running it with https://erp.dynamics.com/Connector.FullAccess as the Authority, but then i get the error;


UnresolvableHostName. Http request failed with status code 'NameResolutionFailure' and status message: 'The remote name could not be resolved: 'erp.dynamics.com''. 

 

So i'm not sure what else i can try to get the authentication working, any ideas would be greatly appreciated!

Categories:

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 298 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard