Hi , I understand you are cleaning up resources and are worried about deleting a storage account that might be being used by another service. There are a few ways to check the dependencies of an Azure storage account before deleting it. One way is to use Azure Monitor Storage insights to view the transaction, latency, and capacity details of your storage accounts and see if they are being used by any other resources. When you delete a storage account in the portal you should be able to see if there are any resources inside that storage account and the total data stored.
If you do delete a storage account and then recreate it, any other services or apps that rely on that storage account will receive an error. Even if the storage account is recreated it will have a different and unique resource id. Those previously dependent services will not have the proper permissions to write to that storage account. Hope this answers your questions. Let me know if you have any other questions or need further assistance.
---Please don’t forget to "Accept the answer", if it has helped , Thanks