Showing results for 
Search instead for 
Did you mean: 
New Member

Authentication in Http Action in Flow

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?



New Member

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.....

Helper I
Helper I

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. 




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.

Thanks alot  Samuel for share this kind of info.



Helpful resources

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.


Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (7,956)