Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
Solved! Go to 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.
Hi @Monika
Are you just putting Microsoft.com in the servername, or is the servername much longer?
Cheers,
Phil
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
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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 66 | |
| 44 | |
| 43 | |
| 36 | |
| 23 |
| User | Count |
|---|---|
| 196 | |
| 125 | |
| 105 | |
| 77 | |
| 56 |