@Huain Gomez Thanks for posting your query on Microsoft Q&A.
As per my understanding, you would like to disable soft delete and rather have the data purged immediately instead of being retained for the 7 days period. Please ensure you have the backups if needed before proceeding.
To permanently delete a file share that’s been soft deleted in Azure Files, follow these steps:
- Undelete the share: First, undelete the share that you want to permanently delete.
- Disable soft delete: After undeleting the share, disable soft delete for that share.
- Delete the share again: Finally, delete the share once more to permanently remove it.
Reference doc: https://learn.microsoft.com/en-us/azure/storage/files/storage-files-enable-soft-delete?tabs=azure-portal#disable-soft-delete
Additional reading:
- Manage and restore soft-deleted blobs
- Enable and manage soft delete for containers
- Frequently asked questions on soft delete for file share
If you have any questions, let me know in the "comments" and I would be happy to help you. Comment is the fastest way of notifying the experts.
If the answer has been helpful, we appreciate hearing from you and would love to help others who may have the same question. Accepting answers helps increase the visibility of this question for other members of the Microsoft Q&A community.
Thank you for helping to improve Microsoft Q&A!