Unable to delete full AKS ARC

Elvi Veruari 0 Reputation points
2025-04-22T15:00:53.31+00:00

Hello,

I have an AKS Arc cluster deployed on Azure Stack HCI (version 23H2) using the Jumpstart hcibox.

I am unable to delete the cluster. The resource is stuck in:

  • provisioningState: Deleting
  • status: Offline
  • currentState: Failed

Attempts to delete the cluster via:

  • az aksarc delete
  • az rest with forceDelete=true (API version 2024-07-15-preview)
  • az connectedk8s delete
  • Azure Portal

...all result in: InvalidResourceOperation.

The ConnectedCluster wrapper remains in Azure, even though the following are true:

  • All associated VMs (control plane and nodepool) have already been deleted from Hyper-V / Failover Cluster Manager
  • No deny assignments
  • No locks on the resource
  • No remaining finalizers in the resource JSON

I followed Microsoft’s documented guidance:

I now have two affected clusters:

  1. One where I deleted the VMs before trying to delete the Arc resource — stuck in Deleting
  2. Another where the VMs were still present but deleting from the portal also left it in Deleting
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,385 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.