SqlPackage Parameter `/p:RestoreSequenceCurrentValue` Not Working in Azure DevOps Release Pipeline

Vinci Poon 1 Reputation point
2025-01-27T05:48:33.0633333+00:00

Hi,

An Azure DevOps release pipeline is being used to deploy a DACPAC to an Azure SQL Database using the Azure SQL Database deployment task (version 1.*). To maintain the existing sequence current value, the parameter /p:RestoreSequenceCurrentValue=False was added to the "Additional SqlPackage.exe Arguments" section. However, after deployment, the sequence current value is still being restored to 1.

Azure SQL Database
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
41,674 questions
{count} votes

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.