Can I override default routes for the vnet injected APIM instance towards the Hub firewall

Rajesh Swarnkar 1,256 Reputation points
2026-09-09T09:30:44.51+00:00

Is this ok to override default routes for the vnet injected Azure API Management instance towards the Hub firewall? As per the Hub and Spoke Design. I am required to use APIM in Internal Mode (Vnet Injected) with an internal App Gateway in its front. @kagiyama yutaka

Azure API Management
Azure API Management

An Azure service that provides a hybrid, multi-cloud management platform for APIs.

0 comments No comments

Answer accepted by question author
Tejaswini Billakurthi 250 Reputation points Microsoft External Staff Moderator
2026-09-09T09:52:03.38+00:00

Hello @Rajesh Swarnkar

Thank you for reaching out to Microsoft Q & A!

Yes, this is a supported and commonly used Hub-and-Spoke architecture pattern. A VNet-injected Azure API Management (APIM) instance can use User Defined Routes (UDRs) to override the default route and direct outbound traffic through a central Azure Firewall or Network Virtual Appliance (NVA).

However, you must ensure that APIM management traffic and required platform dependencies remain reachable through appropriate firewall rules, service tags, service endpoints, or route exceptions. Blocking or incorrectly routing required APIM dependencies can result in deployment, update, management, or runtime issues.

References:

These documents describe the supported use of custom routing and the network dependencies that must remain accessible when APIM is deployed in a virtual network.

Please "Upvote the Answer" if this information helped you. This will help us and others in the community as well.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. kagiyama yutaka 5,330 Reputation points
    2026-09-09T11:30:13.8733333+00:00

    APIM’s data‑plane can go through the hub firewall, but the management path can’t be forced‑tunneled. Which mode are you using, and how are the management endpoints routed? That’s the bit that decides if the UDR override is safe or not.

    Was this answer 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.