An Azure service that provides an event-driven serverless compute platform.
Hi @Abhijit Naik ,
Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
The SiteRoutedToIncorrectWorker substatus (503) along with "Runtime version: Error" on the Overview page most commonly points to a mismatch in the app's.NET 8 in-process configuration, so we'd recommend starting there before treating this as a platform-side issue.
1. Verify the .NET 8 in-process settings for the in-process model on .NET 8, three settings must all agree:
-
FUNCTIONS_WORKER_RUNTIME=dotnet -
FUNCTIONS_EXTENSION_VERSION=~4 -
FUNCTIONS_INPROC_NET8_ENABLED=1— this is a dedicated setting required specifically for .NET 8 in-process, and its absence is the most common cause of this exact symptom (host fails to start with a mismatched worker, portal shows Runtime version as "Error").
Also check Configuration > General settings — the .NET version should read ".NET 8 (LTS), in-process model" (netFrameworkVersion = v8.0). If this and the app settings above are out of sync, the platform can allocate the site to an incorrect worker pool, producing the exact 503 you're seeing.
2. Check what may have changed the settings without a publish "No changes on our side" (code/deployment-wise) doesn't rule this out — app settings can change without a code push, e.g. via ARM/Bicep redeployment, Azure Policy remediation, or a manual portal edit. Please check the Activity Log for any Microsoft.Web/sites/config/write operations shortly before the issue started.
3. Stop and start the app (not just Restart) If the settings above are already correct, try a full Stop, then Start (rather than Restart) — this often clears a stale worker allocation, particularly on the Consumption plan where the platform reassigns workers on its own.
4. If the settings are correct and stop/start doesn't help
- Run Diagnose and solve problems > "Function App Down or Reporting Errors" — this will show host start failures and any platform events during the failure window.
- Check the Activity Log for the Function App and its App Service Plan for scale operations or auto-heal actions around the same time.
- Confirm the linked storage account (
AzureWebJobsStorage) is reachable, and its key/connection string hasn't rotated or been blocked — the host depends on this to initialize, and connectivity issues here also surface as "Runtime version: Error." - Check Resource Health (on the Function App) and subscription-level Service Health for any reported incidents in your region around the timestamp.
Separately, worth planning for: the in-process model (and .NET 8 support for it) reaches end of support on November 10, 2026. Regardless of the outcome here, we'd recommend planning a migration to the isolated worker model (.NET 8 or later) well before that date.
Please try the settings verification and stop/start first and let us know the outcome so we can proceed based on your findings.
Please "upvote" if the information helped you. This will help us and others in the community as well.