I hope someone can help me because I've been looking for a solution for hours.
I have created a VM in Azure and enabled backup. This morning I deleted the VM, and the recovery service vault I created for my backups.
Deletion of the VM and recovery service vault was successful. However, a restore point collection has been left behind which I cannot delete. When I open the collection I see that there is 1 snapshot present, but I cannot delete it either.
When I remove it I get the following error:
In the log I find the following text:
There is an active shared access signature outstanding for disk restore point
Anyone have any idea what's going wrong?
CodePudding user response:
I tried to reproduce the same in my environment and got the below results
I have created one VM and enabled backup for it by creating recovery vault.
After some time, I tried to delete those, and everything got deleted successfully except the snapshot.
I got the same error as you like below while performing above action:
Please note that, the snapshot state is ActiveSAS
which is why you are getting the error.
To resolve the issue, you have to cancel the export like below:
Go to Azure Portal -> Your resource group -> Your Snapshot -> Snapshot export -> Cancel export
After cancelling the export, I'm able to delete the snapshot successfully as snapshot state is Unattached
like below:
After deleting the snapshot, I deleted restore point successfully like below:
CodePudding user response:
The problem has been solved with help of support engineers, it was necessary to revoke SAS access of the disk restore point via the following link: https://docs.microsoft.com/en-us/rest/api/compute/disk-restore-point/revoke-access?tabs=HTTP#code-try-0
Unfortunately it was not possible to do this via the Azure portal as the snapshot itself was already deleted.