This article explains how to call or trigger Azure Data Factory from Logic Apps and pass parameters to it.
As a Data Engineer, I am very comfortable in calling or triggering Logic Apps from Azure Data Factory. So, it was interesting for me to find out that in a scenario where ADF needs to be triggered from Logic Apps, Azure has a solution. I’ll explain in this article how Logic Apps can not only trigger ADF but also pass parameters to it.
Task:
As a Data Engineer, I need to create a data pipeline in Logic Apps which will call Azure Data Factory and pass storage account name as a parameter to it.Prerequisites:
1. Access to Azure Logic Apps
2. Access to Azure Data Factory
3. Available Storage Account Name
- In the image below, I have created a logic app that contains a variable called ‘storageacc’. This variable stores the name of my storage account which needs to be passed to my ADF.
- Next, I search for Azure Data Factory connector and select ‘Create a pipeline run’ activity. In this activity, I add the required information about subscription, resource group, data factory name…