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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
julsr
Resolver III
Resolver III

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
Resolver III
Resolver III

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
Resolver III
Resolver III

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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