Showing results for 
Search instead for 
Did you mean: 
Level: Power Up

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?



Level: Power Up

Re: Authentication in Http Action in Flow

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

Level: Powered On

Re: Authentication in Http Action in Flow

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. 




PowerApps Staff Samuel
PowerApps Staff

Re: Authentication in Http Action in Flow

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.

Level: Powered On

Re: Authentication in Http Action in Flow

Thanks alot  Samuel for share this kind of info.



Helpful resources


PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.


Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.


Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Power Platform World Tour

Coming to a city near you


PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Join PowerApps User Group!!

Connect, share, and learn with your peers year-round


Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 524 members 4,732 guests
Please welcome our newest community members: