Using Logic App to call the Service Fabric REST API

Buchczyk, Kornelia 0 Reputation points
2024-10-08T12:37:51.34+00:00

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:

  1. Created a new Service Fabric Cluster using bicep
  2. Created a new Logic App (Consumption plan)
  3. In the Logic app - enabled the "System-assigned" managed identity (in the "Settings" > "Identity" pane)
  4. in the Service Fabric Cluster - assigned the "Reader" role to the Logic App's managed identity (in the "Access control (IAM)" pane)
  5. 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)
  6. 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://zcusa.951200.xyz/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

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,143 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.