Unable to delete azure virtual network from azure portal

Narayan Mitra 0 Reputation points
2025-01-19T12:14:39.2+00:00

I have created azure virtual network for poc purpose. I have finished the poc and now trying to delete the VNET but portal is unable to delete resource.

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,616 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Marcin Policht 33,775 Reputation points MVP
    2025-01-19T12:18:25.4933333+00:00

    Follow https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-troubleshoot-cannot-delete-vnet


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin

    0 comments No comments

  2. Praveen Bandaru 265 Reputation points Microsoft Vendor
    2025-01-20T06:43:20.14+00:00

    Hi Narayan Mitra

    Greetings!

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

    Adding additional information for above response.

    I understand that you are attempting to delete the VNET, but it is not being deleted. In the meantime, please follow these troubleshooting steps:

    • Check if there are any subnets present within the VNET. If subnets are present, verify if there are any connected resources and delegations within the subnet.
    • If any subnets are present, please try to delete them and share the screenshot with us.
    • In the VNET overview page, go to the connected resources on the left-hand side. If you see any connected resources, please delete them first.
    • Click on the subnet and check if there are any delegations associated with it. If any are present, set them to none and save.

    Note: If there are no delegations or connected resources, you should be able to delete the VNET.

    For more information kindly check the below reference document: https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-troubleshoot-cannot-delete-vnet


    Hope this clarifies!

    If above is unclear and/or you are unsure about something add a comment below.

    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.

    Regards,

    Praveen


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.