com.microsoft.sqlserver.jdbc.SQLServerException: Cannot open server “ ” requested by the login. The login failed

Keywords: java spring-boot

Question: 

Dear sir I connect Azure SQL Server with Spring boot then i face the following error ->

com.microsoft.sqlserver.jdbc.SQLServerException: Cannot open server "test" requested by the login. The login failed.

Answers: 

try to login with Azure sql server and then check are you using same credentials or not, sometimes there is problem with username. and sometimes we use Email instead of Username, just check. and let me know if it helps or not