Search code examples
azureazure-storageazure-clisoft-deletepowershell-core

Listing soft-deleted Azure storage accounts


Do you know a way of listing soft-deleted Azure storage accounts?

In a nutshell, I deleted a storage account from the portal, now I try to re-create it and the operation is disallowed. I don't think it's a name collision as I use fairly long names for the storage accounts.

Any help is highly appreciated!

enter image description here


Solution

  • First, soft-delete is actually for blob-level and container-level, not for the storage account level. You'd better check the name by using azure portal or powershell to see if it's already used.

    If you want to check the deleted storage account, you can follow this doc. One thing need to know, if the deleted storage account is garbage collected, then we have no chance to find it.