function app does not connect when deployed to a new environment
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:
- 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.
- Disabling VNet Integration, the Function App works, but
We have to open the SQL port
Whitelisting PossibleOutboundIPAddress did not work
- 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.