function app does not connect when deployed to a new environment

Matt Elman 20 Reputation points
2025-12-11T22:13:28.55+00:00

We created an Azure Function App and we want to use VNet integration so it can connect to our SQL servers inside its virtual network. 

We successfully created a UAT version of this (using dev resource group, vnet...) and everything works fine.

 

However, when we created a PROD version of the Function App:

  1. Once we enable VNet Integration, the Function App becomes unreachable externally

    The public endpoint immediately returns “Service Unavailable”. 

    Even simple HTTP triggers (e.g., StartSeismicRun) fail to respond.

  1. Disabling VNet Integration, the Function App works, but

    We have to open the SQL port 

    Whitelisting PossibleOutboundIPAddress did not work

  1. UAT version works — Production version does not

    The UAT Function App, running in a different VNet (Fluent_Tech_Development432), works both externally and with SQL.

    When we replicate the same setup in Production, it fails once VNet Integration is enabled.    

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.