Virtual Network Gateway resource (Basic SKU) will not delete

Matt Wehrman 25 Reputation points
2026-07-07T18:01:58.4833333+00:00

I have a virtual network gateway with a Basic SKU. It had one connection, which is removed and I deleted the ip address resource associated to it. I am trying to delete the virtual network gateway resource so I can rebuild it with more appropriate sku.

I have tried a few ways to reset the resource. I tried to kick to from failed state to active state. I tried resetting the resource and then deleting it. I tried command line and portal actions, all giving the same result.

When I look at the activity log for the delete activity that fails I get this message: "The resource operation completed with terminal provisioning state 'Failed'."

How can I proceed?

I don't want to have to build a new virtual network just because this one resource will not delete.

What actions should I take?

Thank you,

Matt

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.


Answer accepted by question author
Sindhuja Dasari 2,115 Reputation points Microsoft External Staff Moderator
2026-07-10T14:57:32.15+00:00

Hello @Matt Wehrman

Thank you for your time to connect with us today.

Based on our investigation so far, the behavior observed appears to be indicative of a stuck gateway deletion operation rather than an issue related to the current configuration of your environment. We have reviewed the available logs and findings, and further investigation from our backend engineering team may be required to determine the underlying cause and assist with the cleanup of the gateway resource.

We will continue working on the Service Request you have raised and engage the appropriate backend engineering teams for further analysis. We will keep you informed of any updates and share our findings as soon as they become available.

Please "Accept Answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

Was this answer helpful?

2 people found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Newest
  1. Jose Benjamin Solis Nolasco 12,601 Reputation points Volunteer Moderator
    2026-07-07T18:35:39.6133333+00:00

    Welcome to Microsoft Q&A

    Hello @Matt Wehrman I hope you are doing well.

    This can happen if a previous gateway operation (creation, update, connection removal, or deletion) did not complete successfully, leaving the resource in an inconsistent state.

    Please check the following:

    • Verify that all dependent resources have been removed, including Local Network Gateways, Gateway Connections, and that the GatewaySubnet no longer contains any resources associated with the gateway.
    • Confirm there are no active resource locks (CanNotDelete or ReadOnly) on the gateway or its resource group.
    • Review the Activity Log for the failed delete operation and check for a more detailed inner error or correlation ID.

    References

    If my answer helped you resolve your issue, please consider marking it as the correct answer. This helps others in the community find solutions more easily.

    Was this answer helpful?


Your answer

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