Do CICD pipeline fail for ADF pipelines having triggers ?

Akula, Aravind 21 Reputation points


we built CICD pipeline for ADF pipeline which has triggers, however its failing at the ARM Template deployment: Resource Group scope step with below error.

##[error]At least one resource deployment operation failed. Please list deployment operations for details. Please see for usage details.  
##[error]TriggerEnabledCannotUpdate: Cannot update enabled Trigger; the trigger needs to be disabled first.   
##[error]Check out the troubleshooting guide to see if your issue is addressed:  
##[error]Task failed while creating or updating the template deployment.  

Any suggestions as to why the CICD pipeline fails with presence of ADF pipeline triggers..?


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

Accepted answer
  1. KeshavKiran-MSFT 391 Reputation points Microsoft Employee

    Hi @Akula, Aravind ,

    Welcome to Microsoft Q&A platform and thank you for your query.

    The error which you are getting while deploying the template is expected behavior as deployment can fail if you try to update active trigger without deactivating the trigger.

    To update active triggers, you need to manually stop them and then restart them after the deployment.

    You can use to deactivate/Stop the triggers before the deployment from the portal and later start it post the deployment.


    You can achieve the same using the PowerShell task. Refer to the "update active trigger" section in this docs:

    Hope this helps. Do let us know if you any further queries.


    • Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification.

0 additional answers

Sort by: Most helpful