Please help as I am kept billed.
I cannot delete a resource group.
(A few days ago I deleted ssh keys on my local machine and decided to delete a resource group because I lost an access to it. Some VMs were running.)
When pressing the delete button to remove the resource group, the system is keeping deleting for a while and then through an error.
When I am trying to delete instances inside the resource group the errors are been kept arising.
- Network security group -- when deleting, a pop-up says "cannot delete network security group. network security group cannot be deleted when in use by subnet or network interface"
Public IP address -- when deleting, error arises
"Failed to delete public IP address 'edgePublicIP'. Error: Public IP address edgePublicIP can not be deleted since it is still allocated to resource /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxx/resourceGroups/AZURE_LAB1/providers/Microsoft.Network/networkInterfaces/edgeVMNic/ipConfigurations/ipconfigedge. In order to delete the public IP, disassociate/detach the Public IP address from the resource. To learn how to do this, see aka.ms/deletepublicip."
Virtual network -- when deleting,
"Failed to delete virtual network 'AZURE_LAB1_vnet'. Error: Subnet EMEA_AZURE_LAB1_adm_subnet is in use by /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourceGroups/AZURE_LAB1/providers/Microsoft.Network/networkInterfaces/edgeVMNic/ipConfigurations/ipconfigedge and cannot be deleted. In order to delete the subnet, delete all the resources within the subnet. See aka.ms/deletesubnet."
-- when dissociating -- nothing happens.
All Network interfaces are already deleted.
Subnets on instances are deleted, except of 2 subsets on 1 instance, which has no option to get deleted.
Also tried CLI commands -- did not work.
Has anybody encountered similar problem?