Retention Policy for deleted items Not working for all users

A requirement to create retention policy for deleted items was raised ,I followed the below steps, but still the policy is not working for all exchange users.

The environment is :Two MS WinServer 2012,with exchange 2013 installation in 2 different sites

I created a new Deleted item retention tag ,and added it to a newly created retention policy for testing .

And run the below commands :

Get-Mailbox -ResultSize unlimited | Set-Mailbox -RetentionPolicy " MYTestRetention "

It didnt work so I run the below against my test user:

Set-Mailbox "UserABC" -RetentionPolicy "MYtestretention"

run Start-ManagedFolderAssistant -Identity UserABC

And then checked the user settings on ECP , I found the retention policy set correctly but it wasnt working  or deleting any items.

So I checked in mailbox usage ,and changed the deleted items retention period for 1 day.as below.

Only then it worked

The question is :

How can I apply this deleted items retention policy to all users in the domain without having to change it manually mailbox feature tab fr

June 17th, 2015 8:03am

Modify your retention tag to delete over no of days and then apply the policy

https://technet.microsoft.com/en-us/library/dd297955(v=exchg.150).aspx#RT 

Free Windows Admin Tool Kit Click here and download it now
June 17th, 2015 9:14am

this is already was done with the creation of the tag and policy

June 17th, 2015 9:21am

can you put the output of get-retentiontag tag name  | fl 
Free Windows Admin Tool Kit Click here and download it now
June 17th, 2015 9:25am

Vishwanath  ...Is this useful ??
June 17th, 2015 9:40am

I asked details about get-retentiontag not policy, do provide output of the same
Free Windows Admin Tool Kit Click here and download it now
June 17th, 2015 9:52am

here you are ..
June 17th, 2015 11:46am

I need get-retentiontag deleteditemstag | fl 
Free Windows Admin Tool Kit Click here and download it now
June 17th, 2015 11:59am

thanks for following up with me,i just cant run (get-retentiontag ),it says there is no such command ,so i thought u might meant the (Get-RetentionPolicyTag)

 here you are the error i recive when i run the (get-retentiontag )

[PS] C:\Windows\system32>get-retentiontag DeletedItemsTag | fl
get-retentiontag : The term 'get-retentiontag' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:1
+ get-retentiontag DeletedItemsTag | fl
+ ~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (get-retentiontag:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

June 17th, 2015 12:09pm

Hi,

Please run Get-RetentionPolicyTag <Identity> | FL Identity,Type,*Age*,*Action* to get detail configuration for retention policy tag.
Besides, please pay attention to "How retention age is calculated", for your reference:
https://technet.microsoft.com/en-us/library/bb430780

Thanks

Free Windows Admin Tool Kit Click here and download it now
June 18th, 2015 9:42pm

Hello Allen,

here is the output

[PS] C:\Windows\system32> Get-RetentionPolicyTag XXDeletedItemsTag | FL Identity,Type,*Age*,*Action*


Identity                   : XXDeletedItemsTag
Type                       : DeletedItems
MessageClassDisplayName   : All Mailbox Content
MessageClass               : *
AgeLimitForRetention       : 1.00:00:00
MessageFormatForJournaling : UseTnef
LegacyManagedFolder        :
RetentionAction            : PermanentlyDelete

June 21st, 2015 6:51am

am still stucked there ..would really appreciate any clue.

The retention policy is applied now and stamp the emails with expiration date ,but never actually delete them from the deleted items Folder.

The existing scenario is as follows:

    • A       user receives an item in the Inbox folder on 15/6/2015.The Inbox folder       doesn't have a retention tag applied, and the retention policy doesn't       contain a default policy tag.
          
      1. The        user soft-deletes the item on 16/6/2015.The item is moved to the Deleted        Items folder, which has a retention tag configured to delete items in 1        day.   
      2. The        Managed Folder Assistant processes the mailbox on 16/6/2015 and        determines the item doesn't have a start date. It stamps the current        date as the start date, and 17/6/2011 as the expiration date.   
      3. and The mail item is NEVER deleted then ,and the stamp is still there .

      i did run the Get-RetentionPolicyTag and the output is as below

      [PS] C:\Windows\system32> Get-RetentionPolicyTag XXDeletedItemsTag | FL Identity,Type,*Age*,*Action*


      Identity                   : XXDeletedItemsTag
      Type                       : DeletedItems
      MessageClassDisplayName   : All Mailbox Content
      MessageClass               : *
      AgeLimitForRetention       : 1.00:00:00
      MessageFormatForJournaling : UseTnef
      LegacyManagedFolder        :
      RetentionAction            : PermanentlyDelete

Free Windows Admin Tool Kit Click here and download it now
June 25th, 2015 9:27am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics