Unable to connect to Azure SQL Database

Hi,

I’m getting the following error.

Thanks,
Jon

Hi Jon,

You get this error message because the following databases context doesn’t map to the user from behalf whom you try to connect SQL Server. Please map the user from behalf whom you connect to SQL Server to context database.

Hi Alexander,

Are you referring to the permissions on the database?

Thanks,
Jon

Hi Jon,

Please find more details on how to map a user to a particular database https://sqlbackupandftp.com/blog/hot-around-server-principal-nt-authoritysystem