Get request URL after Logic Apps deployment

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.

CallBackUrlpng

Hopefully, this post can be valuable for your automated deployments!
Toon

Advertisements

One thought on “Get request URL after Logic Apps deployment

  1. Pingback: Microsoft Integration Weekly Update: March 19, 2018 | Hooking Stuffs Together

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s