Share via

Cannot delete orphaned AKS managed resource group — cross-subscription VMSS references blocking deletion

James Spibey 20 Reputation points
2026-03-19T12:12:41.38+00:00

We have an orphaned <personal details > in our IDSS Production subscription that we cannot delete. The parent AKS cluster resource group (blackrock-5c8917e4-rg) no longer exists in our subscription.

The resource group contains 4 resources: <personal details>

When attempting to delete the remaining resources, we receive errors stating they are in use by virtual machine scale sets in <personal details >

We do not recognise <personal details >and do not have access to it. We do not recognise the name "blackrock" as any project, client, or vendor we work with. The resource group tags indicate source: terraform.

Request:

Please help us remove the cross-subscription VMSS references so we can delete these orphaned resources, or delete the resources on our behalf.

Actions already attempted:

  1. az group delete — resource group stuck in "Deleting" state
  2. Individual resource deletion — blocked by cross-subscription VMSS references
  3. Checked for resource locks — none found
  4. Confirmed parent AKS cluster RG does not exist in our subscription
Azure Kubernetes Service
Azure Kubernetes Service

An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.


Answer accepted by question author
  1. Himanshu Shekhar 5,245 Reputation points Microsoft External Staff Moderator
    2026-03-19T18:03:09.1033333+00:00

    The resources you are seeing are not unused or stuck. They are automatically created by Azure Container Apps as part of its setup.  

    When you create a Container Apps environment, Azure internally creates and manages an AKS cluster for you.

    • The AKS cluster runs in a Microsoft‑managed subscription
    • Some networking resources are created in your subscription
    • Because of this design, these resources cannot be deleted separately

    To remove these resources completely, you must delete the main Container Apps environment (i.e idss-mig-cae) and once the parent Container Apps resource is deleted, Azure will automatically clean up the related AKS and networking resources.

     

    Note - If you want to remove that RG MC_*** from subscription, you will have to delete the parent Containers app resource /subscriptions/f53****rg/providers/Microsoft.App/managedEnvironments/idss********, but might not want to do that if currently using that resource.

     This behavior is expected and by design.

     

    0 comments No comments

0 additional answers

Sort by: Most 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.