Unable to connect to master or target server 'xyz'. You must have a user with the same password in master or target server 'xyz'.

Satish Kumar T 21 Reputation points
2020-11-27T12:20:36.103+00:00

When I am trying to deploy .dacpac file using TFS 2017 CI/CD Pipelines "Azure SQL Database Deployment" task in the Release pipeline it is throwing the following error.

Could not deploy package.
Unable to connect to master or target server 'xyz'. You must have a user with the same password in master or target server 'xyz'.
Azure SQL Dacpac task failed.

I am able to connect the same Azure Database using SSMS v18 and same servername, LoginId and Password and able to deploy the same .dacpac file

Azure SQL Database
{count} votes

Accepted answer
  1. Anurag Sharma 17,606 Reputation points
    2020-12-02T18:42:40.59+00:00

    Hi @Satish Kumar T , as discussed over the call, to resolve this issue we need to make below changes:

    1. Change the compatibility level of Azure SQL database to 130 at Azure database level
    2. Change the target platform of Database Project to Microsoft Azure SQL Server V12

    Glad it worked out for you.

    ----------

    Please select 'Accept Answer' if this helped you as it could help other community members looking for similar query.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.