I have added ApplicationInsights to my application and can host it locally and see the telemetry reaching my Application Insight Resource. However, when I deploy my application to the Azure App Service Application Insights stops working.
I have managed to trace this to the ApplicationInsights.config file not being read/used. I serialized the `TelemetryConfiguration.Active` object and wrote it to a log file locally and on Azure. The local file corresponds to my settings in ApplicationInsights.config,
the on on Azure does not.
In fact I can reproduce what is created on Azure locally if I delete the ApplicationInsights.config. So it's kind of a fall back configuration I guess?
The file looks to be in the correct place on Azure App Service (in the root folder with the web.config).
I'll be happy to provide more details if someone is able to help.
Thanks!