Forum Discussion
Retention labels behavior, need suggestion please?
- Aug 22, 2019
Joseph8888 You can clean up labels.
First, you unpublish them by removing the labels from all policies. The labels stay in place on the assigned documents.
Then you delete the label from the SCC (or with PowerShell). This puts the label into a pending deletion state.
Next, you wait for Office 365 background jobs to recognize that the label no longer exists. Eventually (could be a couple of days) the penny will drop and the labels will be removed from the documents. At this point, the documents will be governed by the general policy applicable to the site/account.
Are you using a retention policy to broadly apply a retention period across all OneDrive accounts or a retention label to apply a retention period to selected documents?
If a policy, then you can simply extend the retention period and all will be well.
If a label, you can extend the retention period as well.
Don't remove a label. If you want to retire a label, remove it from any retention label policy that it features in so that people can't apply it anymore.
TonyRedmond and VasilMichev ,
Hi Tony,
AT present we have both
1. Retention policy (OneDrive Tenant)for certain years, which I will extent as per your suggestion.
2. Label(name: 5years) which is added to a retention label policy (Name: 5years delete). We want to delete this retention label policy as well as Label. is this right approach? Do we need to remove only bale from the retention label policy only?
ex: 1. if we delete the label and label policy, will existing documents be affected or will be now pointed back to tenant level retention policy?
2. If we only remove label from retention label policy, then existing documents will still be pointed to this old policy or new tenant level policy?
- TonyRedmondAug 22, 2019MVP
Joseph8888 I would remove the label from any policy that publishes it to OneDrive. It will stop users applying it to any other document. Documents that have the label assigned today will keep it. I would then extend the general policy to have the retention period you need.
- Joseph8888Aug 22, 2019Copper Contributor
Thanks Tony, so there is no other way to remove that label from those documents either through powershell or from Microsoft back-end? We cannot clean up those things right?
- TonyRedmondAug 22, 2019MVP
Joseph8888 You can clean up labels.
First, you unpublish them by removing the labels from all policies. The labels stay in place on the assigned documents.
Then you delete the label from the SCC (or with PowerShell). This puts the label into a pending deletion state.
Next, you wait for Office 365 background jobs to recognize that the label no longer exists. Eventually (could be a couple of days) the penny will drop and the labels will be removed from the documents. At this point, the documents will be governed by the general policy applicable to the site/account.