Cannot delete VNET in Azure?

Petteri 0 Reputation points
2025-12-03T12:47:26.2633333+00:00

Cannot delete VNET in Azure? Error message: In order to delete the subnet, delete all the resources within the subnet.

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.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ravi Varma Mudduluru 3,930 Reputation points Microsoft External Staff Moderator
    2025-12-03T12:52:48.9333333+00:00

    Hello @Petteri,

    Thanks for reaching out to Microsoft Q&A.

    As we discussed. Create a new App Service Plan and App Service using the same names as the deleted ones, integrate the App Service with the VNet subnet, then disconnect the VNet integration and delete the subnet.

    Reference Thread: https://v4.hkg1.meaqua.org/en-us/answers/questions/140197/unable-to-delete-vnet-due-to-serviceassociationlin

    Kindly let us know if the above helps or you need further assistance on this issue.
    Please "Accept the Answer" if the information helped you. This will help us and others in the community as well.

    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.