Error Code: InjectingIntoNonDelegatedSubnetNotAllowed

Alan Chen 21 Reputation points Microsoft Employee
2022-09-06T10:59:58.647+00:00

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

1 answer

Sort by: Most helpful
  1. Joe Carlyle 661 Reputation points MVP
    2022-09-06T11:43:35.897+00:00

    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 - https://learn.microsoft.com/en-us/azure/virtual-network/subnet-delegation-overview

    0 comments No comments