cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mangalam
New Member

Use PowerApps to connect to SQL server for data and a Python script

Is it possible to build the following functionalities in a PowerApp:

1) the end-user can click a button to load the current set of data from a SQL database into a python script

2) Click a button that runs some functions on that data in the python script

3) Obtain those results on PowerApp

 

Thanks!

1 REPLY 1
PaulD1
Super User
Super User

You won't be able to run the Python script in the PowerApp. PowerApps is a 'forms' technology with limited on-device processing and no support for other languages.

I believe you could use PowerApps to trigger a Flow that calls an Azure Function which could pull the data from SQL and run a Python script and then return the results to the PowerApps.

Note though that to trigger an Azure Function you would generally do so via an http call and these are now classed as premium so you'd have to pay $10 per user per app per month to do this.

Given that in this model your processing would all be on the cloud rather than on the device you may want to choose something without the licensing limitations of PowerApps for displaying the results.

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,084)