VPN Gateway KO, it cannot even be reset

Roberto Cantù 0 Reputation points
2025-04-30T19:27:47.02+00:00

My VPN Gateway stopped working, now is even refusing to be reset.
I tried removing the P2S configuration, I think it still pending, which should be the reason why the reset request is bounced. But I requested the deletion of the P2S configuration more than 1 hour ago.

Any suggestion ? Thank you

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

1 answer

Sort by: Most helpful
  1. Rohith Vinnakota 4,350 Reputation points Microsoft External Staff
    2025-04-30T20:33:07.4133333+00:00

    Hi @Roberto Cantù

    I understand that you're having a tough time with your VPN Gateway since it's not responding to reset requests, and there's a possibility that the P2S configuration is still pending. Here are some suggestions you can try:

    1. Check Status: First, verify the status of your VPN Gateway from the Azure portal. Check if there's any indication that the P2S configuration is still in progress or if there are any error messages that could provide more insight.
    2. Force a check on Pending Operations: Sometimes, operations can get stuck. You might want to try refreshing the portal or using Azure PowerShell or CLI to check if there are any pending operations. You can use:
         Get-AzVirtualNetworkGateway -Name <YourGatewayName> -ResourceGroupName <YourResourceGroupName>
      
    3. Reset VPN Gateway Using PowerShell or CLI: If the status shows that there's no longer a pending operation but the reset still doesn’t work, you can force a reset through PowerShell or the Azure CLI.
      • PowerShell:
             Reset-AzVirtualNetworkGateway -ResourceGroupName <YourResourceGroupName> -Name <YourGatewayName>
        
    4. Azure CLI:
         az network vnet-gateway restart --name <YourGatewayName> --resource-group <YourResourceGroupName>
         
         
      

    Kindly let us know if the above helps or you need further assistance on this issue.


    Please do not forget to "Accept the answer” and “Yes” wherever the information provided helps you, this can be beneficial to other community members.


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.