Having intermittent issue with logging into Azure Managed instance using SSMS

Hajkowski, Michael 0 Reputation points
2025-03-18T14:01:09.35+00:00

Developers are having intermittent issues logging into SQL Managed instance in Azure.

They are using SQL Server Management Studio. Diagnostics returned the following:

We ran diagnostics between 2025-03-14 13:49 UTC and 2025-03-18 13:50 UTC and were able to detect connections to managed instance sssssssss-sss-smi-sql using a JDBC driver version that is below version 6.4.0, the minimal recommended version for connections to SQL Managed Instance.

  • Database 'samplicity-host-sit-db' using driver 'Microsoft JDBC Driver 6.1', from 'Microsoft JDBC Driver for SQL Server' application name on IP Address '10.21.5.x'- Database 'samplicity-Check228Alloc-db' using driver 'Microsoft JDBC Driver 6.1', from 'Microsoft JDBC Driver for SQL Server' application name on IP Address '10.21.5.x'- Database 'samplicity-xxxxx-db' using driver 'Microsoft JDBC Driver 6.1', from 'Microsoft JDBC Driver for SQL Server' application name on IP Address '10.21.5.x'- Database 'samplicity-nnnnnn-db' using driver 'Microsoft JDBC Driver 6.1', from 'Microsoft JDBC Driver for SQL Server' application name on IP Address '10.21.5.x'- Database 'Samplicity-commercial-aaaaa-sit-db' using driver 'Microsoft JDBC Driver 6.1', from 'Microsoft JDBC Driver for SQL Server' application name on IP Address '10.21.5.x'

As far as I know, SSMS does not use JDBC, this message is spurious at best. Sometimes it will connect for the developer, other times it will give the following error:

unable to connect to sql manged instance, below are the error for sql user and entra user:

 

sqluser---Login failed for user '-----'. Reason: Failed to open the explicitly specified database 'SSISDB'. [CLIENT: 10.253.202.239]

 

Message Login failed for user '<token-identified principal>'. Reason: Could not find a login matching the name provided. [CLIENT: 10.253.202.239]

Azure SQL Database
{count} votes

1 answer

Sort by: Most helpful
  1. Alberto Morillo 34,671 Reputation points MVP Volunteer Moderator
    2025-03-19T00:51:15.8866667+00:00

    That JDBC error message makes me think that those developers are not only using SSMS but also using Azure Data Studio (that does use a JDBC driver) to connect to Azure SQL MI. Azure Data Studio is a deprecated tool.

    Please consider reviewing the configuration steps outlined here, in case a step is missing. If those developer are associated to a group login, please consider these limitations and workarounds for Azure SQL MI.


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.