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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Data-Crunch
Frequent Visitor

Azure SQL Connection on Gateway cannot be used

Hi community

I have a report for which I connected to Azure SQL in Power BI Desktop and I was able to authenticate normally using Basic Credentials while being in the VPN (Due to firewall settings). Upon upload to the service, for some reason, even though it is a Azure Instance, it wants me to create a "normal" SQL Connection in the Enterprise Gateway. The connection then, obviously, fails. If I create a new connection from scratch for Azure SQL Managed Instance, it connects just fine, however, I cannot point the semntic model to use that connection for the refresh...

 

DataCrunch_2-1728492528515.png

Managed Instance works fine, but cannot be used then in the semantic model

DataCrunch_3-1728492584479.png

 

Adding a new connection directly from the semantic model will try to create an SQL Connection instead:

DataCrunch_4-1728492595376.png

What is happening here? Anyone came across the same issue? Am I missing something?

Thanks for the help!

 

1 ACCEPTED SOLUTION
Data-Crunch
Frequent Visitor

Hi @blopez11
Thanks for the help, I figured out what the problem was! The port which I had added at the end of the string (not visible in the screenshots since I blacked it out, sorry!) seemed like it provoked that behaviour. So note to self: Azure SQL in the Gateway with Port does not seem to work, at least it does have problems recognizinig it as such...
Without the port I can add the cloud connection and use it just fine.

View solution in original post

4 REPLIES 4
Data-Crunch
Frequent Visitor

Hi @blopez11
Thanks for the help, I figured out what the problem was! The port which I had added at the end of the string (not visible in the screenshots since I blacked it out, sorry!) seemed like it provoked that behaviour. So note to self: Azure SQL in the Gateway with Port does not seem to work, at least it does have problems recognizinig it as such...
Without the port I can add the cloud connection and use it just fine.

Data-Crunch
Frequent Visitor

Hi @blopez11 Thanks for the reply, no unfortunately it only shows the other connection, which is indeed a cloud connection but not a SQL Instance on Azure:

DataCrunch_0-1728494373601.png

 

In the "Gateway and cloud connections" section, maybe toggle the "Use an On-premises or VNet data gateway"  button to Off.  If not, can you send a screenshot of the whole "Gateway and cloud connections" section?

blopez11
Super User
Super User

The first screenshot is cut off.  So you do not have the option to create a cloud connection in the model settings?

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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