Remediation
Before Deleting the Storage Account
Confirm that the account is no longer required before deleting it:
- Verify that the
TransactionsandUsed Capacitymetrics have both remained at zero for the last 30 days. - Identify the account owner and confirm that no application, infrastructure template, private endpoint, diagnostic setting, backup, disaster-recovery process, or data-retention requirement depends on the account.
- Check for legal holds, immutability policies, and organizational retention requirements.
- Export or back up any information that must be retained.
From Azure Portal
- In the Azure portal, open the storage account.
- Select
Overview. - Select
Delete. - Enter the storage account name to confirm the deletion, then select
Delete.
From Azure CLI
Replace the information within {{}} with the appropriate values:
az storage account delete \
--name {{storage-account-name}} \
--resource-group {{resource-group-name}} \
--yes