This repository was archived by the owner on Jul 5, 2020. It is now read-only.

Description
-
Create 4.6 Web Application, enable Application Insights SDK 2.2 Beta 4 and specify in Global.asax.cs:
-
TelemetryConfiguration.Active.InstrumentationKey = "ikey1";
-
Publish to Azure WebApp and verify that telemetry is being sent to ikey1
-
Add AppSetting to WebApp: APPINSIGHTS_INSTRUMENTATIONKEY pointing to ikey2
Expected: telemetry continues to be sent to ikey1, because settings in code take priority
Actual: telemetry now is being sent to ikey2, while QuickPulse events continue to go to ikey1.