Hi @Matt Elman ,
Thanks for reaching out to Microsoft Q&A.
When you enable VNet Integration, it changes how the Function App handles inbound and outbound traffic. If your Function App becomes unreachable with a "Service Unavailable" error, there are a few areas you could check:
- Ensure that your Function App can access the storage account. Access restrictions can prevent the function host from starting. Double-check the connection strings in your app settings.
- Since you mentioned that the UAT version works perfectly in its VNet, make sure that the production VNet is set up similarly. Pay attention to any network security group (NSG) rules that might be blocking inbound traffic.
- Ensure that your SQL server and external endpoints are accessible from the Function App. You may need to adjust the firewall settings.
- If Application Insights is enabled, check the logs for any detailed error messages that could provide insights into the root cause if the issue. This could help identify if it's a code issue or a configuration issue.
- Sometimes simply restarting your Function App can help resolve transient issues you might be encountering.
Hope it helps!
Please do not forget to click "Accept the answer” and Yes, this can be beneficial to other community members.
If you have any other questions, let me know in the "comments" and I would be happy to help you.