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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
alibaba
New Member

Authentication SQL Server

Dear Community,

 

I am about to connect Power BI to my SQL database. Firstly I have created a local user on the SQL server and it worked properly to connect to the databses on the server from PowerBI - SQL Server autehntication.

 

Now I would like to change to a new user with windows authentication but it fails with the message: "The authentication with the provided information failed. Try again"

  • The user login via windows authentication on the SQL server works pretty fine
  • Only the connection via PowerBI fails

Did I miss something regarding the permissions of the user on server and database level?

 

Thanks in advance,

Alex

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @alibaba,

What windows authentication account did you configure on your database? The device which you install the SQL server or the device which installed the power bi and try to connect to the SQL server?

How to Get Your Question Answered Quickly  

In addition, you can also take a look at the following document about troubleshooting SQL clients if helps:

SqlClient troubleshooting guide - ADO.NET Provider for SQL Server | Microsoft Docs

Regards,

Xiaoxin Sheng

View solution in original post

3 REPLIES 3
alibaba
New Member

@amitchandak thx for the quick reply!

I have now also installed SSMS on my local machine (there I also use PowerBI) and tried to connect to the Server and get an error:


A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - Die Zertifikatkette wurde von einer nicht vertrauenswürdigen Zertifizierungsstelle ausgestellt.) (.Net SqlClient Data Provider)

Anonymous
Not applicable

HI @alibaba,

What windows authentication account did you configure on your database? The device which you install the SQL server or the device which installed the power bi and try to connect to the SQL server?

How to Get Your Question Answered Quickly  

In addition, you can also take a look at the following document about troubleshooting SQL clients if helps:

SqlClient troubleshooting guide - ADO.NET Provider for SQL Server | Microsoft Docs

Regards,

Xiaoxin Sheng

amitchandak
Super User
Super User

@alibaba , On the machine you have power bi, are you able to login to SQL Server via SSMS using windows auth?

 

if not, then check that first

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors
Top Kudoed Authors