unable to delete my resources

Anubhav Shrivastava 1 Reputation point
2022-11-11T05:20:22.623+00:00

I have been trying to delete my resource groups, but I have been getting error

Succeeded: 0, Failed: 2, Canceled: 0.
Error details
cassandra: Gateway authentication failed for 'Microsoft.DocumentDB'. Diagnostic information: timestamp '20221111T051717Z', tracking id '554f02c9-da99-4569-9122-1abe20f353b2', request correlation id '0f46b751-0e55-4801-a37b-5d36d45d1bf1'. (Code: GatewayAuthenticationFailed)
csVnet: Subnet default is in use by /subscriptions/cceb9ea7-6d29-4bc5-9606-dea18740fc25/resourceGroups/nc-cassandra-ac95f36eba5e4557be9b5d0da5fe3274/providers/Microsoft.Network/networkInterfaces/|providers|Microsoft.Compute|virtualMachineScaleSets|cassandra-jump|virtualMachines|0|networkInterfaces|cassandra-jump-nic/ipConfigurations/cassandra-jump-ipconfig and cannot be deleted. In order to delete the subnet, delete all the resources within the subnet. See aka.ms/deletesubnet. (Code: InUseSubnetCannotBeDeleted)

I have tried multiple stuffs. I am being charged exorbitant amount and I am unable to delete.
Please help me delete everything from Azure.

Community Center | Not monitored
0 comments No comments
{count} votes

12 answers

Sort by: Most helpful
  1. Anubhav Shrivastava 1 Reputation point
    2022-11-11T05:26:01.077+00:00

    259367-screenshot-2022-11-11-at-105416-am.png

    These are the above two resources which are not getting deleted.

    Succeeded: 0, Failed: 1, Canceled: 0.
    Error details
    cassandra: Gateway authentication failed for 'Microsoft.DocumentDB'. Diagnostic information: timestamp '20221111T052352Z', tracking id 'd16e3a03-dc92-45ea-8cbc-5449f65f3ebf', request correlation id '3f5b8582-e80c-4228-84ac-7fca65d5cf3c'. (Code: GatewayAuthenticationFailed)

    Failed to delete virtual network
    Failed to delete virtual network 'csVnet'. Error: Subnet default is in use by /subscriptions/cceb9ea7-6d29-4bc5-9606-dea18740fc25/resourceGroups/nc-cassandra-ac95f36eba5e4557be9b5d0da5fe3274/providers/Microsoft.Network/networkInterfaces/|providers|Microsoft.Compute|virtualMachineScaleSets|cassandra-jump|virtualMachines|0|networkInterfaces|cassandra-jump-nic/ipConfigurations/cassandra-jump-ipconfig and cannot be deleted. In order to delete the subnet, delete all the resources within the subnet. See aka.ms/deletesubnet.

    0 comments No comments

  2. Iresh Nisal Punchihewa 1 Reputation point
    2022-11-11T06:43:10.33+00:00

    Hi,

    There are some resources that are still using the subnet, which you trying to delete. If you are not using those resources, please try to remove them, But be careful when deleting them.

    as per the information you have posted seems like more than 1 resource is attached to the Subnet. go to the resource group and see which resource/s is listing and try to remove them first, then try to remove the subnet again.

    on you tenant go to - resourceGroups/nc-cassandra-ac95f36eba5e4557be9b5d0da5fe3274

    seems like some network interfaces and IP configurations are there.

    See more about edit Subnets - Add, change, or delete a virtual network subnet

    Please remember to mark the answer if it helps!!

    Thanks,
    Nisal

    0 comments No comments

  3. Anubhav Shrivastava 1 Reputation point
    2022-11-11T06:54:17.863+00:00

    Hi,
    There is another resouce which is using it: But when i try to delete it or click on it, i get below error:

    259310-screenshot-2022-11-11-at-122251-pm.png

    Gateway authentication failed for 'Microsoft.DocumentDB'. Diagnostic information: timestamp '20221111T065236Z', tracking id '9b63ed11-1423-44d3-a93c-57cc0e47a1c0', request correlation id '9b63ed11-1423-44d3-a93c-57cc0e47a1c0'. (Code: GatewayAuthenticationFailed)

    0 comments No comments

  4. Iresh Nisal Punchihewa 1 Reputation point
    2022-11-11T07:07:30.053+00:00

    Hi,
    I think It's Already deleted, try to remove your browser cache and reload the page. Then check the notification icon and see if there are any pending tasks or ongoing tasks remaining.

    Hope this will work. :D

    Thanks.
    Nisal.

    0 comments No comments

  5. Anubhav Shrivastava 1 Reputation point
    2022-11-11T07:22:30.57+00:00
    0 comments No comments

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.