Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Exchange 2013 retention policy not working

Posted on 2015-02-23
8
Medium Priority
?
3,394 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

 

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

One-stop solution for Exchange Administrators to address all MS Exchange Server issues, which is known by the name of Stellar Exchange Toolkit.
The core idea of this article is to make you acquainted with the best way in which you can export Exchange mailbox to PST format.
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
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…

688 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