Version 3.0.0 of Microsoft.ApplicationInsights.WorkerService is not compatible with the Azure Functions Worker as reported here and here. There will not be a fix according to this comment. Instead, migrating to OpenTelemetry-based monitoring is advised.
I've written the following instructions for myself to perform a (basic) migration to OpenTelemetry-based monitoring. They are based on:
- Use OpenTelemetry with Azure Functions
- [Tutorial: Monitor Azure Functions with OpenTelemetry distributed tracing](https://learn.microsoft.com/en