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

Syed Aman 1 Reputation point
2021-06-18T10:51:39.95+00:00

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.
10,196 questions
{count} votes

1 answer

Sort by: Most helpful
  1. MartinJaffer-MSFT 26,061 Reputation points
    2021-06-23T23:26:59.247+00:00

    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