Azure Virtual Network Gateway connection in failed state but working

briac texier 6 Reputation points
2020-09-07T07:36:06.177+00:00

Hello,

I setup my S2S VPN few month ago, connection is working, but I now notice in the portal, the connection is in failed state. I don't know if it has somehow any impact on performance or availability of our services, but it is still quite annoying to have this alert even though everything looks ok to me.

I tried already to reset the tunnel to switch from one gateway instance to the other, but it didn't help.

Does anyone have ever encounter a similar behavior ?

thanks!

briac

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

4 answers

Sort by: Most helpful
  1. Alinne Silva 21 Reputation points
    2022-07-08T12:43:06.463+00:00

    Had the same problem, with the ms support help we fix it by re-setting the connections using powershell

    First:
    $connection = Get-AzVirtualNetworkGatewayConnection -Name VpnConnectionName -ResourceGroupName VpnConnectionResourceGroupName

    Then:
    Set-AzVirtualNetworkGatewayConnection -VirtualNetworkGatewayConnection $connection

    4 people found this answer helpful.

  2. Rik Ribbers 66 Reputation points
    2021-09-13T08:56:54+00:00

    Had the same issue, portal status was restored using the following steps (from MS support):

    Link :https://resources.azure.com/ and follow the steps as:
    Step 1 >>Login into the subscription id>>Resource Provider>>Microsoft network.
    Step 2>>Go to the VPN Gateway>>Connection .
    Step 3>>Choose Read/Write>>Edit the Provisioning manually to Succeeded State>> Put.

    However root-cause (why has the state become failed is still unkown.

    1 person found this answer helpful.

  3. suvasara-MSFT 10,011 Reputation points
    2020-09-08T11:22:32.513+00:00

    Greetings,

    Did you try resetting you VPN gateway in this case? If not, you can give a try. Resetting an Azure VPN gateway is helpful if you lose cross-premises VPN connectivity on one or more Site-to-Site VPN tunnels.

    Note: When you reset the gateway, it reboots the gateway, and then reapplies the cross-premises configurations to it.

    Here Is the article that describes about steps that must be placed before resetting a VPN gateway.

    ----------

    Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.

    0 comments No comments

  4. briac texier 6 Reputation points
    2020-09-08T18:00:04.637+00:00

    Hello,

    yes, I already tried resetting the VPN gateway, but it didn't help.

    Also, I check the gateway healthprobe and I do receive a successful response...
    https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-troubleshoot-site-to-site-cannot-connect#step-7-verify-the-azure-gateway-health-probe

    I don't have any UDR or NSG on the subnet where the route based policy gateway is deployed...

    0 comments No comments