Troubleshooting .NET Agent in MS Azure web apps

Not receiving agent data

Check the event log if the agent is properly loaded

You can view the event log from the SCM-Dashboard with the Event-Log-Viewer Site Extension. https://{site name}.scm.azurewebsites.net (in other words, add .scm in front of the site name), or just directly access the event log. https://{site name}.scm.azurewebsites.netapi/vfs/LogFiles/eventlog.xml

You should see an entry like the following

If you do not see this, check your COR_XXXXXX application settings.

503 Service Unavailable for Web App and Kudo

The Dynatrace site extension registers IIS modules at installation time. If registration is complete but the actual IIS module files aren’t in place (or corrupt), the Web App may return a 503 Service Unavailable message. Also, the Kudo AppPool is no longer available, which means that you can no longer fix your app. Submit a support ticket if this occurs. You can work around the issue by adding the following setting in Application Settings to effectively deactivate all site extensions:

WEBSITE_PRIVATE_EXTENSIONS=0

This setting provides access to Kudo. Re-install the site extension and set WEBSITE_PRIVATE_EXTENSIONS=1, or remove the setting. Following application restart, everything should work again, including AppMon monitoring.