How I can rollback dacpac deployment for synapse Serverless SQL Objects via Azure DevOps ?

Siddharth Joshi 231 Reputation points
2023-04-03T18:07:48.23+00:00

Hi, I want to rollback my dacpac deployment, I'm promoting my serverless SQL objects to the upper environment via Azure DevOps CI/CD but due to some issue my deployment is failing (publish) I noticed that dacpac has done partial deployment so I believe this is not a correct behavior either it should deploy all artifacts or none, but as it is doing partial deployment I want to rollback it.

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,379 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bhargava-MSFT 31,261 Reputation points Microsoft Employee Moderator
    2023-04-04T19:47:58.2366667+00:00

    Hello Siddharth Joshi , Please correct me if my understanding is wrong. Your release pipeline is partially deployed with the objects, and you want to rollback the changes to the previous good release. To roll back to a previous state, you can access the Release Management for the project, identify the previous release, and redeploy it to replace the newer release. If you look at the below screenshot, my release pipeline-13 failed, and I was able to roll back the changes using my previous release pipeline-11 User's image

    User's image

    Set the DropObjectsNotInSource=True to drop the objects that exist in the target but not source should be dropped; I hope this helps. Please let me know if you have any further questions.


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.