Bicep: Get the Trigger URL for a Consumption Logic App

Bicep: Get the Trigger URL for a Consumption Logic App

 

resource logicApp ‘Microsoft.Logic/workflows@2016-06-01’ = {

  name: logicAppName
  location: logicAppLocation
  identity: {…
}


  properties: {…
  }
}


output id         string = logicApp.id
output version    string = logicApp.apiVersion
output triggerUrl string = listCallbackURL(concat(logicApp.id, ‘/triggers/manual’), logicApp.apiVersion).value

Leave a Reply

Your email address will not be published. Required fields are marked *