Passing Call back url from logic apps to synapse using devops

Raj D 616 Reputation points
2023-05-23T17:36:48.38+00:00

Greetings!!!

I have pipelines built in azure synapse analytics and notification is done using logic apps. For deployment Azure DevOps is used to build out the CICD release pipeline. Well in the logic apps to send out notification in the workflow I use When a HTTP request is received. The HHTP POST URL is created only after the step is added. The issue I run into is when I try to automate the release pipeline in Azure DevOps for Logic Apps & Synapse workspace. How would I get the call back URL from Logic Apps and use it in Synapse workspace or artifact deployment?

I vaguely remember this could be done using the below but unclear how to connect the dots.

[listCallbackURL(concat(resourceId('Microsoft.Logic/workflows', 'logicappname'), '/triggers/manual'), '2016-06-01').value]

What is the general approach used to accomplish this?

Thank you

User's image

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.
Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
{count} votes

1 answer

Sort by: Most helpful
  1. Nisha Pillai 75 Reputation points Microsoft Employee
    2023-05-23T20:17:17.1133333+00:00

    Hello Raj,

    Getting the callback URL of a Logic App in ARM template has a slight difference depending on whether it is a Logic App Standard or Logic App Consumption.

    Logic App Consumption:

    [listCallbackUrl(resourceId('Microsoft.Logic/workflows/triggers', parameters('workflowName'), 'manual'),'2021-03-01').value]
    
    

    Logic App Standard:

    [listCallbackUrl(resourceId('Microsoft.Web/sites/hostruntime/webhooks/api/workflows/triggers', parameters('logicAppName'), 'runtime', 'workflow', 'management', parameters('workflowName'), 'manual'),'2021-03-01').value]
    
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.