Error Code: InjectingIntoNonDelegatedSubnetNotAllowed

Alan Chen 21 Reputation points Microsoft Employee

We deploy virtual network via Arm API but got this error InjectingIntoNonDelegatedSubnetNotAllowed with error like (Service xxx/xxx , xxx/xxx cannot inject into non-delegated subnet /xxx/xxx/xxx,). Anyone know what might cause this issue? And how to prevent it? Thanks.

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,135 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Joe Carlyle 661 Reputation points MVP

    A common example would be trying to attach an App Service to a subnet using vnet delegation. The subnet target needs to be delegated to the Microsoft.Web service.

    See more on subnet delegation here -

    0 comments No comments