Hi @Nikhil R
Greetings! Welcome to Microsoft Q&A Forum. Thanks for posting your query here.
In addition to above recommended solution from akinbade, we suggest you follow the below and give a try.
Please do check there might be some disks in that particular storage account. Can you kindly check the containers, blobs for any VHDs in that particular storage account & delete those VHDs/Disks first?
Previously if you have created a classic VMs, those classic VMs used to store the corresponding VHDs (disks) in a storage account. That might be the scenario which you might be facing now...i.e., you might have deleted all the classic VMs without deleting the underlying VHDs and those VHDs are stale but still stored in the storage account.
Additionally, please try to delete the Classic Storage Account from the Storage Explorer or migrate Classic Storage to ARM and delete it there.
If the issue persists, even after trying the above solution. Please try deleting Classic Storage account using PowerShell command to remove the data and the classic storage. Ensure you have Azure PowerShell installed and configured. Then, you can run the following command:
Remove-AzStorageAccount -Name <storage-account-name> -ResourceGroupName <resource-group-name>
Refer the guide here: https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/storage-classic-cannot-delete-storage-account-container-vhd
If the above steps do not resolve the issue, consider creating a support request with Azure. They can provide assistance in troubleshooting the internal error you are encountering.
Also, if the storage account is in a retention period, you may need to reclaim the space using the Azure portal or PowerShell as said above.
I hope following the above steps should help you delete the storage account and stop incurring charges.
I hope this helps! Let me know in the comments if you have further questions. Comment is the fastest way to reach the experts for any questions or help you need.
Please don’t forget to Accept Answer and hit Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members for remediation for similar issues.