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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
SPowell42
New Member

Connect Power Bi Desktop to SQL Server on linux vm

Hi all,

 

I'm trying to experiment with Power BI desktop and SQL server, and having issues connecting. Here's the details:

 

1. I'm running SQL Server on a Linux VM on my laptop

2. On the Linux VM, I'm able to run "sqlcmd" and connect to the database with no issues

3. From my laptop "host" laptop, I have no issues connecting to SQL server using SSMS. I choose the IP address of the host, use "SQL Server Authentication", and can log in fine using the "SA" account / password

 

From Power BI desktop, however, I'm not able to connect. When I choose "Get Data" and "SQL Server" as the source, the options I have to connect are "Use my current credentials" which obviosly won't work, (SQL Server on Linux won't know anything about my windows credentials), or "Use alternate credentials".

 

I've tried "Use alternate credentials", and it doesn't like the username / password for either:

1. The linux user account

2. The "SA" SQL server account / password

 

I'm stuck - really wanted to play with getting up to speed with SQL server, analysis services tabular and Power BI, but if I'm not going to be able to connect to the SQL server on the VM I'm stuck. Any ideas?

 

Thanks in advance!

Scott

 

1 REPLY 1
Greg_Deckler
Community Champion
Community Champion

That seems strange, when I connect to a SQL Server, I get the option for Database credentials. Are you sure that you have the proper configuration on your SQL Server to allow database authentication?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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