I want to delete some of my Azure resources from my current tenant to create them on another tenant. However, I cannot recreate the storage accounts on the new tenant, since I keep getting this error: "The storage account name '<name>' is already taken."
I'm aware that storage account names must be globally unique; however, they have been deleted from the old tenant for more than three days, so the name should be available. Note that Azure does allow me to recreate them on the same tenant, so I assume Azure is holding on to the deleted storage accounts in some way. Is there a way of forcing Azure to "release" the deleted storage accounts?
Update: I checked again. Storage accounts that had been deleted on 1 July could be recreated on the new tenant by 11 July, whilst those deleted on 5 July could only be recreated on 13 July, so it takes 7–8 days for the names to be released.
If I'm correct the default retention for Storage accounts is actually 14 days, which is the period one would use to recover deleted accounts.
You can use the Recovery procedure to detect if your recently deleted storage account is still in "recycle". read more at https://learn.microsoft.com/en-us/azure/storage/common/storage-account-recover
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With