VPN Gateway should be successfully provisioned

High Azure General vpngateways-vpn-gateway-successfully-provisioned

Applies to

  • Microsoft.Network/vpnGateways

What CGPulse checks

A resource passes this rule when provisioningState must equal Succeeded. Anything else is reported as a finding with the evaluated property value attached as evidence.

How to fix it

Resolve provisioning failures to ensure the VPN Gateway is operational. In Azure Portal: VPN Gateway > Overview > check provisioning state. See: https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-troubleshoot

CLI

az network vpn-gateway show --ids "{id}" --query "provisioningState" -o tsv

Bicep

// Provisioning failures cannot be fixed via Bicep property changes.
// Check Azure Activity Log for the specific error, common causes:
// - Subnet conflicts or missing GatewaySubnet
// - Quota exceeded for public IPs or gateway resources
// - Region capacity issues
// Re-deploy the gateway after resolving the underlying issue

Terraform

# Provisioning failures cannot be fixed via Terraform property changes. # Check Azure Activity Log for the specific error, common causes: # - Subnet conflicts or missing GatewaySubnet # - Quota exceeded for public IPs or gateway resources # - Region capacity issues # Re-apply the Terraform config after resolving the underlying issue

Compliance frameworks

Vendor documentation

Is your environment compliant with this rule?

CGPulse checks it — and 621 others — against your Azure and AWS accounts with read-only access.

Run a free scan

Related Azure rules

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please reload the page.