Skip to content

Update roles and permissions for VPN Gateway - #128731

Open
sbravo419 wants to merge 1 commit into
MicrosoftDocs:mainfrom
sbravo419:patch-1
Open

Update roles and permissions for VPN Gateway#128731
sbravo419 wants to merge 1 commit into
MicrosoftDocs:mainfrom
sbravo419:patch-1

Conversation

@sbravo419

Copy link
Copy Markdown

Added information on linked-resource authorization for connections and updated permissions for connection operations.

Added information on linked-resource authorization for connections and updated permissions for connection operations.
@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 26bb678:

⚠️ Validation status: warnings

File Status Preview URL Details
articles/vpn-gateway/roles-permissions.md ⚠️Warning Details

articles/vpn-gateway/roles-permissions.md

  • Line 49, Column 1: [Warning: multiple-h1s - See documentation] Multiple H1s(H1 'Linked-resource authorization for connections') are not allowed. You can only have one top-level heading.

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

@Court72

Copy link
Copy Markdown
Contributor

sbravo419 - Thank you for your contribution. Would you take a moment to sign the Contributor License Agreement (CLA)? After the CLA is signed, someone can review your pull request. Thanks!

@Court72

Copy link
Copy Markdown
Contributor

#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 Aug 25, 2026
@sbravo419

sbravo419 commented Aug 25, 2026 via email

Copy link
Copy Markdown
Author

@prmerger-automator

Copy link
Copy Markdown
Contributor

sbravo419 : 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

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

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.

Note

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

Pull request overview

Updates VPN Gateway roles/permissions documentation to clarify linked-resource authorization requirements for connection operations.

Changes:

  • Expanded required permissions for connection create/update when linked-resource authorization is triggered.
  • Added a new section explaining when linked-resource authorization occurs and what permissions are required.
  • Documented the LinkedAuthorizationFailed failure mode for missing authorization.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

| IP addresses | Use existing| Microsoft.Network/publicIPAddresses/read<br>Microsoft.Network/publicIPAddresses/join/action |
| Local Network Gateway | Create new/ Update existing| Microsoft.Network/localnetworkgateways/write |
| Connection | Create new/ Update existing| Microsoft.Network/connections/write |
| Connection | Create new/ Update existing| Microsoft.Network/connections/write <br> Microsoft.Network/virtualNetworkGateways/write on each linked virtual network gateway when an operation triggers linked-resource authorization |

For more information, see [Azure permissions for Networking](../role-based-access-control/permissions/networking.md) and [Virtual network permissions](../virtual-network/virtual-network-manage-subnet.md#permissions).

# Linked-resource authorization for connections
Comment on lines +55 to +61
- Microsoft.Network/connections/write on the connection

- Microsoft.Network/virtualNetworkGateways/write on each linked virtual network gateway identified by the operation

This requirement can apply to connection configuration changes, including but not limited to custom IPsec/IKE policy changes. It does not necessarily mean that the virtual network gateway ARM resource is directly modified; the permission authorizes the operation against the linked gateway.

If authorization is missing, the operation fails with LinkedAuthorizationFailed. The error identifies the required action and linked resource scope.
@v-dirichards

Copy link
Copy Markdown
Contributor

aybatra Duong Au (@duongau)

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

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.

6 participants