We created an Azure Standard Logic App created via ARM template. This Logic App should use an existing Hybrid Connection.
I shared the ARM template below that we used to create Azure App Service Plan. I think I need to reference the Hybrid Connection settings in the template below, but couldn't find any document on how to do it.
How could I modify the template to set hybrid connection?
Thank you
{
"apiVersion": "2022-09-01",
"dependsOn": [
],
"kind": "",
"location": "[parameters('location')]",
"name": "[parameters('hostingPlanName')]",
"properties": {
"maximumElasticWorkerCount": 20,
"name": "[parameters('hostingPlanName')]",
"numberOfWorkers": "[parameters('numberOfWorkers')]",
"workerSize": "[parameters('workerSize')]",
"workerSizeId": "[parameters('workerSizeId')]",
"zoneRedundant": false
},
"sku": {
"Name": "[parameters('skuCode')]",
"Tier": "[parameters('sku')]"
},
"tags": {
},
"type": "Microsoft.Web/serverfarms"
}
To the existed template, you can add a connection using
Microsoft.Web/connectionsprovider in ARM template as shown below.I've created a sample office 365 connection and it worked as expected.
Output: