azure-functions-core-tools
azure-functions-core-tools copied to clipboard
Function behind internet proxy
How to configure Azure Function App (Flex Consumption Plan) to use corporate proxy (Bluecoat) for outbound internet access?
I’m trying to deploy an Azure Function App (running on the Flex Consumption Plan) with an HTTP trigger. The function app is configured with: • VNet integration for outbound traffic • Private endpoint for inbound access
Our environment requires all outbound traffic to go through a corporate internet proxy (Bluecoat).
When I try to deploy my code using either:
func azure functionapp publish <app_name> or az functionapp deployment source config-zip ... The deployment fails, and the Azure portal shows an error stating that the Function App cannot access the Oryx endpoint, which is required for builds.
How can I configure my Azure Function App (Flex Consumption Plan) to route outbound internet traffic through our corporate proxy so it can access the Oryx build service and other necessary endpoints? Is there a supported way to set environment variables like HTTP_PROXY or HTTPS_PROXY, or use VNet features to achieve this? I tried to configure the But it didn't work