web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Unable to connect to S...
Power Automate
Unanswered

Unable to connect to SQL server with encrypt=mandatory and trust server certificate= true

(1) ShareShare
ReportReport
Posted on by 20
Hi,
I am trying to create an SQL connection with encrypt=mandatory and trust server certificate= true. However, I am getting this error.
 
 inner exception: The server name provided doesn't match the server name on the SQL Server SSL certificate. 
 
 
Any help appreciated. Thanks
 
Categories:
I have the same question (2)
  • MF-23101206-0 Profile Picture
    18 on at
    Unable to connect to SQL server with encrypt=mandatory and trust server certificate= true
    How were you able to set these settings in Power Automate? I am also getting a untrusted server certificate error and would like to test setting power automateto trust the certificate but don't know where that setting is. Is this in the SQL Server connection?
  • JK-13021358-0 Profile Picture
    4 on at
    Unable to connect to SQL server with encrypt=mandatory and trust server certificate= true
    Did you managed to solve that? I'm facing the same issiue...
  • Arslan001 Profile Picture
    9 on at
    Unable to connect to SQL server with encrypt=mandatory and trust server certificate= true
    Some context: Alot of companies have the SQL Server's secured with Private Endpoints so that's why there is a mismatch for the SSL certificate FDQN name recognition. In SQL Server Studio Management, we can bypass this SSL certificate check by adding the additional parameters, but this does not seem possible in Power Automate natively. 

    Our company has not able to make the connection for months and have had to use a different tool to add the additional parameter which is otherwise a standard capability.

    needs to update this connector.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard