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 (62)
Neil Palmer's profile image Profile Picture

6391d739 7bdf-45a5-95d6-5bb9e75d82e4 on 05 Jul 2020 22:39:21

RE: SQL Azure connector with Azure AD Auth

Is there some work-around (i.e. using ODBC connections) that I don't know about that other community users have used? I would appreciate any feedback.

Neil Palmer's profile image Profile Picture

ac643e7c e800-ea11-a811-000d3a4f1ebb on 05 Jul 2020 22:38:43

RE: SQL Azure connector with Azure AD Auth

Have asked Miguel (the product owner for this area) to take a look.
Thanks

Neil Palmer's profile image Profile Picture

7ada740c 342f-4e03-8262-623cdda001ba on 05 Jul 2020 22:38:34

RE: SQL Azure connector with Azure AD Auth

As stated in a previous comment, having to use SQL authentication means we need to roll our own row and table level security.

Neil Palmer's profile image Profile Picture

dbfe297b 1530-4e0e-8f84-b8dd21626cf0 on 05 Jul 2020 22:38:26

RE: SQL Azure connector with Azure AD Auth

yeah. Spent quite a lot of time setting up Azure AD including an Azure AD group so users could use Windows authentication to the database from SQL Management Studio only to find that when they use Power BI Desktop they have to use SQL Authentication

Neil Palmer's profile image Profile Picture

f0926dd8 97f0-403b-b587-488dcf2471f3 on 05 Jul 2020 22:38:23

RE: SQL Azure connector with Azure AD Auth

Excel Power Query has the same limitation...

Neil Palmer's profile image Profile Picture

f0926dd8 97f0-403b-b587-488dcf2471f3 on 05 Jul 2020 22:38:14

RE: SQL Azure connector with Azure AD Auth

Idea created in Oct-2015, almost 200 votes and not implemented yet?!?
It's a MUST HAVE!

Neil Palmer's profile image Profile Picture

9deba6c9 bef2-4423-ba47-203c64fc4f35 on 05 Jul 2020 22:34:23

RE: SQL Azure connector with Azure AD Auth

It is possible to connect to Azure SQL DB using AAD though ODBC 13.1 . But this requires a gateway for data refresh.
So yes, please update Power Bi Azure SQL DB and DWH connectivity to support AD Universal Authentication, like other tools (e.g. SSMS) do.

Neil Palmer's profile image Profile Picture

e2648946 6a66-4a0a-b9db-adfbad821b9c on 05 Jul 2020 22:28:07

RE: SQL Azure connector with Azure AD Auth

Hard to connect and configure azure to use AD Auth

Neil Palmer's profile image Profile Picture

6852ed5a ca53-4c16-9370-c627dd20b7b2 on 05 Jul 2020 22:26:51

RE: SQL Azure connector with Azure AD Auth

We would like to utilize Power BI to connect to Azure SQL DB via AAD, in DirectQuery mode, with RLS implemented in the SQL DB for implementing row-level security. Objectives here are (a) manage RLS in the source so it's reusable & consistent across numerous datasets & reports rather than contained in one single Power BI file, (b) utilize DirectQuery because dataset is larger than the 1GB limit for importing/refreshing in Power BI, and (c) utilize Azure Active Directory for authentication so users don't have to keep track of a separate ID/PW.

Neil Palmer's profile image Profile Picture

e16b58b0 1643-41cc-9136-361129a9c61c on 05 Jul 2020 22:25:46

RE: SQL Azure connector with Azure AD Auth

This implementation may be what slows us on the Azure SQL Data Warehouse. Looking forward to the Azure AD Auth!