How to deploy API connections alongside with Logic App Consumption?

Tran, Nguyen 20 Reputation points
2025-01-17T17:09:43.7666667+00:00

I'm setting up a Logic App deployment process for my team.

I'm trying to deploy the Logic App and its API connections (eg. SharePoint, KeyVault) in a GHA workflow, using ARM template JSON files

But I keep getting this deployment BadRequest error for both of the API connections:

{"code":"InvalidRequestContent","message":"The request content is not valid and could not be deserialized: 'Could not find member 'definition' on object of type 'ApiConnectionPropertiesDefinition'. Path 'properties.definition', line 1, position 1083.'."}

I'm confused, because looking at this link on how to deploy Microsoft.Web connections, it doesn't indicate Path 'properties.definition' for its JSON template

User's image

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,313 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
41,443 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.