Azure function app suddenly started showing Error text in Runtime version

Abhijit Naik 0 Reputation points
2026-08-21T13:34:56.6633333+00:00

My Azure function app suddenly started showing Error text in Runtime version. Azure function app is .Net 8 - In process model. When I am trying to test it using Postman it shows 503 SiteRoutedToIncorrectWorker - The service is unavailable.

We have not done any changes in the configuration or published the changes to function app.

Azure Functions
Azure Functions

An Azure service that provides an event-driven serverless compute platform.


1 answer

Sort by: Most helpful
  1. Fabian 80 Reputation points
    2026-08-21T13:51:43.52+00:00

    Hi @Abhijit Naik ,

    The substatus SiteRoutedToIncorrectWorker is not publicly documented, but its name and the symptom point to the routing layer. The frontend placed your site on a worker that does not match the app's configuration. That would also explain the "Error" in the Runtime version field, since the worker cannot start the host with the app's current settings.

    For .NET 8 in-process, three settings must agree:

    1. Environment variables: FUNCTIONS_WORKER_RUNTIME = dotnet, FUNCTIONS_EXTENSION_VERSION = ~4, and FUNCTIONS_INPROC_NET8_ENABLED = 1. The last one is required for .NET 8 in-process and is the most common cause when missing [1].
    2. Configuration > General settings: the .NET version must read ".NET 8 (LTS), in-process model" (netFrameworkVersion = v8.0). If this and the environment variables disagree, the site can end up in the wrong worker pool.
    3. Stop and start the app, not just Restart. In practice this often clears a stale allocation, particularly on the Consumption plan, where the platform reassigns workers on its own.

    "No changes on our side" does not rule this out. Worker allocation is platform-side, and settings can change without a publish: ARM/Bicep redeployments, Azure Policy remediation, or a manual edit. Check the Activity Log for Microsoft.Web/sites/config/write operations shortly before the failures began.

    If all settings are correct and stop/start does not help, run Diagnose and solve problems > "Function App Down or Reporting Errors" [2], check Azure Service Health for your region, and open a support ticket. With this substatus and no changes on your side, a platform-side issue is plausible.

    Independent of the fix: the in-process model and .NET 8 both leave support on 10 November 2026, so plan the migration to the isolated worker model [3] soon regardless. I am publishing a step-by-step migration guide for this path (.NET 8 in-process to .NET 10 isolated) on my blog next week and will add the link here once it is live.

    References:

    Was this answer helpful?


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.