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

Tim Eldridge 206 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 | Other
{count} votes

19 answers

Sort by: Most helpful
  1. Lesinski, Martin 31 Reputation points
    2022-04-04T07:09:27.08+00:00

    Hi everyone,

    Supposedly, this was fixed by Microsoft as part of 17.1.3

    189647-image.png

    Is it working for anyone now? Because it still gives me an error message "wrong platform detected".
    Would love to hear from others.


  2. Vitor Tomaz 6 Reputation points Microsoft Employee
    2022-04-14T19:23:47.807+00:00

    The fix for this issue is available in Visual Studio 2022 Preview (Version 17.2.0 Preview 3.0)
    https://visualstudio.microsoft.com/vs/preview/#download-preview


  3. Carlo Lodola 11 Reputation points
    2022-04-23T20:08:22.267+00:00

    I am having this issue since Friday Apr 15 , posted on here 3 days ago , was told by Microsoft none of their customers are having this issue

    Unfortunately work runs Windows 10, tried to install Vs 2022 but said OS doesn't support it

    Anybody know if red gates SQL tool belt is still working?

    https://learn.microsoft.com/en-us/answers/questions/819752/ssdt-20172019-will-not-connect-to-azure-managed-sq.html

    0 comments No comments

  4. Carlo Lodola 11 Reputation points
    2022-06-01T09:41:45.117+00:00

    Working
    SSDT 2017 Microsoft SQL Server Data Tools for Visual Studio 2017 (SSDT) Version 15.9.47

    SQL Server Data Tools 15.1.62002.01090
    Microsoft SQL Server Data Tools

    0 comments No comments

Your answer

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