Solved

Exchange 2013 retention policy not working

Posted on 2015-02-23
8
1,672 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
 

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
Want to promote your upcoming event?

Are you going to an event? Are you going to be exhibiting at a tradeshow? Talking at a conference? Using a promotional banner in your email signature ensures that your organization’s most important contacts stay in the know and can potentially spread the word about the event.

 
LVL 20

Accepted Solution

by:
SatyaPathak 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
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 use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

708 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