Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Exchange 2013 retention policy not working

Posted on 2015-02-23
8
Medium Priority
?
3,643 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Want to know how to use Exchange Server Eseutil command? Go through this article as it gives you the know-how.
If you have come across a situation where you need to find some EDB mailbox recovery techniques, then here you will find the same. In this article, we will take you through three techniques using which you will be able to perform EDB recovery. You …
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

916 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