Azure Web Apps: Using Always On and no data appears

Beginning with .NET agent version, Azure's Always On setting may be enabled without interfering with the agent. If you'd like to use Always On, simply update the agent.

If your application targets .NET Framework 4.0 or lower, Always On will still interfere with the agent and the workarounds below are still applicable.


You installed New Relic's .NET agent through Microsoft Azure Web Apps and are using Azure's Always On setting. After generating some traffic and waiting a few minutes for data collection to start for your app, data still does not appear in the APM user interface.


If no data appears within five minutes, Azure's Always On setting may be conflicting with New Relic. This feature is only available in Azure's Basic and Standard modes.

The Always On setting prevents the environment variable APP_POOL_ID from being set. New Relic's .NET agent needs this environment variable to get the app name. If the agent cannot determine an application name, then it won't start up.


If you are using Microsoft's Standard or Basic tiers with the Azure Portal, ensure that the Always On setting is disabled.

  1. In the Azure Portal, select (your app) > Settings > Application Settings.
  2. Set the Always On toggle to Off.

Other options

Here are some other options you can try. If these do not work, you must turn off the Always On setting.

Use Kudu to name your app.

To name your application in the local newrelic.config using Kudu:

  1. From the Microsoft Azure Portal, select (your app) > Tools > Kudu, then select Go.
  2. Select Debug Console > CMD.
  3. Select Site > wwwroot > newrelic.
  4. Select the edit pencil icon for newrelic.config, and add:

      <name> Your app's name </name>
  5. Save and restart your application.
Use app/web.config to name your app.

This option has been found to only be a temporary fix. The .NET agent may stop reporting intermittently.

To name your application in its app/web.config file:

  1. Add the following key to appSettings:

      <add key="NewRelic.AppName" value="Your app's name" />
  2. Restart your instance.
Use Synthetic monitoring to monitor your website.

Depending on your usage of Always On, you can try using Synthetic monitoring to keep your website active.

  • If you are not using the Always On setting, you can try using the Synthetic monitoring free pinger monitor.
  • If you are using the Always On setting, Synthetic monitoring needs to be able to reach an endpoint for your worker roles. If it can't, you can try using a Synthetics scripted monitor to run on your site.

For more help

If you need more help, check out these support and learning resources: