I've created a private endpoint for a recovery services vault and now I want to delete both of these resources, but I'm not able to. First I tried to delete the two resource groups that these resources are in, but this failed.
When I try to delete the recovery services vault, I get an error message saying I need to delete all private endpoints associated with this vault first. However, the private endpoint connection doesn't show up under private endpoint connections in the Azure portal.
When I try to delete the private endpoint itself (which has a provisioning state of Failed), I just get the "An error occured" message without any further explanation.
When I try to delete the Network Interface that is created for the private endpoint connection on the private subnet, I get the message that it cannot be deleted because it is in use with a private endpoint.
Lastly, the subnet cannot be deleted because the Network Interface is still attached to it.
Does anyone have experience with this issue or does anyone know what I haven't tried yet?
Thanks in advance.