diff --git a/Tasks/SqlAzureDacpacDeploymentV1/SqlAzureActions.ps1 b/Tasks/SqlAzureDacpacDeploymentV1/SqlAzureActions.ps1 index ac8e9c94a386..fb481e3796a4 100644 --- a/Tasks/SqlAzureDacpacDeploymentV1/SqlAzureActions.ps1 +++ b/Tasks/SqlAzureDacpacDeploymentV1/SqlAzureActions.ps1 @@ -272,6 +272,7 @@ function Run-SqlCmd { } elseif ($authenticationType -eq "connectionString") { Check-ConnectionString + $connectionString = EscapeSpecialChars -str $connectionString $commandToRun = "Invoke-Sqlcmd -connectionString `"$connectionString`" " $commandToLog = "Invoke-Sqlcmd -connectionString `"**********`" " } @@ -279,7 +280,7 @@ function Run-SqlCmd { Check-connectionString $connectionString = Get-AADAuthenticationConnectionString -authenticationType $authenticationType -serverName $serverName -databaseName $databaseName -sqlUserName $sqlUserName -sqlPassword $sqlPassword $commandToRun = "Invoke-Sqlcmd -connectionString `"$connectionString`" " - $commandToLog = "Invoke-Sqlcmd -connectionString `"$connectionString`" " + $commandToLog = "Invoke-Sqlcmd -connectionString `"**********`" " } $commandToRun += " -Inputfile `"$sqlFilePath`" " + $sqlcmdAdditionalArguments diff --git a/Tasks/SqlAzureDacpacDeploymentV1/task.json b/Tasks/SqlAzureDacpacDeploymentV1/task.json index 45b3f9249a87..43baae709970 100644 --- a/Tasks/SqlAzureDacpacDeploymentV1/task.json +++ b/Tasks/SqlAzureDacpacDeploymentV1/task.json @@ -16,8 +16,8 @@ "author": "Microsoft Corporation", "version": { "Major": 1, - "Minor": 171, - "Patch": 5 + "Minor": 178, + "Patch": 0 }, "demands": [ "sqlpackage" diff --git a/Tasks/SqlAzureDacpacDeploymentV1/task.loc.json b/Tasks/SqlAzureDacpacDeploymentV1/task.loc.json index 85b50ebc3039..d38bbdcf8400 100644 --- a/Tasks/SqlAzureDacpacDeploymentV1/task.loc.json +++ b/Tasks/SqlAzureDacpacDeploymentV1/task.loc.json @@ -16,8 +16,8 @@ "author": "Microsoft Corporation", "version": { "Major": 1, - "Minor": 171, - "Patch": 5 + "Minor": 178, + "Patch": 0 }, "demands": [ "sqlpackage"