Create virtual network gateway in existing vnet fail

Bykadorov Oleg 20 Reputation points
2023-10-28T20:44:54.6566667+00:00

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
0 comments No comments
{count} votes

Accepted answer
  1. Chris Hailes 80 Reputation points
    2023-10-29T00:14:46.0166667+00:00

    The error message suggests that you're GatewaySubnet doesn't exist in the Virtual Network. Have you confirmed that you have a GatewaySubnet created?

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. 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.

    User's image

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.