---
title: SharePoint Online – Changes coming for PST file retention - cubesys
description: As you know, you can enable retention policies on SharePoint Online and OneDrive to keep records of your data for a defined period.Off course, these policies applies to files stored on SharePoint, including PST file.The retained data is kept on a dedicated list called Preservation Hold Library within the SharePoint/OneDrive…
---

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

# [SharePoint Online – Changes coming for PST file retention - cubesys](https://www.cubesys.com.au/blog/sharepoint-online-changes-coming-for-pst-file-retention)

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

As you know, you can enable retention policies on SharePoint Online and OneDrive to keep records of your data for a defined period.

Off course, these policies applies to files stored on SharePoint, including PST file.

The retained data is kept on a dedicated list called Preservation Hold Library within the SharePoint/OneDrive site; which means retained data is consuming part of the storage provisioned for the site.

As it is not possible to save only the updated data (which will be every time the file is open) from a PST (like an Office document), this means the versioning of the retained PST file is always the full PST file. This can then lead to have the full allocated storage being consumed.

Starting **August 16th, 2021** the number of version retained for PST file is going to be set to **30 days** worth of PST version instead of continuously keep the version.

While you should not have anymore PST file in your environment as they are not secured, have quite limitation and easily corrupted, if you still have PST files stored in SharePoint and want to **keep the current** versioning capability (keep all version according to the retention policy) you will need to **opt-out** for this change using SharePoint Online PowerShell version 16.0.21411.12000 (published June 25, 2021 – available here [https://www.microsoft.com/en-us/download/details.aspx?id=35588](https://www.microsoft.com/en-us/download/details.aspx?id=35588)) and set the **DisableOutlookPSTVersionTrimming** parameter to **True**

If you need to op-out, you **must configure it before August 13**

> Connect-SPOService -Url https://<your tenant>-admin.sharepoint.com
> 
> Set-SPOTenant -DisableOutlookPSTVersionTrimming $true

<https://www.cubesys.com.au/hubfs/Imported_Blog_Media/image-42-2.png>

[View full post](https://www.cubesys.com.au/blog/sharepoint-online-changes-coming-for-pst-file-retention)

```json
{
  "@context" : "http://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "cubesys"
  },
  "dateModified" : "2025-02-21T16:27:13.422Z",
  "datePublished" : "2021-06-27T14:00:00Z",
  "headline" : "SharePoint Online – Changes coming for PST file retention",
  "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/sharepoint-online-changes-coming-for-pst-file-retention",
  "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"
  }
}
```