Share via

Failed to delete virtual network

Johnata Matos 20 Reputation points
2024-01-03T19:56:53.0433333+00:00

Hi Folks,

I have two Vnets that do not delete. These Vnets were created with Wordpress. I've tried deleting these vnets in every way, but they won't delete them. Apparently the problem is related to a delegation subnet that has Microsoft.DBforMySQL/flexibleServer, but all related resources have already been deleted. I've even tried to recreate the WebApp, but without success. Is there anything else I can do to try to delete it?

This is a Visual Studio Enterprise subscription, so I cannot open a ticket with Microsoft.

Thank you for the support

Failed to delete virtual network 'VirtualNetwork.ReactView'. Error: Subnet hdpictures-223167a705-dbsubnet is in use by /subscriptions/3229f8c6-6b63-4cdf-9b94-4e567be3408b/resourceGroups/E-Commerce/providers/Microsoft.Network/virtualNetworks/hdpictures-19fb62cf5d-vnet/subnets/hdpictures-223167a705-dbsubnet/serviceAssociationLinks/6385d07c-7e07-5138-b301-df963f2c5aba-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.


Answer accepted by question author

ChaitanyaNaykodi-MSFT 27,671 Reputation points Microsoft Employee Moderator
2024-01-03T21:21:28.4+00:00

@Johnata Matos

Thank you for reaching out.

Yes, as suggested by @Paul den Haan

As the deletion blocked in the backend a support request will be required here to remove the subnet delegation and to delete the Virtual Network.

Could you please send an email to azcommunity@microsoft.com with the details below so that I can enable a one-time free support ticket for you in this case.

Subject : Attn Chaitanya

Thread URL: Link to this thread.

Subscription ID

Please let me know once you have done the same.

Hope this helps! Please let me know if you have any additional questions. Thank you! 

Was this answer helpful?


0 additional answers

Sort by: Most helpful

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.