Currently working on an ASP.NET web application. I would like to deploy to Azure App Service but when running on App Service, the connection to my Azure SQL server can not be found.
When I run on my local machine, the connection to the Azure SQL server works. I can also connect to my Azure SQL server via SQL Management Studio.
On the Azure SQL server I have set up a Firewall rule to allow all IP addresses, and allowed access to Azure services:
I have done considerable searching for solutions to this problem over the past couple days, but I can't find a solution.
Allow access to Azure services
already makes sure 1st party Azure services like App Service are whitelisted in the SQL firewall. No need for the extra allow all. – evilSnobu