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
Monika
Regular Visitor

Connecting Power BI with an Azure SQL Server Database using direct query

 

 

I am currently trying to connect an Azure SQL Server Database to Power BI using direct query. 

I have put in the correct server name and I am using direct query. it is not connecting.

I have put in the correct server name and I have read access and able to connect with SQL server for the DB however it is not connecting.

 

any help? do i need any credential to access the sql azure database?

 

 

screenshot 

1 ACCEPTED SOLUTION

Hi @Monika,

 

I know it's not exactly the same thing, but I just created a new Azure DB in my tenant and could connect ok.

 

Double check you have the correct credentials (are you using a Windows or Database username/login)

 

Do you know if Azure has been configured to allow your client to connect via the firewall?

 

Other than that. my server was something.database.windows.net rather than a microsoft.com address.  

 

If you'd like to pm me screenshots of the connection screens I may be able to help more.


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

View solution in original post

5 REPLIES 5
Phil_Seamark
Microsoft Employee
Microsoft Employee

Hi @Monika

 

Are you just putting Microsoft.com in the servername, or is the servername much longer?

 

Cheers,

 

Phil


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

Thanks for reply Phil!!

 

Yes. Server name is too long. I am sure it is correct.

Its just interesting that the error is suggesting it thinks the name of the server is just Microsoft.com

 

 


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

It is coming from my oragnaization id.

Hi @Monika,

 

I know it's not exactly the same thing, but I just created a new Azure DB in my tenant and could connect ok.

 

Double check you have the correct credentials (are you using a Windows or Database username/login)

 

Do you know if Azure has been configured to allow your client to connect via the firewall?

 

Other than that. my server was something.database.windows.net rather than a microsoft.com address.  

 

If you'd like to pm me screenshots of the connection screens I may be able to help more.


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

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.

Top Solution Authors