Triggering a pipeline in Azure Data Factory
An Azure Data Factory pipeline can be triggered manually, scheduled, or triggered by an event. In this recipe, we’ll configure an event-based trigger to run the pipeline that we created in the previous recipe whenever a new file is uploaded to the Data Lake Store.
Getting ready
Before you start, perform the following steps:
- Log in to the Azure portal via PowerShell. To do this, execute the following command and follow the instructions to log in to Azure:
Connect-AzAccount
- Go to https://portal.azure.com and log in using your Azure credentials.
- Create the ControlFlowActivities pipeline, as specified in the previous recipe, if you haven’t created it already.
How to do it…
To create the trigger, follow these steps:
- The event trigger requires the
eventgrid
resource to be registered in the subscription. To do that, execute the following PowerShell command:Register-AzResourceProvider -ProviderNamespace...