@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:
- Identify the commit hash of the previous version of the deployment that you want to revert to.
- Create a new branch from the main branch in your Git repository.
- 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.
- Push the new branch to your Git repository.
- 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:
- Can we revert the deployed code to ADF through DevOps pipeline. I want to revert the changes to previous version of ADF
- Azure devops roll back to a previous commit for Azure Data Factory
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.