Reverting ADF deployment in azure devops

Madhu Ram 20 Reputation points
2024-09-26T11:14:36.48+00:00

How to revert adf pipeline in azure devops so I can see many articles it's showing we need to deploy previous version of the deployment but we need to revert main and adf publish branch commit also or how and when we revert that commit pipeline should be delete how to achieve this

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

Accepted answer
  1. PRADEEPCHEEKATLA-MSFT 89,816 Reputation points Microsoft Employee
    2024-09-27T04:10:31.9833333+00:00

    @Madhu Ram -Thanks for the question and using MS Q&A paltform.

    To revert an Azure Data Factory (ADF) deployment in Azure DevOps, you can follow these steps:

    1. Identify the commit hash of the previous version of the deployment that you want to revert to.
    2. Create a new branch from the main branch in your Git repository.
    3. Revert the commit that you want to revert to in the new branch. This will create a new commit that undoes the changes made in the previous commit.
    4. Push the new branch to your Git repository.
    5. In Azure DevOps, create a new release pipeline that deploys the new branch to your ADF instance.

    When you revert a commit, it does not delete the pipeline. Instead, it creates a new commit that undoes the changes made in the previous commit. The pipeline will still exist in your ADF instance, but it will be in the state that it was in before the changes made in the previous commit.

    For more details, refer to the below threads addressing similar issue:

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


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.