I cannot connect to the database in the sql server in Azure. I cannot connect in any way, regardless of mssql server or visual studio on my own computer. I get my connection information from azure and try to login as below but it doesn’t work. Does anyone have any information about the solution?
I have tried almost all entities related to my username. Other than that, access-related settings cannot be changed, I was not very successful.mssql login screen my azure server proporties my azure server proporties
2
Answers
Make sure you add Server admin name in SSMS Login and Password which was given while creation of the SQL Server in Azure.
Share error details which you get in Azure Portal Query Editor or SSMS to investigate further.
If your SQL username contain @ in it then use the username followed by
@servername
.Example:
[email protected]@<servername>
My SQL Server admin:
Details for connection:
If you are using Active directory authentication you need to add AD user as Azure AD admin in SQL server
Successful connection: