Is it possible to set ADF Trigger timeout for long running jobs using powershell

Syed Aman 1 Reputation point

I have requirement to set the Azure ADF trigger timeout for Long running jobs in ADF using PowerShell. If trigger activation exceeds a certain time defined in the script then script execution should be stopped.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,443 questions
{count} votes

1 answer

Sort by: Most helpful
  1. MartinJaffer-MSFT 26,011 Reputation points

    I checked via get-help Start-AzureRmDataFactoryV2Trigger -full and the docs. No there is not an additional option for manual timeout, SyedAmanS-8793 .

    You could put some script around the command to catch how long the command took to run. Or do something asynchronously.

    However, unless there is network issues, changing the trigger state should not take much time at all. Do note that putting a trigger into a running state is different from starting a pipeline.

    0 comments No comments