Share via

Error Deleting Subnet

Lucario 41 Reputation points
2021-09-03T07:52:34.647+00:00

When trying to delete a subnet in Azure, I get the following message: Failed to delete subnet 'devops-subnet'. Error: 'Subnet test-rg-devops/providers/Microsoft.Network/virtualNetworks/Devopsvnet/subnets/devops-subnet'>Devopsvnet/devops-subnet requires any of the following delegation(s) [Microsoft.Web/serverFarms] to reference service association link

Azure Functions
Azure Functions

An Azure service that provides an event-driven serverless compute platform.

0 comments No comments

Answer accepted by question author

Taz 9,366 Reputation points MVP Volunteer Moderator
2021-09-03T07:54:31.21+00:00

Hello Lucario!

You can try the below mentioned workaround.

  1. Create App Service Plan with the same name as the deleted one
  2. Create App Service with the same name as the deleted one
  3. Link App Service with the VNET subnet
  4. Disconnect VNet from App Service -> Networking -> VNet integration -> Disconnect
  5. Delete subnet

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.