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
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
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.