unable to delete virtual network connected device. the device is not in a subscription we own and might be a left over from a migration.

2024-10-04T18:11:38.1933333+00:00

unable to delete virtual network connected device. the device is not in a subscription we own and might be a left over from a migration.

Executed delete command on 1 selected items

Succeeded: 0, Failed: 1, Canceled: 0.

Error details

aks-vnet-38556967: Subnet aks-subnet is in use by /subscriptions/648f22cd-d090-46da-865e-f7280d5353a5/resourceGroups/TMSTEST-RZWPHMLGWYO8RNZLTLQCDU594QQAIFEM7MIUEEBKOR/providers/Microsoft.Network/networkInterfaces/|PROVIDERS|MICROSOFT.COMPUTE|VIRTUALMACHINESCALESETS|GWHOST|VIRTUALMACHINES|1|NETWORKINTERFACES|GWHOST-NIC/ipConfigurations/GWHOST-IPCONFIG and cannot be deleted. In order to delete the subnet, delete all the resources within the subnet. See aka.ms/deletesubnet. (Code: InUseSubnetCannotBeDeleted)

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,427 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.