Skip to main content

Power BI

Completed

SQL Azure connector with Azure AD Auth

Vote (435) Share
Neil Palmer's profile image

Neil Palmer on 12 Oct 2015 18:02:41

Update the SQL Azure connector to use Azure AD Auth. This will allow row level security in the database to be used with PowerBI.

It would be great to have PowerBI pass through user credentials to the database so that data can be kept secure.

Administrator on 10 Jan 2018 02:01:06

This feature has shipped in the January 2018 update for Power BI Desktop. Please refer to the official announcement for more details: https://powerbi.microsoft.com/en-us/blog/power-bi-desktop-january-2018-feature-summary/#AADauth

Comments (63)
Neil Palmer's profile image Profile Picture

Alex Kyllo on 05 Jul 2020 22:48:55

RE: SQL Azure connector with Azure AD Auth

Can we please have some official comment on the status of this request?

Neil Palmer's profile image Profile Picture

Tim Hermann on 05 Jul 2020 22:45:49

RE: SQL Azure connector with Azure AD Auth

'I came across this issue recently while trying to do the same with PowerBI. This is what I'm using until the team gets AAD support, you can replace the parts in with your values:

= AdoDotNet.Query("System.Data.SqlClient", "Server=;Initial Catalog=;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Authentication=""Active Directory Integrated"";", "")

Neil Palmer's profile image Profile Picture

Marty Piecyk on 05 Jul 2020 22:45:44

RE: SQL Azure connector with Azure AD Auth

Perhaps I should make a separate Power BI idea, but please support Azure SQL Data Warehouse with Azure AD Auth as well. It currently only supports Windows authentication which is not working for me (just like it doesn't work in SSMS either) and SQL authentication.

It looks like for now we need to create an Azure Analysis Services endpoint connected to our DBs using DirectQuery to get AAD authentication working.

Neil Palmer's profile image Profile Picture

Jacob on 05 Jul 2020 22:45:35

RE: SQL Azure connector with Azure AD Auth

I can't believe this doesn't already exist. We need this ASAP as it has stopped us dead in our tracks!

Neil Palmer's profile image Profile Picture

Paul Hansell on 05 Jul 2020 22:45:25

RE: SQL Azure connector with Azure AD Auth

This has stopped us dead in our tracks on a Power BI / Azure SQL rollout for the company. Please prioritise the resolution asap.

Neil Palmer's profile image Profile Picture

rob on 05 Jul 2020 22:45:12

RE: SQL Azure connector with Azure AD Auth

This is very necessary because we can't always allow access to databases using SQL Authentication. It's generally against our security policy.

Neil Palmer's profile image Profile Picture

Power BI User on 05 Jul 2020 22:45:08

RE: SQL Azure connector with Azure AD Auth

Please add this feature so I don't have to use sql auth.

Neil Palmer's profile image Profile Picture

Eric Snyder on 05 Jul 2020 22:43:06

RE: SQL Azure connector with Azure AD Auth

My use case is an updating dashboard accessing an Azure SQL database that has "open" data for all employees. Would like any authenticated user to access the DB for read so they can modify the dashboard, so just want to add the ['company' employees] group.

At present this doesn't seem to be possible because I have to access the database via database credentials.

Neil Palmer's profile image Profile Picture

Power BI Ideas Admin on 05 Jul 2020 22:42:07

RE: SQL Azure connector with Azure AD Auth

Is there any update on this as we want to use the feature within our application. Thanks

Neil Palmer's profile image Profile Picture

Alejandro on 05 Jul 2020 22:41:17

RE: SQL Azure connector with Azure AD Auth

Is this implemented yet? Two weeks ago we just found out that it is not possible to connect to an SQL Azure DB using AZURE AD credentials from Power BI/Excel.