Deleting an Office 365 Retention Label

Reading Time: 5 minutes

If your organization is using the Security & Compliance retention labels to apply retention across Office 365 workloads,  you may eventually find yourself needing to remove an existing label definition for one reason or another. Perhaps you had a label set up for a test scenario and now want to remove it, or maybe the Information Management team changed their mind on the retention label configuration and want some labels to be removed. This is real-world, it happens.

This post is NOT referring to Azure Information Protection labels. Deleting them is a completely different process.

This post is referring to removing a label definition from the Security & Compliance Center, NOT removing a label from a document.

Although deleting a label definition sounds like a trivial thing to do, depending on your exact scenario, the behavior can be a little confusing. As an administrator, you need to understand it.


  • You’ve created the label and haven’t published it in a policy yet
  • You’ve created the label, published it in a policy, but haven’t applied it to content yet
  • You’ve created the label, published it in a policy, and applied it to content
  • Special mention: above but with a RECORD label

I’ll go thru each of these scenarios and conclude with my recommendation for removing retention labels. 🙂

Scenario 1: Created a label, not yet published

The first scenario is the simplest to address. Simply edit the label and select the Delete label option. No fuss, no muss. (UNLESS the label declared content as a record – for this, check out scenario 4)


Note: if you do delete a label like this, it takes a while for it to be completely removed from the system. If you try to immediately recreate a label with the same name, it will throw an error saying the label already exists. My testing has shown it takes ~1 day for it to be completely removed.

Scenario 2: Created a label, published it, but not used on content

I’ve created a label called Joanne Label 1 and included it in a Retention policy published to all locations in my tenant.

If you try to delete the label directly thru the UI (Classifications section in the Security & Compliance Center) or via PowerShell with the Remove-ComplianceTag cmdlet, you will get the error message(s) below:

Removing a label in use

Removing a label in use with PowerShell

Note: for these cmdlets, connect to the Security & Compliance Center. Instructions

You receive this error because the label is part of a retention policy and even though I haven’t applied the label to any content yet, it is technically “in-use”. It is a 2-step process to delete it.

Step 1: Remove the label from the policy OR delete the policy if the label was the only one in the policy

Remove label from PolicyStep 2: Remove the label either thru the UI or with PowerShell

Thru the User interface:


With PowerShell:

Remove a label not in use

Scenario 3: Created a label, published it, applied it to content

To demonstrate this scenario, I’ve created a label, Joanne Label 1, published to all locations across my tenant, and uploaded some documents into a library on a modern team site, Label Test Site. I’ve applied the label to 3 documents.

Labeled Documents

If I try to delete the retention label, I will receive the same error as described in Scenario 2 above. I need to go thru the same steps to remove it:

Step 1: Remove the label from the policy OR delete the policy if the label was the only one in the policy.

Step 2: Remove the label either thru the UI or with PowerShell

But wait! What does this mean for content that has the label applied? Nothing for the time being… the label goes into a Pending Deletion state. Although for a time, existing content will retain the retention label applied, it will eventually be removed by a timer process running in the background. This process will clear the retention label from any content that had it applied. For testing I’ve done, this process can take several hours to complete.

You can confirm this by doing a Content search in the Security & Compliance Center filtering on the Compliance tag and the label you’re wanting to remove (image). (Reference: Where’s my Office 365 Retention Label applied?)

By searching across All Locations, you can find out exactly where the label was applied. (Exchange email, SharePoint sites, OneDrive accounts, Office 365 groups)


It may take several hours, but eventually the timer process will clear the retention label from any content it was applied to and the search query will return 0 results.

Scenario 4: Created a RECORD label

If you’ve checked the box to classify content tagged with label as a “Record” (image), you will NOT be able to delete it once it’s created. This holds true whether the label has been published in a retention policy or not OR applied to content or not.

Label classified as Record

If the record label was applied to content, this will prevent anything deemed as a record to have its label removed so deleting the label definition will not remove it from the content it’s been applied to. Whatever rules were defined for the label will still be adhered to. For example, if the content was to be declared a record and then deleted after 7 years, it would be. Only the site collection administrator can remove or change a record label once it’s applied which is how you could remove/change the label if required.

The Delete label button is disabled:


Trying to brute-force a delete thru PowerShell will not work either:

Removing a Record label with PowerShell

If you no longer wish to use the record label for new content, remove it from the retention policy(s) it’s published in. This will remove it from the Apply label dropdown in the UI for end-users, however existing content with the label applied will remain intact.

Note: To my knowledge, currently there is no way to delete a label once the record checkbox has been selected even if it hasn’t been applied to any content.

My Recommendation

It’s important to understand where a retention label is being used across Office 365 locations BEFORE deleting it. The best way to do this is using the Content Search feature in the Security & Compliance Center.

Based on your retention requirements, you can either allow the Timer process to complete and clear the retention label you want deleted or, based on the search results, proactively apply a different label prior to deleting it.

Thanks for reading.


Credit: Photo by Matija Mestrovic on Unsplash


  1. In SharePoint, a site collection administrator aka Group Owner can remove or change a record label on an item. In OneDrive, its user is the site collection administrator so record labels are not as fixed as first appears.

    1. Hi Keith,
      I added that clarification in my post. Thank you! Although the applied label can be removed/changed, the label definition from the S&C center cannot be. (at least I couldn’t find a way)

  2. Hello Joanne,

    Luckily I had the easy scenario and deleted my label without hassle. I tried to create a new one with the same name as the deleted one and the system won’t let me since “This value already exists”. Have you come across this problem? Is there a recycle bin for labels that needs to be emptied first?

    Thank you

    1. Hi Peris, I just tried it and receive the same error message. There’s no recycle bin. Not sure if this is by design or a bug. You may want to open a ticket with Microsoft to confirm. I will update the post with this detail – thanks for pointing it out.

      1. Thank you for your reply Joanne. I thought I would give it some time and try after a day or two and as suspected it worked. It could possible take some time to propagate the deletion of the label. Could you also give it a try the next day? Just for confirmation.

        Kind Regards,

      2. Hi Peris, Same for me… I waited a couple of days and was able to re-add a same-named classification label! I’ll update the post with this detail.

        Thanks for sharing!

      1. Thanks for sharing Marc! I’ll add a link to your post from within mine!

  3. Hi Joanne,
    Great post (like all the others on your site). Just a caveat on reusing a deleted label. We did that and had problems. Only some of the published labels were showing up for users. We opened a ticket with Microsoft and after considerable digging they found that the missing labels were bound to the deleted policy, not the live (new) version. So DON’T reuse names if at all possible. I realize this scenario is a bit different from Peris’ scenario (policy vs label) but I’d still recommend against re-using labels or policies with identical names.

  4. Could you please let me know how to remove retention label from a document in SharePoint online.

    1. Hi Amit, you view the details pane for the document and select ‘none’ for the ‘Apply retention label’ metadata property.

      1. Hi! How can i resolve this process for multiple items (folder, subfolder, files) in one step?

      2. Hi Polgar, you can select multiple items/folders and clear the retention label. Caveat to this: if you don’t have at least contribute permission to the list, you won’t be able to do this. If the Retention label has declared the document a record, you may not be able to do it in bulk.

  5. How can chose the “None” (clear the label) to a folder and all subfolder and subitem in sharepoint site?
    I cant find resolution for this.

  6. Hi Joanne, I realize this post pertains to deleting, but I’ve been very unsuccessful in renaming retention labels or modifying retention duration using the UI. Any advice on modifying labels in this way that have already been applied to documents? Thanks!

    1. Hi Darren,
      You can’t rename a retention label after it’s been defined. Depending on the label configuration you *also* can’t change the retention duration… specifically if the retention label is based of “when an item is labeled”, you can’t currently adjust the retention duration. My advice? No easy path to work around this – you will need to re-apply a different label with the correct settings (which may not be an option depending on your specific scenario and your retention label settings).

  7. Hi Joanne, thank you for posting this very helpful Blog. I do have a question regarding Microsoft 365 Compliance and existing Labels that are applied to a Global Retention Policy.

    Policy and Labels were created some time ago for testing however a handful of users have tagged content with the test Labels.

    We wish to preserve the settings of each applied Label but remove visibility to anyone new applying.

    Is this achieved by disabling the Legacy Policy or removing the labels from the Policy but don’t delete?

    I’m not certain if the below article (Removing or deleting a retention tag from a retention policy) applies for modern Labels / Polices?

    In summary we wish to retire legacy Policy and Labels, Crete New Policy and Labels but present only one set (New) for the end user to manually tag their content.

    Thank you

    1. Hi Stuart,
      That post refers to Retention tags in Exchange and not the modern retention labels defined in the Compliance Center so the guidance in that article is not what you’re looking for. The new guidance is here ( although it doesn’t explicitly cover your scenario if you want to continue to have those labels applied and retaining while removing them from the published policy. It may be ok, but it may not – I simply haven’t tested it.

      In full transparency, I haven’t had to do this… I’d have to investigate and test more and I don’t have the cycles to do that. Testing your scenario in a demo environment is recommended.

      A thought… is the old “test” label based off of ‘Created date’ or ‘Last modified date’? If it is, then one option is to relabel it with the new label you publish to your locations as it will maintain the same retention period. If it was based off of the ‘Labeled date’, then you wouldn’t be able to do this however.

      Please let me know how it goes.

      1. Hi again Stuart,
        I just ‘disabled’ a label policy that had 1 retention label in it with content applied within a doc library on a M365 Group site. The retention label no longer shows in the label dropdown in SharePoint and existing content that had the label applied continues to have the label applied.
        I believe it should be ok since that label will persist. Please verify with your own testing though.

  8. Hi Joanne, love your blog!
    I wonder if you have come across a retention label that does not have the ‘delete’ button visible? There are no published polices for any of my labels and the other labels do have the delete button visible. The problematic policy in question is event driven, whereas the others are not. but I want to change it to ‘last modified date’ which requires the label to be deleted and recreated, which I am unable to do.

    1. Hi Dave,
      Does your event-based label ALSO declare the item as a record? If it does, that is a current limitation. Whether you’re using the retention label or not, you cannot delete it. I believe this is on the roadmap to allow though. If it isn’t a record, you cannot change an event-based label to a non-event based label (based on last modified date as you state). You will have to create a new label in this case with your new configuration.

  9. Hi Joanne, thank you for your quick reply, and taking the time to test. Unfortunately I missed your post , but did speak to Microsoft regarding this scenario and whilst we couldn’t remove the label (there has to be one applied to the policy) they seem confident we can disable the policy without impacting the end user (less risky option). It has been requested that we create All new labels and policy settings based on different requirements. It was at this point I thought we should start from fresh given the history of this 1 legacy Policy that unfortunately does not fit the brief. If I encounter any issues I will post an update . Thanks again 🙂

  10. Have you ever run into a situation where the labels don’t remove themselves in Scenario 3? We have thousands of messages that had a retention label auto-applied, however the label is still there months after deleting the policy and label. MS support seems baffled…

    1. Hey Dave – Full transparency, I haven’t tested every possible permutation of deleting a label. Your question is way too light on detail for me to respond in a helpful way. I wouldn’t be able to help without more. I’m not promising I’ll have the insight to help, and I don’t have the tools to look at your tenant like support does.
      – what’s the workload?
      – are the messages removed?
      – where are you seeing the label
      – what are the settings for the label

      1. Update on this: MS support confirmed that it was a bug that they have to remediate. The symptoms are that a mailbox has “compliancetagholdapplied” set to true, but “inplaceholds” is blank.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.