Upgrading VPN Gateway SKU to VpnGw1AZ fails with "Deployment Validation Failed"

JFNK 71 Reputation points
2026-07-05T13:12:26.4766667+00:00

I am trying to upgrade our VPN Gateway from VpnGw1 to VpnGw1AZ, in line with Microsoft's notice that this should be done before the end of September.

The instructions for this are here...

https://learn.microsoft.com/en-gb/azure/vpn-gateway/gateway-sku-upgrade

.. and it should be a simple matter of selecting the correct SKU in the dropdown in the VPNGateway | Configuration menu.

When I do this, and click "Save" I get the following error:

"Deployment validation failed.

Additional details from the underlying API that might be helpful: The template deployment 'VirtualNetworkGatewayUpdate-20260705134433' is not valid according to the validation procedure.

The following resource provider(s) - 'Microsoft.Network/virtualNetworkGateways (2025-05-01)' reported preflight validation errors. Tracking id is 'cbb5658b-42d0-4cd3-b837-ff944d266873'. See inner errors for details."

I can't find any further details or logs of the failure (CoPilot directed me to "Deployments" in the relevant Resource Group, but no entries existed for the failed attempts).

Can anyone advise what the problem may be, and/or any workaround to get the change in place?

In the URL above, it says "You can upgrade a SKU in the Azure portal, or by using PowerShell or the Azure CLI". I would try the PowerShell method as an alternative but I can't find any guidance on how to do do this. The URL only describes the Azure Portal method. Can anyone provide any info on this?

Thanks

Jeremy

Azure VPN Gateway
Azure VPN Gateway

An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Nathan Roberts (SN) 13,356 Reputation points Student Ambassador Volunteer Moderator
    2026-07-05T14:31:39.2166667+00:00

    Hey there, JFNK

    I can't find any further details or logs of the failure (CoPilot directed me to "Deployments" in the relevant Resource Group, but no entries existed for the failed attempts).

    I think what is happening is the upgrade is failing before the ARM creates a deployment. This would explain why nothing is showing under deployments in the resource group. So this shows it is the pre validation stage that is failing, which is why you got the following error:

    The following resource provider(s) - 'Microsoft.Network/virtualNetworkGateways (2025-05-01)' reported preflight validation errors. Tracking id is 'cbb5658b-42d0-4cd3-b837-ff944d266873'. See inner errors for details."

    When looking researching this, it looks as though the ARM API blocked it before deployment, which happens when the existing gateway configuration is incompatible with the AZ SKU.

    This means that your gateway subnet maybe too small. to upgrade the VPN Getaway SKU, it requires the gateway subnet to have at least a /27 or larger subnet. This is because it must have at least 3 available IP addresses. More information on this can be found here: https://learn.microsoft.com/en-us/azure/vpn-gateway/basic-public-ip-migrate-about#considerations

    It may be worth checking your subnet to see if it is /27 or larger. The article mentions creating multiple prefixes for a submit from within the article linked.

    n the URL above, it says "You can upgrade a SKU in the Azure portal, or by using PowerShell or the Azure CLI". I would try the PowerShell method as an alternative but I can't find any guidance on how to do do this. The URL only describes the Azure Portal method. Can anyone provide any info on this?

    While the article does suggest you can upgrade the SKU using the PowerShell, I can't find any documentation that tells you how to do this. However, I did come across this article which may be useful: https://learn.microsoft.com/en-us/azure/vpn-gateway/gateway-sku-consolidation

    Also, for future readers, upgrading the SKU does not change the public IP address, the gateway keeps the same IP address.

    Hope this helps,
    Nathan

    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.