Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Can Data Gateway access SQL server on another server

I have a secure server (server1) where SQL server sits. I have another Server (server2) that has public internet access and ports open to SQL server on the secure server. server2 is where I intend to install the data gateway to access SQL Server on server2.

 

My question is how do I 'connect' the DG from server2 to server1? I heard this is doable as previously, I thought the DG only worked on the same server the data sits.

 

Any help would be great. Thanks

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Anonymous 

If both of your servers belong to the same domain, you don't need the gateway run on the same server with the SQL Server.. Install and login a gateway is simple and do not really take any effort, you can install gateway on both server and just login to switch the running gataway depends on your scenarios.

 

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

@Anonymous 

If both of your servers belong to the same domain, you don't need the gateway run on the same server with the SQL Server.. Install and login a gateway is simple and do not really take any effort, you can install gateway on both server and just login to switch the running gataway depends on your scenarios.

 

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Anonymous , Once you use install data gateway, Login to that. You should be able to see the gateway in the power bi service. under admin portal

 

Also if you publish a file from gateway server you should be able check under datasource setting

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hi @amitchandak 

 

Thanks for your reply. So if I publish the data source (using PBI) from the same server the DG is installed, it shouldn't matter where the original data sits?

 

If I hit refresh from app.powerbi, will this in effect, pull the latest data from the secure server, via the server the DG is installed?

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.