The database platform service with type Microsoft.Data.Tools.Schema.Sql.Sql150DatabaseSchemaProvider is not valid

Jacob 1 Reputation point
2021-02-23T09:43:51.72+00:00

DACPAC Deployment is failed as it says Internal Error. The database platform service with type Microsoft.Data.Tools.Schema.Sql.Sql150DatabaseSchemaProvider is not valid. You must make sure the service is loaded, or you must provide the full type name of a valid database platform service. Target platform is SQL 2019.

Azure SQL Database
{count} votes

1 answer

Sort by: Most helpful
  1. KalyanChanumolu-MSFT 8,321 Reputation points
    2021-02-23T16:40:06.25+00:00

    @Jacob Thank you for providing additional context.
    This is happening because the build agent you are using doesn't have the required version of DacFX.
    Please download and install the version appropriate for your build agent from here

    Do let us know if you still face any issues.

    ----------

    If an answer is helpful, please "Accept answer" or "Up-Vote" for the same which might be beneficial to other community members reading this thread.

    0 comments No comments

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.