web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Cloud Flow/Power Automate; how to make a proper HTTP request to Web API

(0) ShareShare
ReportReport
Posted on by 25

Hello everyone,

I'm trying to get an HTTP request to the API of the environment I'm working in from a Cloud Flow. I can't figure out how to get the Authentication bit right. I'm fairly sure that I need to use the OAuth option. Does anyone know how to get the correct data to fill in the Tenant, Audience, Client ID, Credential Type and Secret fields? Any help is appreciated. Thanks! 

pastedimage1645565556689v1.png

Can I use a cookie or credentials from the current Cloud Flow session or something?


Best regards,
- Alex.

I have the same question (0)
  • Verified answer
    Bipin D365 Profile Picture
    28,983 Moderator on at
    RE: Cloud Flow/Power Automate; how to make a proper HTTP request to Web API

    Hi,

    You have two options -

    Option -1 Use Access Token to connect to CRM to execute web api using Client Cred flow

    xrmdynamicscrm.wordpress.com/.../

    Option - 2 Use Invoke an HTTP request which does not require you to specify auth token

    5238.CR49.PNG

    This will be executed under the user who has created the connection.

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • akersk Profile Picture
    25 on at
    RE: Cloud Flow/Power Automate; how to make a proper HTTP request to Web API

    Hi Bipin,

    Thanks for your reply! I don't have the Invoke an HTTP request option. This option would be great though. The closest thing I have, is the HTTP with Azure AD option. I can't use variables for URL and URI.

    pastedimage1645628735651v1.png

    This option doesn't do what I want. I'm going to have a look at the first option you mention, and will get back with results. Thanks again.

    Best regards,
    - Alex.

  • akersk Profile Picture
    25 on at
    RE: Cloud Flow/Power Automate; how to make a proper HTTP request to Web API

    Yep, it works Bipin, thanks again!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 235

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 175

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 156 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans