Hi,
Can you check the command for deletion - Remove-AzStorageAccount -ResourceGroupName "RG01" -Name "mystorageaccount"
Try list command to get the directories and Blob info -
az storage blob list \
--account-name <storage-account> \
--container-name <container> \
--output table \
--auth-mode login
Check this page - https://learn.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-cli
Hope this helps.
JS
==
Please Accept the answer if the information helped you. This will help us and others in the community as well.