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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
db042190
Post Prodigy
Post Prodigy

which option for adding a conn to our azure vm

Hi, we have a gateway.   but i want to add a conn to an azure vm for the fiirt time.   do i need a new gateway?  these are the optiuons im given.  from wht i understand, an azure vm isnt really on prem but should i pick on prem here?

gwwhat.png

   

1 ACCEPTED SOLUTION

For an Azure VM you should still select On-premises when adding it to the gateway.

 

Even though it’s in Azure, the gateway treats it as an on-prem data source. You don’t need a new gateway if you already have one, just make sure it can reach the VM over the network.

 

Only in some cloud-native scenarios you can avoid the gateway, but for typical VM sources like SQL Server or files, you still use the on-premises gateway.

View solution in original post

2 REPLIES 2
v-abhinavmu
Community Support
Community Support

Hi @db042190,

Thanks for reaching out to the Microsoft Fabric Community forum.

 

You don’t need to create a new on-premises gateway. If your Azure VM is hosted within a private VNet, the simpler and more recommended approach is to use the "Virtual network" option. By creating a Virtual Network (VNet) Data Gateway, you can securely connect Microsoft Fabric and Power BI to resources inside your Azure Virtual Network without managing a separate gateway machine. This approach simplifies the setup and is well-suited for Azure-based environments. If your VM is in a private VNet, you can select Virtual network, create the VNet gateway, and use it to connect to your data source. 

 

For more information, please refer to the official documentation below:
What is a virtual network (VNet) data gateway | Microsoft Learn

I hope this information helps. Please do let us know if you have any further queries.
Thank you

For an Azure VM you should still select On-premises when adding it to the gateway.

 

Even though it’s in Azure, the gateway treats it as an on-prem data source. You don’t need a new gateway if you already have one, just make sure it can reach the VM over the network.

 

Only in some cloud-native scenarios you can avoid the gateway, but for typical VM sources like SQL Server or files, you still use the on-premises gateway.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.