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 Apps / Authentication in Http...
Power Apps
Unanswered

Authentication in Http Action in Flow

(0) ShareShare
ReportReport
Posted on by 2

Has anyone tried invoking web services or REST api calls from Microsoft Flow?

 

I'm particularly curious whether we can invoke any REST api or Web Service...

In a test application, I tried to have an Http action invoking SharePoint List Item update using REST url, but unable to figure out how to get or pass the access token or specify a connection (as I would normally do on a Create List Item action)...

What & how to pass data in the Authentication box?

 

 

Categories:
I have the same question (0)
  • aj Profile Picture
    2 on at

    Has nobody tried this? Or did I ask a really stupid question? Smiley Happy

     

    I did try few things yesterday. Looks like the Authentication box needs JSON input with the type specified (Basic, ActiveDirectoryOAuth, Raw etc.). Tried to using ADOAuth (on a SharePoint Update List Item Rest API), it requires tenant, audience, ClientID, Client Secret information etc.Since, I was creating a flow app and not really registering anything with SharePoint, I wasn't sure where to generate and use the Client Secret. Couldn't figure out how to pass the username and password in the right format.....

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I tried http action for http end point and its work fine without any issue.but in https end point its generate error and set respone as BadRequest.I think http action support only http end point. 

     

    Thanks,

    satyam

  • Samuel Profile Picture
    Microsoft Employee on at

    Https works for the Http action card, but it may require that the https endpoint is serving an SSL cert that matches the hostname. As you noticed originally, the authentication body can be filled out manually (this part is identical to the LogicApps APIs), but that's mostly useful for HTTP Basic Auth or AAD-backed authorization for an orgId or application service principal. I don't believe any of those kinds of auth can be used to call Sharepoints APIs, for those you should use the sharepoint service. 

     

    If you have other endpoints to call that need more complicated auth, you can create a "custom api" in PowerApps or Flow portals, which supports many different kinds of auth flows for different identity providers.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks alot  Samuel for share this kind of info.

     

     

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard