I would like to get a Drift-Report (and Deploy-Report and TSQL-script) during our DACPAC deployments.
We are running DACPAC deployment in Azure DevOps to on-prem SQL server, using the agent task "WinRM - SQL Server DB deployment".
This task is utilizing SQLPacakge.exe and it's possible to pass "Additional Arguments" to the task.
But if I add /Action:DriftReport
to the arguments, I get this runtime error:
*** Duplicate 'Action' argument 'DriftReport'.
My assumtion is, that /Action:Publish
is already provided by the winRM task. But is is possible to change it?
PS: I notice that the "Azure SQL Database Deployment" task in Azure DevOps does not have the same issue. There is a Action
dropdown for selecting Publish, Drift Report, etc.