Unable to add First virtual network Gateway connection

Junaid Subhani 36 Reputation points
2022-04-09T16:53:26.287+00:00

Hello I have configured a Virtual Network Gateway.

I have also configured a Local Network Gateway. I am now trying to add a connection. In the list of Choose Virtual Network Gateway, I can see my desired Virtual Network Gateway

191555-screen-shot-2022-04-09-at-125049-pm.png

I click on it and it returns me to the previous page and it doesnt get added.

191503-screen-shot-2022-04-09-at-125206-pm.png

Is there something ive missed or configured ?

My virtual network is associated to the virtual network gateway

191515-screen-shot-2022-04-09-at-125636-pm.png

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.
1,379 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ChaitanyaNaykodi-MSFT 22,701 Reputation points Microsoft Employee
    2022-04-12T03:26:32.84+00:00

    Hello @Junaid Subhani , Welcome to the Microsoft Q&A forum.

    This issue might be a transient portal issue. Can you try creating the connection using PowerShell and see if you observe any errors?

    By following the documentation here, you can refer to commands below.

    $gateway1 = Get-AzVirtualNetworkGateway -Name <GWName> -ResourceGroupName <RG>  
    $local = Get-AzLocalNetworkGateway -Name <LNGName> -ResourceGroupName <RG>  
    New-AzVirtualNetworkGatewayConnection -Name VNet1toSite1 -ResourceGroupName <RG> `  
    -Location $Location -VirtualNetworkGateway1 $gateway1 -LocalNetworkGateway2 $local `  
    -ConnectionType IPsec -ConnectionProtocol IKEv2 -RoutingWeight 10 -SharedKey 'abc123'  
    

    If you do not have a PowerShell environment set-up locally. You can try Cloud Shell to run these commands.

    1 person found this answer helpful.
    0 comments No comments