azureazure-data-factorycortana-intelligence

trigger azure data factory pipeline


Is there any way to manually trigger a azure data factory pipeline? I would like to have this feature for a demo.

I know that we can suspend and resume a pipeline using power shell scripts.

Thanks.


Solution

  • Here is what I would do.

    1. create everything without pipeline active periods
    2. When you want to run the demo update active periods to dates in the past
    3. If you want to run again, update to another date in the past

    Updating dates via powershell would look something like this

    Set-AzureDataFactoryPipelineActivePeriod -DataFactoryName $DataFactoryName -PipelineName $PipelineName -StartDateTime $DateInPast -EndDateTime $DateOneDayLessInPast -ResourceGroupName $ResourceGroupName -Force