-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
Description
For some time now Microsoft has had the Empty Deleted Items tag turned off in the Default MRM Policy.
Adding the default Deleted Items tag manually also isn't sufficient - you have to create a new tag and assign it yourself (Microsoft's own tag doesn't seem to "stick" after saving).
It would be a big time saver for us if CIPP had a way to set the Empty Deleted Items tag as a Standard.
Bonus points if the number of days for deletion could be set as well.
Thanks,
PowerShell commands you would normally use to achieve above request
New-RetentionPolicyTag -Name "CIPP - Deleted Items" -RetentionAction PermanentlyDelete -Type DeletedItems -RetentionEnabled $true -AgeLimitForRetention 30
Set-RetentionPolicy -Identity "Default MRM Policy" -RetentionPolicyTagLinks @{Add="CIPP - Deleted Items"}