Unable to delete virtual network due to error of AppServiceLink

kien.ndm 21 Reputation points
2020-12-14T10:07:46.87+00:00

When I try to delete my virtual network by remove subnet related delegations, then the below error arises related to AppServiceLink

BadRequestError: Subnet /subscriptions/[...]/resourceGroups/disabled/providers/Microsoft.Network/virtualNetworks/vnet-drug/subnets/snet-taskjobs requires any of the following delegation(s) [Microsoft.Web/serverFarms] to reference service association link /subscriptions/[...]/resourceGroups/Disabled/providers/Microsoft.Network/virtualNetworks/vnet-drug/subnets/snet-taskjobs/serviceAssociationLinks/AppServiceLink.

Since I cannot delete the AppServiceLink which no longer exists above, please help.

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

1 answer

Sort by: Most helpful
  1. suvasara-MSFT 10,041 Reputation points
    2020-12-14T16:18:47.72+00:00

    @kien.ndm , It happens when you delete the AppService first without deleting the associated app service link. Could you please drop a mail to azcommunity@microsoft.com with the following details? We will delete that from the backend.

    ----------

    Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.

    0 comments No comments

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.