An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
Hi @Mall Ashi ,
You are asking whether an Application Gateway in subscription X can front an AKS backend in subscription Y, whether the application stays reachable over the public internet, and which Microsoft document supports that. The answer from @Janith Biman covers the peering setup. I am adding three points the thread does not cover yet: the documentation entry that answers the cross-subscription question directly, one product where the answer is different, and what is known about the AGIC add-on across subscriptions.
The documentation entry you asked for
The Application Gateway FAQ has an entry titled "Can Application Gateway communicate with instances outside of its virtual network or outside of its subscription?". It states that with IP connectivity in place, Application Gateway can communicate with instances outside the subscription it is in, and that internal-IP backend members require virtual network peering or a VPN gateway. That is the Microsoft statement for your scenario. The same FAQ confirms that AKS and the gateway may live in separate virtual networks as long as they are peered without overlapping address spaces, and that Application Gateway v2 supports a public frontend, a private frontend, or both, so public reachability is decided at the gateway frontend regardless of where the backend sits.
Where this does not hold: Application Gateway for Containers
If the gateway in question is Application Gateway for Containers rather than the classic v2 SKU, the peering approach is not available. Application Gateway for Containers must be deployed in the same virtual network as the AKS cluster; the documentation lists separate virtual networks, regional VNet peering, and global VNet peering as unsupported. A gateway VNet in subscription X with an AKS VNet in subscription Y is therefore not a supported topology for that product today.
AGIC across subscriptions: Helm versus add-on
For AGIC deployed through Helm, the gateway subscription is an explicit parameter: helm-config.yaml carries an appgw.subscriptionId field for the subscription in which the gateway resides. For the AKS-managed deployment, I found no Microsoft documentation that confirms or excludes a gateway in a different subscription. There is community evidence that it works: the reporter of issue #1737 in the AGIC repository (open, June 2025) runs the gateway and the AKS node pools in different subscriptions and peered VNets with Azure CNI, sees the gateway being updated, and reports the setup working. The one side effect is a FailedCNIConfiguration warning in the AGIC pod: AGIC attempts the kubenet route-table association, builds the route table path with the gateway's subscription ID instead of the cluster's, and receives a 403 on a resource that does not exist there. The FAQ documents this route-table step as relevant for kubenet clusters only, so on Azure CNI the warning is noise. Verify this against your own AGIC pod events before relying on it.
References
- Frequently asked questions about Application Gateway
- Container networking with Application Gateway for Containers
- Install an Application Gateway Ingress Controller using an existing Application Gateway
- AGIC route table warning in multi-subscription and Azure CNI setup (Azure/application-gateway-kubernetes-ingress issue #1737)
Drafted with help from Claude, disclosed per the Q&A AI usage policy. All technical claims checked against the Application Gateway FAQ, the Application Gateway for Containers container-networking page, the AGIC Helm installation guide on Microsoft Learn, and the referenced GitHub issue.