Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
vamshikrishna20
Helper III
Helper III

AAD Authentication for SQL Server

Hello Everyone, 

 

I am trying to connect Power BI to Azure Sql Server and i had a Active directory service account for this. I tried using these credentials in Database Quthentication but it throws error as "Cannot open the server xxxx.com". can someone help me how do i implement AAD authentication for sql server in Power BI. 

 

Thanks in Advance

5 REPLIES 5
NandanHegde
Super User
Super User

Please try clearning the cache

NandanHegde_0-1674053173504.png

This would pop up the UI to input your AAD account.

 

Can you provide screenshot w.r.t your issue in MSFT account auth?




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com
NandanHegde
Super User
Super User

Hey,

Can you please provide some screenshots w.r.t how you are accessing the Azure SQL DB from powerbi and what values you are providing in the connection details?

Note: Please scrub any sensitive data before posting in forum




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com

@NandanHegde , Providing the snippets below:

 

S-1: Navigating to Azure sql connector and providing the Server and db details

vamshikrishna20_0-1673957634396.png

S-2 : In authentication, selecting database and providing service account details provided by DB Team.

vamshikrishna20_1-1673957735216.png

S-3: Error snippet

vamshikrishna20_2-1673957776208.png

 

 

Hey,

Please use the Microsoft account and not database (since that is for SQL auth only) since you are using AAD account




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com

@NandanHegde ,

 

when i use microsoft account, it is by default taking my windows user id even after trying with signin as different user option

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.