An Azure relational database service.
SqlAzureDacpacDeployment@1 - Analyzing deployment(failed)
Hello,
I am working with the Azure SQL Database Deployment task SqlAzureDacpacDeployment@1 in Azure DevOps and getting the below error: ==> ##[error]*** Index was outside the bounds of the array.
Publishing to database 'cover-db' on server 'cover-sqlsrv.database.windows.net'.
Initializing deployment (Start)
Initializing deployment (Complete)
Analyzing deployment plan (Start)
Analyzing deployment plan (Failed)
Time elapsed 0:00:08.37
[error]*** Index was outside the bounds of the array.
[error]The Azure SQL DACPAC task failed. SqlPackage.exe exited with code 1.
Check out how to troubleshoot failures at https://aka.ms/sqlazuredeployreadme#troubleshooting-
Finishing: Deploy Dacpac Encrypted to SQLDB
YML task that i am using :
- task: SqlAzureDacpacDeployment@1
displayName: 'Deploy Dacpac Encrypted to SQLDB'
inputs:
azureSubscription: 'xxxxx'
AuthenticationType: 'connectionString'
ConnectionString: 'Server=$(SQLSERVER).database.windows.net;Database=$(SQLDATABASE);Column Encryption Setting=enabled;'
deployType: 'DacpacTask'
DeploymentAction: 'Publish'
AdditionalArguments: '/AccessToken:$(sqlToken) /AzureKeyVaultAuthMethod:ClientIdSecret /ClientId:$env:servicePrincipalId /Secret:$env:servicePrincipalKey /p:ExcludeObjectType="ColumnEncryptionKeys" /p:ExcludeObjectType="ColumnMasterKeys"'
DacpacFile: $(Build.SourcesDirectory)/data/$(DacFileEncrypted)
IpDetectionMethod: 'AutoDetect'
any help Would be appreciated
Thanks in advance