Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article discusses how to identify and resolve the InUseRouteTableCannotBeDeleted
error that occurs when you try to delete a Microsoft Azure Kubernetes Service (AKS) cluster.
Symptoms
When you try to delete an AKS cluster, you receive the following error message:
Error Code: "InUseRouteTableCannotBeDeleted"
{
"Route table aks-agentpool-routetable is in use and cannot be deleted. ...../providers/Microsoft.Network/routeTables/aks-agentpool-test-routetable"
}
Cause
You tried to delete the AKS cluster while its associated route table was still in use.
Solution
Remove the associated route table from the subnet. For instructions, see Dissociate a route table from a subnet. Then, try again to delete the AKS cluster.
Contact us for help
If you have questions or need help, create a support request, or ask Azure community support. You can also submit product feedback to Azure feedback community.