Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Exchange 2013 retention policy not working

Posted on 2015-02-23
8
Medium Priority
?
3,836 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

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 1500 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

This article describes Top 9 Exchange troubleshooting utilities that every Exchange Administrator should know. Most of the utilities are available free of cost. List of tools that I am going to explain in this article are:   Microsoft Remote Con…
Microsoft Jet database engine errors can crop up out of nowhere to disrupt the working of the Exchange server. Decoding why a particular error occurs goes a long way in determining the right solution for it.
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…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

580 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