cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dmcdivitt
Resolver I
Resolver I

Can I use a local or on-site SQL Server for PowerApps data?

We have a vast number of Microsoft SQL Servers at our organization, but they are all of course behind a firewall. How can PowerApps reach these if an app runs from the cloud?

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @dmcdivitt,

Do you want to use On-premise SQL Table as data source of your app?

 

If you want to access On-premise SQL table from your app, you must firstly install an On-premise data gateway within your computer. More details about installing a On-premise data gateway within your computer, please check the following article:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/gateway-reference

 

In addition, more details about connecting SQL Server from PowerApps, please check the following article:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/connections/connection-azure-sqldatabas...

 

Please also check and see if the following video would help in your scenario:

https://www.youtube.com/watch?v=uqx_h4Ym8ng

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
timl
Super User
Super User

Hi @dmcdivitt

You can access internal SQL Servers by installing the on-premises data gateway. Here is a link to more information.

https://powerapps.microsoft.com/en-us/blog/connect-to-your-on-premises-data-sources-using-on-premise...

 

v-xida-msft
Community Support
Community Support

Hi @dmcdivitt,

Do you want to use On-premise SQL Table as data source of your app?

 

If you want to access On-premise SQL table from your app, you must firstly install an On-premise data gateway within your computer. More details about installing a On-premise data gateway within your computer, please check the following article:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/gateway-reference

 

In addition, more details about connecting SQL Server from PowerApps, please check the following article:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/connections/connection-azure-sqldatabas...

 

Please also check and see if the following video would help in your scenario:

https://www.youtube.com/watch?v=uqx_h4Ym8ng

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,518)