I am trying to build an API using Visual Studio 2017 and .NET Core 2 with Entity Framework Core. I am following the directions from This Link. I am on the section titled: Reve
Please make sure the user login exists on the target SQL Azure database and not only on the Azure SQL Database server.
-- On master database CREATE LOGIN MaryLogin WITH PASSWORD = '';
-- On the user database
CREATE USER MaryUser FROM LOGIN MaryLogin;
Create a firewall rule on Azure portal to allow access to the Azure SQL Database as explained here. Make sure port TCP 1433 is open from your computer.
I figured out my problem. My password contained the character $ and this needs to be escaped out by using ` before the $.
Did you tried to update your web.config file for connection string. This might be a reason which doesn't allow you to login to azure.