Now we’ll show you how to use soft delete to prevent your data in Azure Blob storage from being accidentally deleted. From the Azure portal, open the storage account -> Blob service -> Data protection. Enable the following options and click on “Save.” Turn on soft delete for blobs and provide the number of days for which the deleted blobs should be kept. This will allow you to recover deleted blobs within that specified number of days. Turn on versioning. This will help to restore previous versions of blobs. It is recommended to enable this option instead of taking blob snapshots as the snapshot process is manual. Learn more about