Azure Functions Elastic Premium app stops at 20 instances despite 50-instance limits and much higher target worker count?

Prachita Mane 0 Reputation points Microsoft Employee
2026-07-23T05:34:18.6966667+00:00

We have a production Windows Azure Functions app on an EP3 Elastic Premium plan in West US 3. It consistently stops at approximately 20 live instances while processing a sustained Azure Service Bus backlog, even though both the Function App scale limit and App Service Plan maximum elastic worker count are configured as 50.

Runtime target-based scaling appears healthy. Application Insights repeatedly reports:

Target worker count for function 'Host.Functions.CompileShaders' is '1786' (MessageCount='1786', Concurrency='1').

The Service Bus extension is version 5.24.0, runtime scale monitoring is enabled, and host.json intentionally sets maxConcurrentCalls to 1 because each compilation is long-running and CPU/memory intensive. Infrastructure deployment completed successfully and applied the Function App scale limit of 50. No private endpoint or inbound access restriction is defined for the Function App.

Expected: the requested worker count should be clamped to 50 and the app should continue scaling toward that limit.

Actual: the app remains at approximately 20 instances while the backlog and target worker count remain high.

This appears to require examination of Azure backend worker-allocation logs and the effective platform limit for the app/plan. Could a Microsoft engineer please escalate this to a private Azure technical support case? We can privately provide the subscription ID, resource IDs, Terraform apply output, target-worker telemetry, and instance-count graph.

User's image

Azure Functions
Azure Functions

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


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.