Just a short note to myself about Logic Apps deployment! I took me a while to figure out how to get the URL of a Logic App after an ARM deployment, because I needed it as an app setting for my Web App. Apparently, there’s a listCallbackURL function, that provides this functionality. I used it to populate an output value of my ARM template:
"outputs": { "logicAppUrl": { "type": "string", "value": "[listCallbackURL(concat(resourceId('Microsoft.Logic/workflows/', variables('logicAppName')), '/triggers/request'), '2016-06-01').value]" } }
After an ARM deployment from within Visual Studio, the following output was returned. This output can be used, for example, to set the connection string of a web application that must call this Logic App.
Hopefully, this post can be valuable for your automated deployments!
Toon