I have a very simple DacPac that is built by an Azure DevOps build and released by a release pipeline. The build works fine but the pipeline fails with a connectivity error. I have checked and re-checked the set up. The firewall rules get set properly on the target server, the credentials are valid but the release will just not go through. I have tried many many combinations, including specifying ports but I cannot get it to connect. If I try initiate a connection from PowerShell and Invoke-SqlCmd I get a similar connectivity error.
Can anyone shed some light?
Is there any port restriction that may be getting in the way (e.g. 1433 blocked) on the Hosted 2017 agent?
Do I need to update the agent?
Is there some additional config required for SQL connectivity?
Thanks
The error I get is:
Unable to connect to target server '.database.windows.net'. Please verify the connection information such as the server name, login credentials, and firewall rules for the target server. Login failed for user 'data...