Cannot remove a retention policy

Copper Contributor

Hi,

 

I created a retention Label "Label 3" and published it as "Label 3 Policy". Now I want to remove this policy.

 

When I try to remove it from the portal from the delete button, it is not deleted without any error in the UI. When I try to remove it from the remove-retentioncompliancepolicy I get the error below.

 

How can I resolve this error?

 

Impossible de supprimer la stratégie « Label 3 Policy », car elle n’a pas l’état en attente de suppression.

(Translation to english could be "Cannot remove the "Label 3 Policy", it is in not un a pending deletion state)

    + CategoryInfo          : InvalidOperation : (:) [Remove-RetentionCompliancePolicy], ValidationException

    + FullyQualifiedErrorId : [Server=BN8NAM11WS021,RequestId=eae45e63-7645-4b68-841c-d3ebe06fe7e2,TimeStamp=8/12/2020 12:03:11 PM] 

   [FailureCategory=Cmdlet-ValidationException] 8DC931D,Microsoft.Office.CompliancePolicy.Tasks.RemoveRetentionCompliancePolicy

    + PSComputerName        : nam11b.ps.compliance.protection.outlook.com

2 Replies

Could it be due to the distribution status of the policy which is in a pending state?

 

Yup, it can take some time... days in some cases :)