1
votes

I have set of Azure CLI commands ready which append data into an existing azure data lake file.

We need to run all these commands from an ADF (Azure Data Factory) pipeline. Does anyone have any idea on how we can run Azure CLI commands from ADF pipeline?

1

1 Answers

3
votes

You can create an Azure function and call it from ADF with the Azure Function Activity: https://docs.microsoft.com/en-us/azure/data-factory/control-flow-azure-function-activity

Here is a tutorial to run azure-cli commands in Azure Functions: https://docs.microsoft.com/en-us/azure/azure-functions/scripts/functions-cli-create-serverless

Hope this helped!!