I attempt to call the Service Fabric REST API using an HTTP Action connector in the Logic App but it gives an error with SSL connection.
Steps I followed:
- Created a new Service Fabric Cluster using bicep
- Created a new Logic App (Consumption plan)
- In the Logic app - enabled the "System-assigned" managed identity (in the "Settings" > "Identity" pane)
- in the Service Fabric Cluster - assigned the "Reader" role to the Logic App's managed identity (in the "Access control (IAM)" pane)
- In the Logic app - Added an HTTP action to call an endpoint that lists all cluster applications (GET https://<cluster-endpoint>.cloudapp.azure.com:19080/Applications?api-version=6.0)
- Add an HTTP action to call an endpoint that removes the application by name (POST https://<cluster-endpoint>.cloudapp.azure.com:19080/Applications/<app-name>/$/Delete?api-version=6.0&ForceRemove=true)
I used "Managed Identity" authentication in the HTTP call:
- Authentication Type: Managed Identity
- Managed Identity: System-assigned
and I encountered the following error:
_BadRequest HTTP request failed: 'The SSL connection could not be established, see inner exception.'
_
Additionally, I tried to configure TLS/SSL certificate authentication (following this https://learn.microsoft.com/en-us/azure/connectors/connectors-native-http?tabs=standard#tlsssl-certificate-authentication ) using code view in the Logic App, but it didn't help.
Thanks for any hints.
Regards,
Kornelia