We have an Azure web app with AI configured.
The module from AI is added like this:
<modules >
<remove name="ApplicationInsightsWebTracking" />
<add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" preCondition="managedHandler" />
</modules>
We want the precondition, because we don't want static files to be captured but when using the precondition, https traffic never gets captured, while http traffic does.
Any ideas how to use the precondition="managed" but making sure https traffic is also captured by AI?