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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
coneslager
New Member

When is gateway needed?

From what I was reading, if you have a public datasource then the gateway is not needed.   I am pulling database from a sql server that is hosted on a vm in azure and it is not behind my firewall.  When I try to refersh the dataset, I get the "gateway is not configured" message.  Is sql server always assumed to be a private connection and need a gateway.

 

 

 

 

3 REPLIES 3
ashishrj
Power Participant
Power Participant

@coneslager Gateway is required for on-prem data sources like flat files, on-prem databases and not for online data sources. Even SQL Server hosted in Azure VM does not require gateway. I have few reports getting data from Azure VM and refresh works fine without any gateway installed. 

That is my understanding of how it should work which is why I was surprised when I did a refresh on the dataset and got the personal gateway configuration message.

 

On your azure vm, is you firewall wide open?  Did you make any configuration changes?

 

Just to clarify, you are on a windows vm running sql server, not azure sql which is public.

What options or configurations did you set to get your Azure VM with SQL database to refresh without using a gateway?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.