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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

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.