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]