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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
julsr
Continued Contributor
Continued Contributor

Use SQL server connection not working

Hello Everyone!

 

I'm trying to connect to my SQL server database using the same connection that I have on SQL Server Management Studio, but the following error appears:

julsr_0-1713458741904.png

It's the first time this has happened to me, and I've tried other solutions I found on the forum to get the FDQN, but nothing works. Does anyone have suggestions about this?

 

 

1 ACCEPTED SOLUTION
julsr
Continued Contributor
Continued Contributor

Thank you both @Greg_Deckler  and @AmiraBedh . I solved it by adding the variable PBI_SQL_TRUSTED_SERVERS and my servers into my environment variables and restarting the environment.

 

 

View solution in original post

3 REPLIES 3
julsr
Continued Contributor
Continued Contributor

Thank you both @Greg_Deckler  and @AmiraBedh . I solved it by adding the variable PBI_SQL_TRUSTED_SERVERS and my servers into my environment variables and restarting the environment.

 

 

AmiraBedh
Super User
Super User

Please refer to this old thread : https://community.fabric.microsoft.com/t5/Power-Query/Certifiticate-problem-w-enterprise-gateway-imp...

 


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696
Greg_Deckler
Community Champion
Community Champion

@julsr This generally happens when your certificate for the server has the FQDN name of the server but you supplied the NETBIOS name for the server. Since the server name doesn't match the certificate name, the certificate cannot be used to encrypt the connection. You can continue with an unencrypted connection or try specifying the FQDN of the server instead. Go review your certificat for the server and find out what name is used.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

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.