Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure: Failed to add delegation to the existing subnet

I'm trying to include in an app service an existing VNET but I have this issue:

Failed to add delegation to the existing subnet.: Delegations of subnet /subscriptions Cannot be changed from [] to [Microsoft.Web/serverfarms] because it is being used by the resource

Azure Limitation ? How many resources can be used by one VNET ?

like image 637
Julien Avatar asked Sep 18 '19 01:09

Julien


People also ask

What is Delegation in Azure subnet?

Subnet delegation enables you to designate a specific subnet for an Azure PaaS service of your choice that needs to be injected into your virtual network. Subnet delegation provides full control to the customer on managing the integration of Azure services into their virtual networks.

How many subnets can I create per VNet in Azure?

During the creation of a VNet while using the Azure portal, the requirement is for you to define one subnet, even though a VNet isn't required to have any subnets. In the portal, you can define only one subnet when you create a VNet.


Video Answer


1 Answers

The limit is that you have to use an unused subnet for your app service integration When you add VNet (preview) in the networking configuration of app service. Please check if you have any VM resources in that subnet. If it is, you could create an empty subnet for the VNet integration. Read more details here.

enter image description here

like image 156
Nancy Xiong Avatar answered Oct 09 '22 22:10

Nancy Xiong