Rajendra Prasad
Rajendra Prasad

Reputation: 101

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.

Upvotes: 2

Views: 2274

Answers (2)

Andrew Moll
Andrew Moll

Reputation: 5043

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

Upvotes: 2

Related Questions