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 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 into Azure from PowerShell. To do this, execute the following command and follow the instructions to log into Azure:
Connect-AzAccount
- Open https://portal.azure.com and log in using your Azure credentials.
- Create the pipeline as specified in the previous recipe, if not already created.
How to do it…
To create the trigger, perform the following 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 Microsoft.EventHub
- In the Azure portal...