cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
manjotsingh057
Level: Powered On

MS Flow On Premise WEB API Connection

I have a WEB API deployed on our on premise development servers. I have configured HTTPS binding for the API with development certificate.

 

I am trying to call web api from MS Flow as per below mentioned URL

https://flow.microsoft.com/en-us/blog/on-premise-apis/

 

I created a custom connector and i am getting below error while i test the connector using HTTPS protocol. We have development certificate which is valid.

{
"status": 500,
"message": "Received error payload from gateway service with ID 153863: Substituted: HttpRequestException:<pi>System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure............
}

 

 

Any suggestions here ?

 

 

Thanks

Manjot Singh

 

 

 

2 REPLIES 2
Community Support Team
Community Support Team

Re: MS Flow On Premise WEB API Connection

The error message should be:

"The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."

 

Have you tried with HTTP connection? It seems that Microsoft Flow can't handle the HTTPS for this web API.

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
manjotsingh057
Level: Powered On

Re: MS Flow On Premise WEB API Connection

Yes Michael,

I tried with HTTP. It works.

 

Seems to be some issue with Certificate trust.

 

Is there some issue with flow not able to trust the Dev Certificate ?

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 388 members 6,579 guests
Please welcome our newest community members: