Open zoemac11 opened 3 months ago
Same configuration, same error. Any update on the cause or solution?
For me the fix was to enable the following Azure SQL Database Networking option:
It looks like the underlying Azure DevOps server cannot reach the Azure Database.
The required steps:
Hope this helps
You can try set system.debug to true in Pipeline Variables, and it will print detail logs. For me, I have same error because the ip address of my pipeline job VM is not allowed due to the settings of the SQL DB firewall.
New issue checklist
Task name
SqlAzureDacpacDeployment@1
Task version
1.237.4
Issue Description
Getting the following error when using a Workload Identity federation service connection
##[error]Microsoft.PowerShell.Commands.WriteErrorException: ExceptionMessage: Cannot bind argument to parameter 'vstsAccessToken' because it is an empty string. (in function: Build-MSALInstance)Check out how to troubleshoot failures at https://aka.ms/sqlazuredeployreadme#troubleshooting-
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Microsoft Windows Server 2022
Relevant log output
Full task logs with system.debug enabled
Repro steps