Skip to content

Clarify that publicNetworkAccess is not applicable for APIM Premium V2 VNet-injected instances - #128611

Open
Shikha Sinha (shksin) wants to merge 1 commit into
MicrosoftDocs:mainfrom
shksin:patch-3
Open

Clarify that publicNetworkAccess is not applicable for APIM Premium V2 VNet-injected instances#128611
Shikha Sinha (shksin) wants to merge 1 commit into
MicrosoftDocs:mainfrom
shksin:patch-3

Conversation

@shksin

Copy link
Copy Markdown
Contributor

Users deploying API Management Premium v2 with Internal VNet injection attempt to set publicNetworkAccess=Disabled expecting to lock down public access, and are confused when it has no effect on traffic behaviour (and is rejected by ARM at
creation time). The docs do not currently explain that this property is only relevant for instances using inbound private endpoints.

With Internal VNet injection, the gateway endpoint is assigned a private IP address only and has no public IP. The network perimeter is controlled entirely through NSG rules and VNet routing. Setting publicNetworkAccess to either Enabled or
Disabled on a VNet-injected instance has no effect on traffic behaviour.

Clarified note on public network access for VNet injection.
@prmerger-automator

Copy link
Copy Markdown
Contributor

Shikha Sinha (@shksin) : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

@prmerger-automator

Copy link
Copy Markdown
Contributor

Shikha Sinha (@shksin) : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 869d82c:

✅ Validation status: passed

File Status Preview URL Details
articles/api-management/virtual-network-concepts.md ✅Succeeded

For more details, please refer to the build report.

@v-regandowner

Copy link
Copy Markdown
Contributor

Pat Altimore (@PatAltimore)

Can you review the proposed changes?

IMPORTANT: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@prmerger-automator prmerger-automator Bot added the aq-pr-triaged tracking label for the PR review team label Jul 3, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Clarifies that publicNetworkAccess does not affect API Management Premium v2 instances using Internal VNet injection, and that inbound exposure is controlled via VNet/NSG configuration.

Changes:

  • Add a NOTE explaining publicNetworkAccess is not applicable for Internal-mode VNet injection
  • Clarify that NSGs and VNet routing define the network perimeter for VNet-injected instances

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

:::image type="content" source="./media/inject-vnet-v2/vnet-injection.png" alt-text="Diagram of injecting an API Management instance in a virtual network to isolate inbound and outbound traffic." :::

> [!NOTE]
> When using VNet injection (Internal mode), the `publicNetworkAccess` property is not applicable. The network perimeter is controlled by the customer through NSG rules and VNet routing. Setting `publicNetworkAccess` to either `Enabled` or `Disabled` on a VNet-injected instance has no effect on traffic behaviour.
:::image type="content" source="./media/inject-vnet-v2/vnet-injection.png" alt-text="Diagram of injecting an API Management instance in a virtual network to isolate inbound and outbound traffic." :::

> [!NOTE]
> When using VNet injection (Internal mode), the `publicNetworkAccess` property is not applicable. The network perimeter is controlled by the customer through NSG rules and VNet routing. Setting `publicNetworkAccess` to either `Enabled` or `Disabled` on a VNet-injected instance has no effect on traffic behaviour.
:::image type="content" source="./media/inject-vnet-v2/vnet-injection.png" alt-text="Diagram of injecting an API Management instance in a virtual network to isolate inbound and outbound traffic." :::

> [!NOTE]
> When using VNet injection (Internal mode), the `publicNetworkAccess` property is not applicable. The network perimeter is controlled by the customer through NSG rules and VNet routing. Setting `publicNetworkAccess` to either `Enabled` or `Disabled` on a VNet-injected instance has no effect on traffic behaviour.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Shikha Sinha (@shksin), Thanks for the edit. I made some suggestions based on the Copilot feedback. Verified your change with the product team. Thanks, Pat

:::image type="content" source="./media/inject-vnet-v2/vnet-injection.png" alt-text="Diagram of injecting an API Management instance in a virtual network to isolate inbound and outbound traffic." :::

> [!NOTE]
> When using VNet injection (Internal mode), the `publicNetworkAccess` property is not applicable. The network perimeter is controlled by the customer through NSG rules and VNet routing. Setting `publicNetworkAccess` to either `Enabled` or `Disabled` on a VNet-injected instance has no effect on traffic behaviour.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
> When using VNet injection (Internal mode), the `publicNetworkAccess` property is not applicable. The network perimeter is controlled by the customer through NSG rules and VNet routing. Setting `publicNetworkAccess` to either `Enabled` or `Disabled` on a VNet-injected instance has no effect on traffic behaviour.
> When using VNet injection (Internal mode), the `publicNetworkAccess` property is not applicable. The network perimeter is controlled using NSG rules and VNet routing. Setting `publicNetworkAccess` to either `Enabled` or `Disabled` on a VNet-injected instance has no effect on traffic behavior.

@v-dirichards

Copy link
Copy Markdown
Contributor

Shikha Sinha (@shksin) Can you respond to the requested changes or let us know if you would like us to commit them?

Pat Altimore (@PatAltimore) - When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@PatAltimore

Copy link
Copy Markdown
Contributor

Hi Shikha Sinha (@shksin),

Can you commit the suggested changes? Once committed, I can sign off on the PR.

Thanks,
Pat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants