Migrate to Standard IP - GatewaySubnet does not have sufficient IP Addresses available.

Amah James 20 Reputation points
2026-06-23T21:33:25.36+00:00

New to Azure. Inherited environment. Received Microsoft notifications that Action required: Migrate your VPN Gateway to Standard Public IP. Attempting the migration using the GUI interface. Validation - Failed. Please take action on the failed resources to resolve.

AddressPrefix Name PrivateEndpoints ProvisioningState PrivateEndpointNetworkPolicies PrivateLinkServiceNetworkPolicies PrivateEndpointsText


{10.96.53.248/29} GatewaySubnet {} Succeeded Enabled Enabled []

{10.96.52.0/24} AZE-Internal {} Succeeded Enabled Enabled []

{10.96.53.0/25} AZE-External {} Succeeded Enabled Enabled []

The subnet is too small . I know the subnet needs to be resized, but worry about effecting production while trying to resize it.

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

Answer accepted by question author
Marcin Policht 109.5K Reputation points MVP Volunteer Moderator
2026-06-23T22:15:03.74+00:00

You can't modify a subnet if there are any resources attached to it - as per https://learn.microsoft.com/bs-latn-ba/azure/virtual-network/virtual-network-manage-subnet?tabs=azure-portal#change-subnet-settings

This means you effectively have two primary options:

  • provision a new VNET with GatewaySubnet of increased size - you can potentially designate it as a "hub" vnet and peer to the existing one (and delete the gateway/GatewaySubnet from it)
  • delete the gateway, recreate GatewaySubnet and redeploy the gateway. A rough timeline should be actually acceptable from the business impact perspective - assuming you're not operating 24/7 - just consider that the public IP address will be changing. More at https://community.spiceworks.com/t/resize-vnet-gatewaysubnet-in-azure/633626

If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

hth

Marcin

Was this answer helpful?

7 people found this answer helpful.

0 additional answers

Sort by: Newest

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.