Ensure that soft delete feature is enabled for Microsoft Azure file shares.
When soft delete for file shares is enabled for a storage account, a deleted file share is retained for the configured retention period before being permanently deleted, allowing data to be recovered if it is deleted by mistake or by a malicious actor.
Enable soft delete for file shares and set the retention policy to keep deleted file shares for more than desired number of days.