I have been waiting 6 days now for MS to answer my support ticket in this.
My webapp with .net (framework) code deployed on it and Agent-based application monitoring is turned on as described here (https://learn.microsoft.com/en-us/azure/azure-monitor/app/azure-web-apps?tabs=net#enable-application-insights) . But AI is not giving any data. I checked all the settings and they seem correct, but there is nothing. Also on live telemetry I get this error "Not available: your app is offline or using an older SDK".
These are the appsettings:
[
{
"name": "APPINSIGHTS_INSTRUMENTATIONKEY",
"value": "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx",
"slotSetting": true
},
{
"name": "APPINSIGHTS_PROFILERFEATURE_VERSION",
"value": "1.0.0",
"slotSetting": true
},
{
"name": "APPINSIGHTS_SNAPSHOTFEATURE_VERSION",
"value": "1.0.0",
"slotSetting": true
},
{
"name": "APPLICATIONINSIGHTS_CONNECTION_STRING",
"value": "InstrumentationKey=<secret>",
"slotSetting": false
},
{
"name": "ApplicationInsightsAgent_EXTENSION_VERSION",
"value": "~2",
"slotSetting": true
},
{
"name": "DiagnosticServices_EXTENSION_VERSION",
"value": "~3",
"slotSetting": true
},
{
"name": "InstrumentationEngine_EXTENSION_VERSION",
"value": "~1",
"slotSetting": true
},
{
"name": "SnapshotDebugger_EXTENSION_VERSION",
"value": "~1",
"slotSetting": true
},
{
"name": "UmbracoServerRegister",
"value": "slave",
"slotSetting": false
},
{
"name": "WEBSITE_ENABLE_SYNC_UPDATE_SITE",
"value": "true",
"slotSetting": false
},
{
"name": "XDT_MicrosoftApplicationInsights_BaseExtensions",
"value": "disabled",
"slotSetting": true
},
{
"name": "XDT_MicrosoftApplicationInsights_Java",
"value": "1",
"slotSetting": false
},
{
"name": "XDT_MicrosoftApplicationInsights_Mode",
"value": "recommended",
"slotSetting": true
},
{
"name": "XDT_MicrosoftApplicationInsights_NodeJS",
"value": "1",
"slotSetting": true
},
{
"name": "XDT_MicrosoftApplicationInsights_PreemptSdk",
"value": "disabled",
"slotSetting": true
}
]