Hello Briot, Sébastien,
Please perform the steps here: Troubleshooting: Failed to delete a virtual network in Azure
That should work!
Regards,
Abiola
You can mark it 'Accept Answer' and upvote if this helped.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I would like to delete a vNet in a resource group. Everything as been deleted but vNet can't be deleted.
Do you any solution to share ?
Thanks
Hello Briot, Sébastien,
Please perform the steps here: Troubleshooting: Failed to delete a virtual network in Azure
That should work!
Regards,
Abiola
You can mark it 'Accept Answer' and upvote if this helped.
Hello @Briot, Sébastien ,
Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.
I understand that you would like to delete an Azure Vnet in a resource group, but Vnet cannot be deleted, even when everything within the Vnet has been deleted.
You already tried all the troubleshooting steps listed in the below document, but it didn't help:
You are getting the below error when you are using Diagnose and solve problems in the Vnet:
"We've discovered that resources related to this issue are out-of-sync with Azure Resource Manager. We have now synced them to resolve the issue. No additional actions are required on your part."
I have seen this error mostly in cases where the virtual network was integrated with a web app in the past, then the web app was deleted without disconnecting the VNet integration.
You could try the workaround listed in the below document, if not tried already:
In case you have already tried the above workaround and it failed or you encounter issues while following the above steps or you didn't have a webapp/any Vnet integrated resource or don't remember the resource name, we would need to raise a support request to remove the orphaned link or connection from the backend.
So, if you have a support plan, I request you file a support ticket, else please do let us know, we will try and help you get a one-time free technical support.
In case you need help with a one-time free technical support, please reply to the private message with the requested details.
Kindly let us know if the above helps or you need further assistance on this issue.
Please don’t forget to "Accept the answer" wherever the information provided helps you, this can be beneficial to other community members.