Application Insights not being updated after releasing new version of .NET Framework app service

Tom 26 Reputation points
2025-05-02T09:50:15.79+00:00

I released a new version of .NET Framework Web API to an Azure app service and the telemetry reported to Application Insights on Azure has drastically reduced. The app appears to be running fine but a lot of the requests previously being logged are no longer being shown.

I have the health check turned on and those request used to be logged. They are still being sent but are no longer shown in Application Insights.

Is there a configuration setting I should be looking for?

User's image

Developer technologies | ASP.NET | ASP.NET API
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Raymond Huynh (WICLOUD CORPORATION) 620 Reputation points Microsoft External Staff
    2025-07-18T09:23:07.88+00:00

    Hello Tom,

    When you release a new version of your .NET Framework Web API to Azure App Service and notice that Application Insights is no longer logging as many requests as before, but your app still seems to be running fine, it’s usually a configuration or instrumentation issue.

    Here are a few things to check:

    1. Instrumentation Key / Connection String: Make sure your Application Insights instrumentation key or connection string is still correctly set in your app settings or configuration files. Sometimes, these can get overwritten or missed during deployment.
    2. Telemetry Modules: If you’re using custom telemetry modules or have changed your Application Insights configuration, double-check that all the necessary modules are enabled and configured. For example, if you want to track requests, the RequestTrackingTelemetryModule should be active.
    3. Health Check Filtering: Azure App Service health checks can sometimes be filtered out from Application Insights, especially if you’ve updated your configuration or are using a newer SDK version. Check if there are any filters or sampling settings that might be excluding these requests.
    4. Sampling Settings: Application Insights uses sampling to reduce the amount of telemetry sent. If your sampling rate is set too high, you might not see all requests. Review your sampling configuration to ensure it’s not filtering out too much data.
    5. SDK Version: If you updated the Application Insights SDK or made changes to your dependencies, make sure you’re using a compatible version and that it’s properly initialized in your application.
    6. Restart the App Service: Sometimes, a simple restart of your Azure App Service can resolve telemetry issues after a deployment.

    Summary:

    • Double-check your Application Insights configuration and keys.
    • Review your telemetry modules and sampling settings.
    • Make sure nothing is filtering out the requests you want to see.
    • Restart your app if you haven’t already.

    If you’ve checked all these and still have issues, try enabling verbose logging for Application Insights to see if there are any errors or warnings during telemetry submission.

    Hope this helps!


Your answer

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