Solution skill
Azure Service Bus quota: messaging units, connections, and queue limits
Complete solution
QuotaExceededException on Service Bus is a namespace throughput or entity-count limit, not a subscription quota. Scale messaging units or split namespaces; retries will not help.
TL;DR: QuotaExceededException on Service Bus is a namespace throughput or entity-count limit, not a subscription quota. Scale messaging units or split namespaces; retries will not help.
The fix
- Messaging units (Premium) / throughput units (Standard). Each unit is a bundle of throughput and connections. Sustained 429s + quota errors = add units:
az servicebus namespace update -g [rg] --name [ns] --sku Premium --capacity 2. - Connections per namespace. 1,000 (Basic/Standard) to higher on Premium. One AMQP connection per sender/receiver adds up fast in microservices; share clients.
- Entities per namespace. 10,000 queues+topics on Premium. Dynamic per-tenant queue creation without cleanup hits this.
- Message size. 256 KB Standard, 100 MB Premium (with caveats). Oversize messages fail at send with a clear error; chunk or use claim-check (store payload in Blob, send the reference).
- Lock duration vs processing. Not a quota, but the classic companion: lock expires before processing finishes, message redelivers, duplicates spike. Raise lock duration or shrink the work unit. Diagnose: namespace metrics (throttled requests, connections, CPU) in the portal show which limit is binding. Do not raise units blindly; a connection leak looks like a throughput problem until you check the connection count.
When to use this
- This covers exactly what the title says: Azure Service Bus quota.
- You are setting this up for the first time, or auditing an existing setup.
- You want the key gotchas in one place before you start.
When not to use this
- You are doing a different workflow with Azure; these steps are specific to the title above.
- You need the full reference docs; this is the short path, not the manual.
Compatibility
- Not pinned to a specific version; follows current Azure behavior.
Evidence
Proactive error-catalog skill. Service Bus limits verified against current messaging docs. Evidence: https://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-python-how-to-use-queues
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_dNI_ty-BztoGh3IHW_KP4w" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Azure Service Bus quota: messaging units, connections, and queue limits <span>— Vectle</span></a>