An Azure service that provides an event-driven serverless compute platform.
Yes. An Azure Functions app that uses the isolated worker model is expected to run under the Azure Functions host, not as a classic WebJob process on a plain App Service.
The failure is consistent with that mismatch:
- The isolated worker model requires a Functions host/worker arrangement.
- The worker expects host-provided configuration, including
Functions:Worker:HostEndpoint. - If only the worker executable is started directly, that host-side configuration is missing, so startup fails with the
HostEndpointerror.
The documented deployment model for isolated-worker Functions is Azure Functions, with these required platform settings:
-
FUNCTIONS_WORKER_RUNTIME=dotnet-isolated - On Windows,
netFrameworkVersionset to the desired version - On Linux,
linuxFxVersionset to the correct base image such asDOTNET-ISOLATED|8.0
Those are Function App runtime settings, not classic WebJob settings.
The deployment payload is also Functions-specific. The published output for isolated-worker deployment includes files such as:
-
.azurefunctions/ -
extensions.json -
functions.metadata -
host.json -
worker.config.json - the project executable
That packaging is for Azure Functions deployment. The docs describe deploying to Azure Functions, not to App_Data\jobs\continuous\... as a WebJob.
The migration guidance also shows that moving from in-process/WebJobs-style packages to isolated worker requires code and project changes specific to Azure Functions:
- remove
Microsoft.Azure.WebJobs.*references - use
Microsoft.Azure.Functions.Worker - add
Program.csfor the isolated worker host - update function attributes to
[Function] - set
FUNCTIONS_WORKER_RUNTIMEtodotnet-isolated
The troubleshooting guidance explicitly states that changing only settings or only code causes startup failure because isolated worker requires both application changes and platform configuration updates. It also lists missing Program.cs, wrong packages, and execution-model mismatch as common causes when an app fails to start after switching to dotnet-isolated.
So the practical conclusion is:
- A
dotnet-isolatedAzure Functions app should be deployed to Azure Functions infrastructure. - Deploying that same build as a classic continuous WebJob on a plain App Service is not a supported runtime model in the provided documentation.
- The repeated
Functions:Worker:HostEndpointcrash is expected when the isolated worker is launched without the Azure Functions host.
If the goal is to keep running on plain App Service as a background process, the matching technology in the documentation is Azure WebJobs, which is a separate App Service feature for background tasks. If the goal is to run isolated-worker Functions, the target should be a real Function App resource with the required Functions runtime settings.
References: