cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Arpit
Level: Powered On

Consume REST API in PowerApps form ?

I am trying to create form where I would like to make a call to SharePoint REST Api.

 

I am following this article to use Azure Function to make REST Call.

https://powerapps.microsoft.com/en-us/blog/using-azure-functions-in-powerapps/

 

By following above link. I am able to upload the swagger file as a custom API  in Power Apps. But, I when I try to call any

of the function from swagger file then it doesn't work.

 

I am getting following error.

RESTError.png

Is there any example which makes SharePoint REST API call to List and retrieve data ?

2 REPLIES 2
Community Support Team
Community Support Team

Re: Consume REST API in PowerApps form ?

Hi @Arpit,

 

What is the result with only:

MyAzureFunction1.RunThis1()

specified with the Text property?

In addition, would you please share the detailed error message here, what is the HTTP error?

 

There is SharePoint connection available under PowerApps:

Connect from Microsoft PowerApps to SharePoint

Currently only SharePoint list could be connected within PowerApps, for the SharePoint Library, we could take use of Custom API, but there is no corresponding Example or guide that we could follow.

Regards

 

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Arpit
Level: Powered On

Re: Consume REST API in PowerApps form ?

Hello v-micsh-msft,

 

Thanks for the reply.

 

Well, I am not getting any additional detailed error. I am only getting the HTTP error which I have uploaded in the previous post.

 

I have tried following statement also.

 

MyAzureFunction1.RunThis1()

 

But, it didn't work. Can you please provide the DETAILED guidence on how I can create Java Script Azure Function and Connect it in PowerApps.

 

Thanks,

Arpit

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,796)