cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Zel
Level: Power Up

Powerapps connections using SQL Server through a VPN network

Hi there, 

 

We are busy trying out the power platform. My client has a request that on certain triggers in D365 we post data to their database. However, to connect to their database, you have to connect to a VPN first. 

 

So our plan is to generate business events and expose that to the power platform. 

Now we have to create a connection to the client's database, but that needs to go through a VPN network. 

 

Is there a way to do this through powerapps and or flow? 

 

 

2 REPLIES 2
Dual Super User
Dual Super User

Re: Powerapps connections using SQL Server through a VPN network

I don't think either Power Apps or Automate will be able to do this for you.  To connect to an on-premises SQL server requires an on-premises data gateway.  The data gateway uses an Azure message bus to communicate with Power Apps or Automate to receive queries and return results.  I don't see any way to force that communication through a VPN connection. So I don't think its possible.

 

If your connecting to an Azure SQL server then I think you could potentially do a VPN, but I don't see how you could instantiate it on demand.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
D365Kevro
Level: Power Up

Re: Powerapps connections using SQL Server through a VPN network

Hi there, 

 

In short, I came to the solution. As you stated, a gateway is the answer. 

 

If you install a default gateway on the SQL server where the Database lies, you can connect on the power platform using that gateway. So then the VPN is not necessary. 

 

Helpful resources

Announcements
thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Kudoed Authors (Last 30 Days)
Users online (5,485)