I see a role in Application Insights called: unknown_service:Microsoft.Azure.WebJobs.Script.WebHost

Domenic Helfenstein 26 Reputation points
2026-06-22T11:48:58.2733333+00:00

Hi

As I wrote in the title I see something called "unknown_service:Microsoft.Azure.WebJobs.Script.WebHost" is connected to my application insights. I have already two services (1 regular app service and 1 azure function service) wired up to this app insights instance. At first glance, it looks like unknown_service:Microsoft.Azure.WebJobs.Script.WebHost stems the functions service, but I'm not sure about that.

What can I do about it?

Azure Monitor
Azure Monitor

An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.


Answer accepted by question author
Christos Panagiotidis 3,551 Reputation points
2026-07-15T08:39:11.44+00:00

This is not a third Azure resource or an error. unknown_service:Microsoft.Azure.WebJobs.Script.WebHost is OpenTelemetry’s fallback service name for the WebJobs Script Host, the process used by Azure Functions and WebJobs. Since your App Service contains a continuous WebJob and both apps send to the same Application Insights resource, that WebJob is the likely source.

Set a stable role name on the resource that emits it. For OpenTelemetry, add OTEL_SERVICE_NAME=timerocket-backend-webjob to the Web App’s application settings, use a different value on the Function App, then restart both apps. Application Insights uses service.name as the Cloud Role Name.

You can confirm the producer first by filtering Logs for that cloud_RoleName and comparing cloud_RoleInstance and sdkVersion while stopping and starting the WebJob. Existing telemetry keeps the old label; only new data uses the new name.

Was this answer helpful?

2 people found this answer helpful.

0 additional answers

Sort by: Oldest

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.