You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Troubleshoot auto-instrumentation in Azure Application Insights
4
+
ms.topic: conceptual
5
+
ms.date: 02/28/2022
6
+
---
7
+
8
+
# Troubleshooting
9
+
10
+
This article will help you troubleshoot problems with auto-instrumentation in Azure Application Insights.
11
+
12
+
> [!NOTE]
13
+
> Auto-instrumentation used to be known as "codeless attach" before October 2021.
14
+
15
+
## Telemetry data is not reported after enabling auto-instrumentation
16
+
17
+
Review these common scenarios if you've enabled Azure Application Insights auto-instrumentation for your app service but do not see telemetry data reported.
18
+
19
+
### The Application Insights SDK was previously installed
20
+
21
+
Auto-instrumentation will fail for .NET and .NET Core apps if they were already instrumented with the SDK.
22
+
23
+
Remove the Application Insights SDK if you would like to auto-instrument your app.
24
+
25
+
### An app was published using an unsupported version of .NET or .NET Core
26
+
27
+
Verify a supported version of .NET or .NET Core was used to build and publish applications.
28
+
29
+
Refer to the .NET or .NET core documentation to determine if your version is supported.
30
+
31
+
-[Application Monitoring for Azure App Service and ASP.NET](azure-web-apps-net.md#application-monitoring-for-azure-app-service-and-aspnet)
32
+
-[Application Monitoring for Azure App Service and ASP.NET Core](azure-web-apps-net-core.md#application-monitoring-for-azure-app-service-and-aspnet-core)
33
+
34
+
### A diagnostics library was detected
35
+
36
+
Auto-instrumentation will fail if it detects the following libraries.
37
+
38
+
- System.Diagnostics.DiagnosticSource
39
+
- Microsoft.AspNet.TelemetryCorrelation
40
+
- Microsoft.ApplicationInsights
41
+
42
+
These will need to be removed for auto-instrumentation to succeed.
43
+
44
+
## Additional help
45
+
46
+
If you have questions about Azure Application Insights auto-instrumentation, you can post a question in our [Microsoft Q&A question page](/answers/topics/azure-monitor.html).
0 commit comments