How to delete an ExpressRoute Connection with status Failed ?

2020-08-17T07:33:06.57+00:00

I need to delete an ExpressRoute Virtual Network Gateway.
When I press Detele it shows 'Fail to delete network gateway' because there is still a connection active.

But the deployment of this connection has status 'Failed'. The connection never exists.
(that was the reason I want to delete it all).

Because the connection has status 'Failed' I can not do anything with it.
When I select the connection I get the error 'Not found' error code 404.
So I can not delete the connection. And therefore not the virtual gateway.
All the time my account is billed for the virtual gateway.

How can I solve this deadlock?

17972-image.png

17926-image.png

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,256 questions
Azure ExpressRoute
Azure ExpressRoute
An Azure service that provides private connections between Azure datacenters and infrastructure, either on premises or in a colocation environment.
340 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. GitaraniSharma-MSFT 49,006 Reputation points Microsoft Employee
    2020-08-17T08:36:02.397+00:00

    Hello @Carlo van Wordragen, VodafoneZiggo ,

    Please try the below provided steps:

    Open a web browser and navigate to https://resources.azure.com
    Log-in to the appropriate Azure account
    In the blade on the left side of the browser, expand subscriptions, then expand the desired subscription name
    In the blade on the left side of the browser, expand resource groups
    Under resource groups, expand the proper Resource Group Name
    Under the Resource Group, expand providers
    Under providers, expand Microsoft.Network
    Under Microsoft.Network, expand Connections
    Under Connections, check and see if you are able to find the "azure-vngw-con-01" connection.

    If you find the connection:
    Near the top of the content window of the browser, select the Read/Write push button
    Select the Actions(POST, DELETE) tab and click on Delete.
    Once this connection is deleted, you can retry to delete the gateway.

    If you do not find the connection:
    Under Microsoft.Network, expand virtualNetworkGateways, select the "azure-vngw-01" gateway and Select the Actions(POST, DELETE) tab and click on Delete.
    Confirm that the gateway is deleted.
    If it does not succeed and you receive an error, please share the error for further investigation.

    Alternatively, you may use the below Azure PowerShell commands to remove the gateway:
    17927-powershell-exr-gw-delete.jpg

    Kindly let us know if you need any further assistance on this issue from our end.

    ----------------------------------------------------------------------------------------------------------------

    Please don’t forget to "Accept the answer" wherever the information provided helps you, this can be beneficial to other community members.