An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
Hi @JJ Streicher-Bremer,
Welcome to Microsoft Q&A Platform.
If the VPN Gateway remains stuck in the Migrating state for an extended period, you can abort the migration using the Azure CLI command provided below.
az network vnet-gateway migration abort --gateway-name "gateway-Name" --resource-group "rg-name" --no-wait
Once the abort operation completes successfully.
Please use below command to delete the Gateway.
az network vpn-gateway connection delete -g MyRG -n MyConnection --gateway-name MyGateway
For Migration review the following migration considerations before attempting the migration again. First, validate that your resource is eligible for migration:
- Before initiating VPN Gateway migration, ensure that the GatewaySubnet has at least three available IP addresses within the current address prefix.
- If your GatewaySubnet is /28 or smaller, the migration tool may fail. In this case, add multiple prefixes for subnet to expand the subnet to /27 or larger before retrying the migration.
- If ExpressRoute and VPN Gateway coexist, it is recommended to first migrate Basic IP resources to Standard IP on the VPN Gateway before proceeding with migration.
Ref: az network vpn-gateway connection delete
About migrating a Basic SKU public IP address to Standard SKU
Please
and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.