cancel
Showing results for 
Search instead for 
Did you mean: 
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

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

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)

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
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

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors