Share via

How do I delete a sub-net

Ashraful Islam 0 Reputation points
2023-08-07T08:57:47.7833333+00:00

I can't find the dependent resources under this subnet

Failed to delete subnet 'abc-cd34d1b68c-dbsubnet'. Error: Subnet abc-cd34d1b68c-dbsubnet is in use by res-wp-abc/providers/Microsoft.Network/virtualNetworks/abc-cb2fd0d2e2-vnet/subnets/techvolex-cd34d1b68c-dbsubnet/serviceAssociationLinks/xx-xx-xx-xx-sal'>abc-cb2fd0d2e2-vnet/abc-cd34d1b68c-dbsubnet/xx-xx-xx-xx-xx-sal and cannot be deleted. In order to delete the subnet, delete all the resources within the subnet. See aka.ms/deletesubnet.

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.


1 answer

Sort by: Most helpful
  1. KapilAnanth 49,876 Reputation points Moderator
    2023-08-16T16:05:53.72+00:00

    @Ashraful Islam

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.

    This happens when a VNET Integrated resource gets deleted before removing the VNET Integration.

    In your case, it appears to be a "Microsoft.DBforMySQL/flexibleServers"

    We connected offline and a Support Engineer was able to delete the SAL post which you should be able to delete the subnet.

    Kindly let us know if you need further assistance on this issue.

    Thanks,

    Kapil


    Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.

    Was this answer helpful?

    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.