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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
NicholasA
New Member

How to connect Power BI to an SQL Server running on a private Azure VM

I'm trying to connect Power BI to a SQL Server that is on an Azure VM that has no public IP. The The current idea would be to have one vnet on Azure for the Power BI Gateway which is installed on its own Azure VM and another vnet that holds the Azure VM with the SQL Server. For security reasons the SQL Server is on an Azure VM without a public IP, just the private IP, so that the SQL Server cannot be accessed from the outside. However, Power BI still needs to be able to access it to generate reports.

 

Using Power BI Gateway, how can I get Power BI to be able to utilize the SQL Server (on an Azure VM) which is in a different vnet?

1 REPLY 1
Martin_D
Solution Sage
Solution Sage

Hi @NicholasA ,

 

Somehow the gateway and the SQL-Server must be able to communicate. Using 2 NICs on the gateway VM, adding them to two different subnets of the gateway vnet and linking the two vnets (gateway & SQL-Server) in a network group would be an option that might allow to statisfy your security needs.

 

https://learn.microsoft.com/en-us/azure/virtual-machines/windows/multiple-nics#:~:text=A%20common%20....

 

BR

Martin

github.pnglinkedin.png

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.