Unable to delete my all Azure RSV in my subscription.

Ananay Ojha 91 Reputation points
2023-05-08T15:22:44.31+00:00

Hi Experts,

I am Unable to delete my all Azure RSV in my subscription.

  • HAVE TRIED MANUALLY ALL THE STEPS
  • HAVE RUN THE POWERSHELL SCRIPT GIVEN IN PORTAL TO DELETE THE RSV
  • AFTER ALL THIS EVEN TRIED TO RUN THE BELOW COMMAND

az group list --query "[?(name !='cloud-shell-storage-centralindia')].name" -o tsv | xargs -otl az group delete --no-wait --yes -n

  1. But My resource Groups with a RSV aren't deleted:

User's image

  1. Even Though it has 0 items (and no soft delete), still shows a storage account name which is deleted months ago:

User's image

MY END GOAL: TO DELETE ALL RESOURCES IN MY SUBSCRIPTION

Please help me here,

  • I can't even request MS to intervene - they ask $23 to purchase a support plan :)
Azure Backup
Azure Backup
An Azure backup service that provides built-in management at scale.
1,490 questions
{count} votes

2 answers

Sort by: Most helpful
  1. TechWitty 75 Reputation points
    2023-05-14T13:29:48.0466667+00:00

    Hello @Ananay Ojha

    I see you have been facing issue with deleting a vault from azure backup service. If it complaints about the storage account still being associated with the vault, you need unregister the storage accounts from the vault->backup infrastructure blade->Azure Storage accounts -> Unregister storage account.

    You can see the steps on this document https://learn.microsoft.com/en-us/azure/backup/manage-afs-backup#unregister-a-storage-account

    Post unregistering the storage account from vault, you should be able to delete the vault.

    Let me know once you perform these steps.

    (If the response is helpful, please accept the answer for the benefit of other users in the community)

    0 comments No comments

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

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