I am trying to work with Application Insights on the Azure preview portal and with the Visual Studio 2015 community version. I am facing three different problems that I suspect are related to each other. I am wondering if others are facing these problems.
In one of my test web applications, the App-Insight tool partially works. In another, I get errors regarding irrevocable data. Third, I encountered deployment errors when I use App-Insight with resources in a new resource group.
In this question I will tell all three, because I suspect that they may have the same reason.
Partial results
The very first application that I tried to update using the application really works and displays telemetry visualization of the applications ... or at least it basically works. Half of the telemetry data shows, and the rest do not.

The setup sequence was as follows:
I started by installing the Mobile-MVC sample application that was published in this MSDN Magazine article from June 2015. After making responsive pages, I decided to pass the VS code online to GIT, and then deploy it as an Azure web application.
Then I followed the View Logs instructions in Application Insights and ran an application that successfully launches the browser and allows me to interact with the site. However, during this exercise I get tons of exceptions displayed in the Visual Studio output window. I have included a small fragment here, in which I highlighted the most interesting two parts:
Excluding selected: "System.MethodAccessException" in Microsoft.ApplicationInsights.Extensibility.DependencyCollector.dll exception: "Exception System.TypeInitializationException" in Microsoft.ApplicationInsights.Extensibility.DependencyCollector.dll exception: "Exception System.TypeInitializationException" in Microsoft.ApplicationInsights.Extensibility .DependencyCollector.dll ApplicationInsightsHttpModule could not be initialized with an exception: System.TypeInitializationException: A type initializer for Microsoft.ApplicationInsights.Extensibility.DependencyCollector.Tracing.DependencyCollectorEventSource 'made an exception. ---> System.MethodAccessException: attempted using the method "Microsoft.ApplicationInsights.Extensibility.DependencyCollector.Tracing.DependencyCollectorEventSource..ctor ()" to access the method "Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing.ApplicationNameProvider.. )" failed.
in Microsoft.ApplicationInsights.Extensibility.DependencyCollector.Tracing.DependencyCollectorEventSource..ctor () in Microsoft.ApplicationInsights.Extensibility.DependencyCollector.Tracing.DependencyCollectorEventSource..cctor () --- End of internal check for exception stackAppIights --- in Microsoft. Extensibility.DependencyCollector.DependencyTrackingTelemetryModule.Initialize (Configuration TelemetryConfiguration) in Microsoft.ApplicationInsights.Extensibility.Implementation.TelemetryConfigurationFactory.InitializeComponents (IEnumerable components, TelemetryConfiguration configuration) in Microsoft.ApplicationInsights.Extensibility.Implementation.TelemetryConfigurationFactory.InitializeComponents (TelemetryConfiguration configuration) in Microsoft.ApplicationInsights .Extensibility.Implementation.TelemetryConfigurationFactory.Initialize (TelemetryConfiguration Configuration) at Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration.get_Active () at Microsoft.ApplicationInsights.Extensibility.Web.ApplicationInsightsHttpModule..ctor ()
[msg = Log Error]; [msg = System.TypeLoadException: Failed to load type "Microsoft.ApplicationInsights.Channel.JsonSerializer" from the assembly "Microsoft.ApplicationInsights, Version = 1.2.0.5639, Culture = neutral, PublicKeyToken = 31bf3856ad364e35. into Microsoft.ApplicationInsights.Extensibility.Web. Implementation.TelemetrySerializer.d__0.MoveNext () in System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start [TStateMachine] (TStateMachine & stateMachine) in 1 items) at Microsoft.ApplicationInsights.Extensibility.Web.Implementation.TelemetryBuffer.<>c__DisplayClass5.<FlushAsync>b__3() at System.Threading.Tasks.Task 1.InnerInvoke () in System.Threading.Tasks.Task.Execute () --- End of stack trace from the previous place where the exception was thrown --- in System.Runtime.Compile rServices.TaskAwaiter.ThrowForNonSuccess (task task) in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (Task task) in Microsoft.ApplicationInsights.Extensibility.Web.Implementation.TelemetryBoveName.oveext place_ovenerd where the exception was thrown --- in System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (task task) in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (Task task) in Microsoft.ApplicationInsights.EtTask. <> c__DisplayClass1. <b__0> d__3.MoveNext ()]
My Azure portal receives telemetry on some things, but not others. In short, the ability to perform telemetry is crippled, as the above exceptions suggest.
Now for the next problem.
New Resources Group
Using the preview portal, I created a new resource group called "SandBox". Using the preview portal again, I made a new web application called ScratchWeb, which I assigned to the Sandbox resource group.
Ultimately, the deployment of the web resource is completed, but there is an associated application permeability resource called "Microsoft.WebSite3cb98c31-893c" that is automatically created that experiences a dozen time-out errors before it is eventually declared as a failed deployment. Below I show an example of one of the timeout errors, as well as the final error, which gives some key information.
Operation Id 1E2094CECE6531F1 Tracking Id 31283062-9061-4dcf-bd42-f9885abbf596 Status GatewayTimeout Provisioning State Running Timestamp β9β/β28β/β2015β β10β:β37β:β59β βPM Duration PT30.7117477S Type microsoft.insights/components Resource Id /subscriptions/da769a1f-78d8-4d45-b9b3-c15ea0c89ca2/resourceGroups/SandBox/providers/microsoft.insights/components/ScratchWeb StatusMessage {"code":"GatewayTimeout","message":"Request timed out","innererror":{"diagnosticcontext":"034b642f-aece-494b-9ede-f8b015f5bfeb","time":"2015-09-29T05:37:59.8355234Z","data":"d0fe44bb-8317-4359-bf2c-160f1eb00433"}} Resource ScratchWeb
And here is the final error error message:
Operation Id 1E2094CECE6531F1 Tracking Id 08dbbf0a-0d4a-4692-9b1a-3603a984d40d Status Conflict Provisioning State Failed Timestamp β9β/β28β/β2015β β10β:β48β:β16β βPM Duration PT10M47.5300298S Type microsoft.insights/components Resource Id /subscriptions/da769a1f-78d8-4d45-b9b3-c15ea0c89ca2/resourceGroups/SandBox/providers/microsoft.insights/components/ScratchWeb StatusMessage {"code":"The component already existed in a different resource group.","message":"The component already existed in a different resource group.","innererror":{"diagnosticcontext":"9ea42d3d-4dbf-46e8-a188-eac09a4ddb09","time":"2015-09-29T05:48:15.7282268Z"}} Resource ScratchWeb
Is it because the preview of "Application Insights" cannot work across multiple resource groups, or is it because my subscription does not allow it?
The strangest part is that after the deployment of the app-insights FINALLY resource failed, it nonetheless seems to have been created and does not appear inside my Application Insights resource collection.
Now the last problem ...
Source Resource Group
If I try to create a new website in my existing default web application resource group ... then none of the above problems will occur. Unfortunately, I have another problem. The application insight resource localizer tells me to receive errors when it tries to show me diagrams. On the other hand, Visual Studio tells me that everything is in order ... it says something like "congratulations, you published the first data on the permeability of the application."


So, in the end, I only have one web application with visible App-Insight results, and these results are crippled. My attempt to create a 2nd working web application with an intuitive interface was unsuccessful, despite the fact that I used an existing resource group or tried a new one.
In Visual Studio 2015, I used two different approaches to try adding the App-Insight SDK. I tried to add it to my web project after the fact, and I also tried to add it from a new project template. The only scenario in which I got something to work is when I applied the first post-fact website app with the App-Insight SDK. Unfortunately (1) these results were crippled and (2) as I described above, I canβt even achieve βcripplingβ results a second time. So, now the ability of App-Insight is not working for me.