An Azure service that provides a general-purpose, serverless container platform.
Submit an Azure Container Apps managed-environment-count quota request first; if the request cannot be submitted or does not release the blocked slot, create a support request asking Microsoft to remove the stale environment record and complete the backend deletion.
1. Request the environment-count quota
The error MaxNumberOfGlobalEnvironmentsInSubExceeded explicitly identifies a quota limit. Container Apps documents Managed environment count as a subscription quota handled through Azure Quota Management System (QMS).^1^
- In the Azure portal, search for and open Quotas.
- Set Provider to Azure Container Apps.
- Select the Azure for Students subscription.
- Search for managed environment.
- Check both the relevant regional quota and the global environment quota.
- If an edit pencil is available, request a limit of 2. When increasing a regional environment quota, Microsoft recommends requesting the corresponding global quota increase as well.^2^
Azure’s general quota documentation states that only paid subscriptions can request quota increases through this mechanism.^3^ Therefore, QMS might reject or omit the edit option for Azure for Students. If so, proceed directly to escalation.
2. Request stale-record cleanup through Azure Support
There is no documented customer-accessible command to force-complete an Azure Container Apps backend deletion. A closely matching ScheduledForDelete case describes backend cleanup as the required outcome once the managed environment is orphaned.^4^
A paid technical-support plan is not required for subscription-management requests, including quota adjustments. Azure provides unlimited support for that category.^5^
In the portal:
- Select ? in the global header → Support + Troubleshooting.
- Describe the issue as:
Azure Container Apps managed-environment count remains consumed by an environment stuck in ScheduledForDelete.
- Select Create a support request.
- Choose:
- Issue type:
Service and subscription limits (quotas) - Service/provider:
Azure Container Apps - Subscription: the affected Azure for Students subscription
- Issue type:
- Ask for:
- Completion of the pending managed-environment deletion.
- Removal of the stale environment/quota record.
- Alternatively, a temporary global and regional managed-environment-count increase to 2.
- Include:
- Environment resource ID and name.
- Resource group and source region.
- Deletion timestamp in UTC.
- Delete-operation correlation or operation ID.
- Current
ScheduledForDeletestate. - Exact
MaxNumberOfGlobalEnvironmentsInSubExceedederror. - Target replacement region.
- Production impact.
- Confirmation that the environment has no apps, jobs, VNet integration, private endpoints, or resource locks.
- The managed-certificate deletion error.
Microsoft’s Container Apps escalation guidance specifically requests the resource ID, region, full error, UTC timestamps, and correlation or operation IDs.^6^
Do not post subscription IDs, resource IDs, or correlation IDs publicly in Q&A comments. Supply them only through the private support request.
Actions that do not apply here
The standard documented remediation for an environment stuck in ScheduledForDelete is to delete its associated VNet and then retry environment deletion.^7^ Your environment reports vnetConfiguration: null, so there is no customer VNet to remove. The subnet/service-association-link workaround from other cases is likewise inapplicable.
Do not repeatedly retry deletion or attempt to manipulate the remaining managed certificate. The environment is already processing a delete operation, and the certificate endpoint is rejecting changes because the environment is no longer provisioned. The relevant next action is quota/support escalation, not certificate recreation.
References
- Request quota changes for Azure Container Apps
- Azure Container Apps frequently asked questions (FAQs)
- Quickstart: Request a quota increase in the Azure portal
- Container Apps Managed Environment stuck in ScheduledForDelete for multiple days - Microsoft Q&A
- Create an Azure support request
- Troubleshoot environment capacity errors in Azure Container Apps | Microsoft Learn
- Troubleshoot a container app