Quantcast
Channel: Power Query topics
Viewing all articles
Browse latest Browse all 31135

Can't connect to Azure SQL Database

$
0
0

I have a PowerBI file that used to work fine, but I had to rebuild my machine and now it can't connect to the SQL Azure database it needs to, and I don't understand why.  Here are a few datapoints:

  • I have owner access to the service/database
  • In the Azure portal, I've added my machine's IP address to the firewall exceptions list so it doesn't get blocked
  • On my machine, I can connect VS to the database and query it with no problem, using AD integrated authentication and my corp account
  • When I upload this file to run in PowerBI online, it is able to connect and query the database
  • I'm running the latest version of the PowerBI desktop
  • I have Microsoft PowerBI Desktop and Microsoft PowerBI Desktop (x64): Analysis Services Component added to the apps list that allows communication through the firewall on my machine
  • I've deleted all the connections using File->Options & Settings->Data Source Settings and tried to start over with establishing the connection.

But when I attempt to connect to the db in PowerBI, it tells me it couldn't authenticate with the credentials provider.  Looking at the diagnostric traces it has a bunch of errors with the comment: "Windows logins are not supported in this version of SQL Server", which seems to imply the problem is that I'm not using the right authentication mode, but I don't see anyway to set the authentication mode explicitly (to force it to use AAD authentication instead).

 

I ran into this problem once before, but I don't remember what I did that finally fixed it.  Any suggestions?


Viewing all articles
Browse latest Browse all 31135

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>