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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Incipient
Helper I
Helper I

PowerBI Service+Gateway with HTTPS SQL Server

I'm using a remote SQL Server data source over HTTPS (accessible to the internet) using a database account. However when trying to connect to it for refresh via the gateway, it only offers basic/windows/oauth options - no database credentials.

 

This is going via an on prem gateway that has access to the server - the powerbi service also has access, as it's open to the internet.

 

Does anyone have any experience with making this work?

 

Incipient_0-1643857510275.png

 

1 ACCEPTED SOLUTION

Ok. That's good. Now that we have cover that, be sure to rewrite the name of the instance. Try with "," comma instead of ":" or even without the port. There is something in the way it's written now that PowerBi doesn't like.

Regards,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

View solution in original post

6 REPLIES 6
ibarrau
Super User
Super User

Hi. The Basic option is the one for database credentials. Then the other two are windows and AD or Azure AD.

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Thanks for the reply on this.

 

Using basic throws the below error:

Incipient_0-1644312286650.png

 

It works perfectly fine from PowerBI Desktop so the SQL Server is clearly there and working fine. PowerBI Desktop is remote (over the internet) from the SQL Server.

 

You might need IT assistance if you are not the owner of the db. It looks like there is an issue with the database or network because Power Bi Service can't establish connection. Is the gateway in the same machine than the one you are using for Power Bi Desktop?

Even if you can from desktop, ask them if there is any configuration in the database blocking remote connections. Then consider the network and ports in the machine that contains the gateway. Is it blocking IP addresses or something like that? 

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

I am the owner of the db, so can make any changes we need. There is no IP blacklist or whitelist on the db/server. The port is the standard 1433. 

 

The gateway and PowerBI Desktop are running on the same machine. PBI Desktop can connect fine to the db, the gateway/service gives me the above error.

Ok. That's good. Now that we have cover that, be sure to rewrite the name of the instance. Try with "," comma instead of ":" or even without the port. There is something in the way it's written now that PowerBi doesn't like.

Regards,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Oh yes, the PowerBI Service cannot handle "host:port" connections! How very strage. Thank you for the help 🙂 

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.