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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
metecakmak
New Member

Power bi sql connection

Hello,

I'm new on Power bi. I have a code on SQL server and I want to connect Power bi to visualize my codes but my SQL server on a virtual machine (VMware). When I clicked get-data on power bi it requires server name then says server name not found. My server name is correct checked many times. Also, I realized my server name is fully uppercase but after entering the server name power bi shows the server name fully lowercase. 

Do you think it might be a reason? 

3 REPLIES 3
Anonymous
Not applicable

Hi @metecakmak ,

This is an article describes how to connect to your SQL on Azure virtual machine (VM).

More details: Connect to a SQL Server virtual machine on Azure

 

  • The way a client connects to a SQL Server VM differs depending on the location of the client and the networking configuration.

If you provision a SQL Server VM in the Azure portal, you have the option of specifying the type of SQL connectivity.

  • If you want to connect to your SQL Server database engine from the internet, select Public for the SQL connectivity type in the portal during provisioning. 
  • When you choose Private for the SQL connectivity type in the portal, Azure configures most of the settings identical to Public. The one difference is that there is no network security group rule to allow outside traffic on the SQL Server port (default 1433).

 

I have found a similar post, please refer to the following topic to see if it helps you.

https://community.powerbi.com/t5/Report-Server/Can-not-connect-to-SQL-from-VM/m-p/1453886

  • You need to allow remote connections for your SQL in VM. follow steps from the article to solve the problem.

https://medium.com/@nishancw/how-to-enable-remote-connections-to-sql-server-dc5b6c812b5

 

Best Regards

Community Support Team _ Polly

 

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

Hello, 

Thank you for the detailed answer but still I'm not able to connect sql server to power bi. I just keep getting the server name was not found even though I tried every steps in the article.

parry2k
Super User
Super User

@metecakmak can you connect to SQL server thru any other tools like SSMS from your machine? If yes, use the same credentials, connection in Power BI.

 

 

Follow us on LinkedIn and YouTube.gif to our YouTube channel

 

Learn about conditional formatting at Microsoft Reactor

My latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

 

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.