Unable to delete Virtual Network due to 'invisible' service links

Ashley Grant 0 Reputation points
2024-06-28T14:38:09.37+00:00

Hello Community,

I am trying to delete a Virtual Network, having deleted all associated resources, but I am unable to do so. I receive the following error message:

Failed to delete virtual network ''. Error: Subnet {subnetname} is in use by /subscriptions/{subscriptionid}/resourceGroups/Wordpress/providers/Microsoft.Network/virtualNetworks/{vnetname}/subnets/{subnetname}/serviceAssociationLinks/{servicelinkid} and cannot be deleted. In order to delete the subnet, delete all the resources within the subnet. See aka.ms/deletesubnet.

<<<

I've seen many reports on the Community forums reporting the same issue and I believe that the only way to resolve is for Microsoft to remove the errored link from the backend and that I am unable to resolve that myself within the Azure portal.

If that is the case, I'm looking for a Microsoft rep. to respond and help me out with that.

Thanks very much.

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,256 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Luis Arias 5,901 Reputation points
    2024-06-28T17:41:26.4566667+00:00

    Hi Ashley Grant, Did you already try by the azure resource explorer follow this threath with the example: https://video2.skills-academy.com/en-us/answers/questions/981989/failed-to-delete-the-private-endpoint

    If the information helped address your question, please Accept the answer.

    Luis