Disable and enable data factory triggers for DevOps release pipeline
When using devops release pipelines for continuous deployment of a data factory, currently you have to manually stop and start the triggers in the target data factory. the provided powershell solution from the official docs doesn't work (anymore?). The triggers should be updated automatically on deployment https://docs.microsoft.com/en-us/azure/data-factory/continuous-integration-deployment#update-active-triggers
Stop trigger works but not the Start (with the change in command)
Kamil Nowinski commented
Try to use this brand new PowerShell module to publish the whole Azure Data Factory code from your master branch or directly from your local machine. The module resolves all pains existed so far in any others solution, including: deployment part of objects, deleting objects not existing in the source any longer, stop/start triggers, etc.
More details and full documentation with code is in GitHub: https://github.com/SQLPlayer/azure.datafactory.tools
Let me know if you have any question or concerns.