Is SQL Managed Instance no longer compatible with SSDT Schema compare?

Tim Eldridge 181 Reputation points
2022-03-23T10:14:47.91+00:00

As of the last few days, I am no longer able to do SQL schema compare for a database in SQL Managed Instance in Visual Studio using SQL Server Data Tools. This was working last week but now I get the error "Source is unavailable: dbname". After manually editing the .scmp file to tweak the connection string, I get a slightly different error "unable to determine database platform type". When I setup the source/destination connection it can connect to the SQL Managed instance OK using Azure AD - I know this because I get a list of databases in the "Default database" dropdown. However, when I click the "Compare" button to do the actual compare I get the error.

This functionality is still working when connecting to Azure SQL Database, but not Azure SQL Managed Instance. Is the latest SQL Managed instance version (Microsoft SQL Azure (RTM) - 12.0.2000.8 Feb 25 2022 16:04:35)) no longer compatible with SSDT?

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,059 questions
{count} votes

19 answers

Sort by: Most helpful
  1. Alex Istode | Your BI 36 Reputation points
    2022-03-23T12:55:08.06+00:00

    I am having the same issue with our managed instance. This has stopped working recently.
    The "unable to determine database platform type" is also what I am getting.

    7 people found this answer helpful.
    0 comments No comments

  2. Lesinski, Martin 31 Reputation points
    2022-03-24T10:05:21.023+00:00

    We are experiencing this problem for 11 hrs as well.

    5 people found this answer helpful.
    0 comments No comments

  3. jiexin zhou 26 Reputation points
    2022-03-24T10:07:01.39+00:00

    We have the same issue on

    • VS 2019 (16.11.11)
    • with SSDT 16.0.62111.25150

    No database is selected after the inputing the configurations in Schema Comparison and NO error message is shown :(

    5 people found this answer helpful.
    0 comments No comments

  4. Ciuta, Andrei-Calin 26 Reputation points
    2022-03-24T10:23:02.06+00:00

    Same problem here :(

    5 people found this answer helpful.
    0 comments No comments

  5. Sebastian Dunkel 21 Reputation points
    2022-03-24T10:04:07.25+00:00

    Same here :-(

    4 people found this answer helpful.
    0 comments No comments