The error message suggests that you're GatewaySubnet doesn't exist in the Virtual Network. Have you confirmed that you have a GatewaySubnet created?
Create virtual network gateway in existing vnet fail
Bykadorov Oleg
20
Reputation points
Resource /subscriptions/5d9df1dd-9802-4a4e-81cd-643636c47ae7/resourceGroups/Test_RG/providers/Microsoft.Network/virtualNetworks/Hub-Vnet/subnets/GatewaySubnet referenced by resource /subscriptions/5d9df1dd-9802-4a4e-81cd-643636c47ae7/resourceGroups/Test_RG/providers/Microsoft.Network/virtualNetworkGateways/Hub-VGW was not found. Please make sure that the referenced resource exists, and that both resources are in the same region. Click here for details
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,762 questions
Accepted answer
1 additional answer
Sort by: Most helpful
-
Adammm 6 Reputation points
2024-09-26T12:02:32.6633333+00:00 In the current (26.09.2024) version of Azure, there is a dedicated button to create gateway subnet with correct subnet name.