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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is 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
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.