Vnet deletion error: InUseSubnetCannotBeDeleted

Madhur Shukla 25 Reputation points Microsoft Employee
2023-01-24T05:55:01.2433333+00:00

Service: Vnet

Operation: Delete

Error: InUseSubnetCannotBeDeleted

Failed to delete subnet 'sn-dev-uks-mxdr-logicapp'. Error: Subnet sn-dev-uks-mxdr-logicapp is in use by rg-dev-uks-mxdr/providers/Microsoft.Network/virtualNetworks/vnet-dev-uks-mxdr/subnets/sn-dev-uks-mxdr-logicapp/serviceAssociationLinks/AppServiceLink'>vnet-dev-uks-mxdr/sn-dev-uks-mxdr-logicapp/AppServiceLink 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.
2,178 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,956 questions
{count} vote

Accepted answer
  1. KapilAnanth-MSFT 35,591 Reputation points Microsoft Employee
    2023-02-03T08:47:12.85+00:00

    @Madhur Shukla

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

    I understand that you are unable to delete your VNet because of a Service Association Link (SAL).

    I suggested we create a service request for this and request our Engineer to delete the SAL from the backend.

    Post which, you were able to delete the VNet successfully.

    I hope we were able to resolve your issue and provide a timely solution.

    Cheers,

    Kapil.


    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.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful