Unable to republish edited triggers

Preston Sharpe 1 Reputation point

I am using Azure Data Factory with Azure DevOps GIT enabled and have published a trigger successfully. I realized that I made a small error in my trigger so I edited this in my publish branch (master in my case). When I went to re-publish I received the error Failed to unsubscribe to events for event trigger Await CASS Stirista Files (Trigger). and the publish fails.

I'm unable to manually edit the data factory in live mode with the error You are not allowed to make changes or publish from 'Data Factory' mode as your factory has GIT enabled.. I also tried navigating to Git Configuration and then running Overwrite live mode but that caused the same error listed in the first paragraph above Failed to unsubscribe.....

Any thoughts as to how I can edit triggers and then re-publish without disabling git? Thanks in advance

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

2 answers

Sort by: Most helpful
  1. AnnuKumari-MSFT 29,586 Reputation points Microsoft Employee

    Hi @Preston Sharpe ,
    Thanks for using Microsoft Q&A platform and posting your query.
    Please create a new feature branch(Local branch) and modify the trigger there and merge the changes to the master branch by raising a pull request. It will allow you to publish the changes you made to the triggers. You can't directly make your changes in the live mode. Please do let us know if the suggested approach helps. Thanks!
    Hope this will help. Please let us know if any further queries.


    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you.
      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
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators

  2. Preston Sharpe 1 Reputation point

    Hello @AnnuKumari-MSFT . Thanks for replying. We scrapped this ADF instance and started from scratch.

    If I remember correctly, any merges from a local branch to master that altered a published trigger failed. I might be misremembering, but that is why I started to edit the master/live branches.

    Maybe @Tom Pitts can weigh in as he may still able to reproduce this error?