Derrick Bakhuis
Derrick Bakhuis

Reputation: 47

How to trigger Azure Data Factory pipeline using PowerShell (Azure Automation)?

I was wondering if it were possible to trigger Data Factory dynamically using PowerShell? Are there scripts available or some workarounds using APIs?

For example after scaling the database from S2 -> S9 using PowerShell I'd like to trigger specific Data Factory pipelines.

Upvotes: 3

Views: 5583

Answers (1)

kgalic
kgalic

Reputation: 2664

Is this something you might be looking for?

https://learn.microsoft.com/en-us/azure/data-factory/concepts-pipeline-execution-triggers

Invoke-AzDataFactoryV2Pipeline -DataFactory $df -PipelineName "Adfv2QuickStartPipeline" -ParameterFile .\PipelineParameters.json

Upvotes: 6

Related Questions