• /
  • Log in
  • Free account

Azure Web Apps: Using Always On and no data appears

Important

Beginning with .NET agent version 8.22.181.0, 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.

Problem

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.

Cause

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.

Solution

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.

For more help

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

Create issueEdit page
Copyright © 2021 New Relic Inc.