An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
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