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
Community Center | Not monitored
{count} votes

Your answer

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