Virtual Network Gateway resource (Basic SKU) will not delete

Matt Wehrman 0 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.


1 answer

Sort by: Most helpful
  1. Jose Benjamin Solis Nolasco 9,531 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.