title: Azure function can't connect to Azure SQL Database
body: <p>I've created an Azure function that should connect to an Azure SQL database.</p>
  
  <p>This function retrieves the connection string saved in the application config. This connection string is the one provided from Azure SQL.</p>
  
  <p>Everything works fine on my PC, but I've deployed the function on Azure and it seems unable to connect to the SQL database (returning the common error "object reference not set...").</p>
  
  <p>I've checked <code>possibleOutboundIpAddresses</code> in Azure function resources and I've allowed them on the Azure SQL firewall.</p>
  
  <p>Also, my SQL database is in a Azure VNet with a storage.</p>
  
  <p>Any idea?</p>