An Azure relational database service.
@Ancy , Just following-up on this, as I understand, you have already allowed' the IPs of your local network as well as Azure Web Jobs outbound IPs in the Azure SQL server.
As Olaf mentioned, please share the complete error details.
To isolate the issue ( some additional pointers), if you haven't done already so, you may try these steps:
- Please review the the connection string for correctness and has the right credentials to connect to the Azure SQL Database. You can double-check/validate the connection string in the Azure portal under the Application Settings of your Web Job.
- Kindly double-check that the firewall rules for the Azure SQL Database are configured correctly to allow connections from the Web Job.
- You may always leverage App Service diagnostics from Azure Portal> Navigate to your App Service app in the Azure Portal.
-In the left navigation, click on
Diagnose and solve problems- Review and run – Network troubleshooter and ““Configuration and Management” (IP address configuration)
Also, you may connect your Azure App Service/WebJob to Azure SQL PaaS using Managed Identity. Please checkout Tutorial: Secure Azure SQL Database connection from App Service using a managed identity
Kindly let us know, we will be happy to assist you further.