---
title: Azure – Azure File now has more protection against accidental deletion - cubesys
description: By now you should already know Azure File, the Azure Storage feature allowing you to use it as the ‘classic’ SMB (Server Message Block) file system or file share; allowing you to access the content using your explorer.Well, good news as a new accidental deletion (and maybe not so accidental…
---

[Latest News & Blogs - cubesys ](https://www.cubesys.com.au/blog)

# [Azure – Azure File now has more protection against accidental deletion - cubesys](https://www.cubesys.com.au/blog/azure-azure-file-now-has-more-protection-against-accidental-deletion)

 Written by [cubesys](https://www.cubesys.com.au/blog/author/cubesys) | Jun 10, 2020 2:00:00 PM

By now you should already know Azure File, the Azure Storage feature allowing you to use it as the ‘classic’ SMB (Server Message Block) file system or file share; allowing you to access the content using your explorer.

Well, good news as a new accidental deletion (and maybe not so accidental too) protection available for Azure File:

- Soft Delete: acting as the Recycle Bin on your client device; allowing you to recover deleted files

Before being able to start using the **Soft Delete** feature, you need to turn it on by accessing your Azure Storage used for Azure File and turn the **Soft Delete** feature one (available below the **File Service** section)

Connect to your Azure portal ([https://portal.azure.com/](https://portal.azure.com/)) and access the **Storage accounts** service to select and edit the storage account used for Azure File

<https://www.cubesys.com.au/hubfs/Imported_Blog_Media/image_thumb-220.png>

There go to the **File ServiceSoft Delete** configuration blade to switch on the feature; you can define a retention period between **1 day** up to **365 days**

<https://www.cubesys.com.au/hubfs/Imported_Blog_Media/image_thumb1-175.png>  <https://www.cubesys.com.au/hubfs/Imported_Blog_Media/image_thumb2-138.png>

Once activated, you can then recover a delete file share by accessing the **File serviceFile shares** blade; at first you will **not** see your delete file share, you need to **turn on** the option **Show deleted shares** available top right of the file shares blade

<https://www.cubesys.com.au/hubfs/Imported_Blog_Media/image_thumb3-111.png>

Once the Show deleted shares is turn on you will see your deleted shares with the status **Deleted**

<https://www.cubesys.com.au/hubfs/Imported_Blog_Media/image_thumb4-87.png>

You can then use the contextual menu to recover it (aka **Undelete**)

<https://www.cubesys.com.au/hubfs/Imported_Blog_Media/image_thumb5-57.png>  <https://www.cubesys.com.au/hubfs/Imported_Blog_Media/image_thumb6-43.png>  <https://www.cubesys.com.au/hubfs/Imported_Blog_Media/image_thumb7-31.png>

[View full post](https://www.cubesys.com.au/blog/azure-azure-file-now-has-more-protection-against-accidental-deletion)

```json
{
  "@context" : "http://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "cubesys"
  },
  "dateModified" : "2025-02-21T15:53:00.002Z",
  "datePublished" : "2020-06-10T14:00:00Z",
  "headline" : "Azure – Azure File now has more protection against accidental deletion",
  "image" : {
    "@type" : "ImageObject",
    "height" : 60,
    "url" : "/hs/hsstatic/content_shared_assets/static-1.4092/img/default-amp-logo.png",
    "width" : 60
  },
  "mainEntityOfPage" : "https://www.cubesys.com.au/blog/azure-azure-file-now-has-more-protection-against-accidental-deletion",
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "height" : 60,
      "url" : "/hs/hsstatic/content_shared_assets/static-1.4092/img/default-amp-logo.png",
      "width" : 60
    },
    "name" : "Latest News"
  }
}
```