Solved

Exchange 2013 retention policy not working

Posted on 2015-02-23
8
2,233 Views
Last Modified: 2016-01-28
Running Exchange 2013 sp1

Migrated all mailboxes from 2007 to 2013.  I set up a retention policy on Deleted Items.  I've applied the policy and forced it to run using Start-ManagedFolderAssistant but it didn't seem to do anything.  I've had the policy applied for about a week now, with no results.

I do not see any errors in the event log.

I read somewhere that if you have retention policies applied to a 2007 mailbox then migrate it, it could cause issues.  I don't know if this true or not.

Get-MailboxServer | FT Name,ManagedFolderWorkCycle* -Auto
returns "1.00:00:00"

Any thoughts on what's going on?
0
Comment
Question by:BMFC
8 Comments
 
LVL 6

Expert Comment

by:rgorman
ID: 40626967
I am not 100% sure if that is an Enterprise CAL feature in 2013 or not but if it is, do you have Enterprise CALs installed?
0
 

Author Comment

by:BMFC
ID: 40626983
Running Exchange 2013 Standard Edition.  You don't need to install Enterprise CALs. Any other thoughts?
0
 
LVL 6

Expert Comment

by:rgorman
ID: 40627022
First just to confirm you have everything setup as it should be...

1. you created a retention tag in 2013 that deletes the deleted items after some period of time?
2. you applied the retention tag to some new retention policy in 2013?
3. you applied the retention policy to a users mailbox under their mailbox features section of their mailbox properties?

If you did that then it should likely work.  That powershell command you referenced just outputs the maintenance schedule where the policies are run and it looks like they are done at midnight daily which is fine.

Did you check your event logs and see if there were any errors there?
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 

Author Comment

by:BMFC
ID: 40627085
Deleted tags.  Created new one for deleted items.

Deleted current retention policy.  Created new retention policy and applied above tag.

applied to one mailbox.  Ran Start-ManagedFolderAssistant

Checked Event Viewer.  I don't see anything.  Nothing is happening.  No errors either.
0
 
LVL 20

Accepted Solution

by:
Satya Pathak earned 500 total points
ID: 40627310
0
 

Author Comment

by:BMFC
ID: 40634237
Applied Exchange 2013 CU7.  Retention policies are still not running.

Tried manually running these commands as the thread suggested.

 set-mailbox -identity $user.SamAccountName -RetentionPolicy "Policy Name Goes here"
    start-managedfolderassistant -identity $user.SamAccountName
    set-ADUser -identity $user.SamAccountName -clear msExchELCMailboxFlags
    set-ADUser -identity $user.SamAccountName -clear msExchMailboxTemplateLink
    start-managedfolderassistant -identity $user.SamAccountName
    set-mailbox -identity $user.SamAccountName –RemoveManagedFolderAndPolicy
    set-mailbox -identity $user.SamAccountName -RetentionPolicy "Policy Name Goes here"
    start-managedfolderassistant -identity $user.SamAccountName

Steps would not run exactly in this order because of an error i received after clearing flags and templatelink.  Paraphrasing error ..."Rentention hold must have end date and start dates."

Attempting to run Start-managedFolderAssistant against mailbox gives no error, but i see no errors in any log file or event log.  Rentention policy just isn't working.

Any additional thoughts?
0
 
LVL 1

Expert Comment

by:beepat
ID: 41437795
Did you ever get this figured out?
0
 

Author Comment

by:BMFC
ID: 41437812
As far as I can tell, the retention tag we have assigned to "Deleted Items" isn't working.  I don't find any errors, but I still have email that is older than the policy indicates.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now