Activating ADF Triggers without Publish

Viewed 1777

To create a Trigger, seems like you have to publish it before it can take effect. But publishing requires a PR to the 'Collaboration' branch, which means we will have to create a PR even before testing if the trigger actually works and also multiple subsequent PRs until we get the trigger right.

Especially when you want to develop Event Triggers based on file uploads, this is counter productive to create a PR even before you have tested the Trigger.

Is there a different way to set up ADF in the DEV environment or to activate a trigger without needing to publish it first?

Thanks!

2 Answers

You can use PowerShell query to Start and Stop ADF triggers, you can find the code to do the same here

PowerShell just need few details like your subscription details, resource group details where ADF exists and then ADF details. This can be controlled without having to publish the ADF, moreover you can create a generic script and save it for further use-case testing, this will save your time in future as well.

Thanks!

Related