An Azure service that provides an event-driven serverless compute platform.
Hello @Jeff Hoffman
Your testing confirms that the Application Insights resource and ingestion endpoint can accept telemetry, but the synthetic test performed outside the Function App does not validate connectivity from the actual Flex Consumption worker. This requires the connectivity test to run from the application host.
For a VNet-integrated Function App, it requires outbound HTTPS/TCP 443 access to these Application Insights endpoints:
dc.applicationinsights.azure.com
dc.applicationinsights.microsoft.com
dc.services.visualstudio.com
*.in.applicationinsights.azure.com
This includes your regional centralus-2.in.applicationinsights.azure.com endpoint.
The supported next step is to open Function App > Diagnose and solve problems and run the “Function App missing telemetry Application Insights or OpenTelemetry” diagnostic workflow.
Test the DNS and HTTPS connectivity from the application host. If Flex Consumption does not expose an interactive worker console for this app, an external curl or synthetic-ingestion test is not an equivalent worker-path test. In that situation, Azure Support would need to inspect the worker’s DNS resolution, outbound connection to port 443, and Functions host telemetry-exporter logs.
Python 3.12 is supported on Flex Consumption. Flex Consumption also does not support pinning the Functions host through FUNCTIONS_EXTENSION_VERSION; it runs a platform-managed supported host version.
For standard Functions host telemetry, an explicit Python Application Insights or OpenTelemetry package is not required when using the built-in Application Insights integration. Application packages are required when the application itself emits custom telemetry or when you intentionally configure OpenTelemetry-based instrumentation.
Also, AppDependencies, AppExceptions, and AppEvents are not necessarily populated for every successful invocation. However, the complete absence of host request/trace telemetry while executions are confirmed is not expected under the documented configuration.
There's no verified official documentation identifying a known general issue specifically affecting standard Application Insights telemetry on Python 3.12 Flex Consumption in Central US.
Given the evidence already collected, I recommend opening an Azure support case and supplying:
- The two exact UTC invocation times.
- Function App, Application Insights, and Log Analytics resource IDs.
- The effective host.json and application settings.
- The Functions host initialization messages.
- The completed telemetry-flow diagnostic results.
- The regional ingestion hostname.
- Confirmation that the external ingestion test succeeded but that no test has yet run inside the actual worker.
Microsoft Support should specifically verify the worker’s telemetry-export pipeline and outbound path to centralus-2.in.applicationinsights.azure.com:443.
References:
Application Insights logs are missing or incorrect for Azure Function App
Troubleshoot missing application telemetry in Application Insights
Configure monitoring for Azure Functions
Azure Functions Flex Consumption plan
Target Azure Functions runtime versions
Microsoft Entra authentication for Application Insights
Help make this community better for everyone: If this answer helped or resolved your issue, please accept it or upvote it. If not, share more details in a comment so we can continue the discussion and find the right solution. Thank you.