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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.