FN-GM Posted September 18, 2013 Posted September 18, 2013 (edited) Hi, I am trying to apply a retention tag to delete items from the deleted times older than 365 days old. I have made the tag and applied it to a policy. It doesn't apply for some reason. Some personal tags applied in the same policy work. Running Start-ManagedFolderAssistant –Identity doesn't help. Any thoughts please? Thanks Edited September 18, 2013 by FN-GM
FN-GM Posted September 20, 2013 Author Posted September 20, 2013 Yes, other tags in the policy work fine. I have attached a image of the tag Thanks
sukh Posted September 20, 2013 Posted September 20, 2013 Can you up the logging for MailboxAssistant and then run start-managedfolderassistant and check the app log
FN-GM Posted September 21, 2013 Author Posted September 21, 2013 Hiya, only just looking at it. How do i up the logging please?
FN-GM Posted September 23, 2013 Author Posted September 23, 2013 Just come to look at this it has now kicked it. But the tag wont instantly delete messages from 2011. It wants the tag to be on for the full 365 days before doing anything. Is there a way to for the delete of items over 365 days? Thanks
sukh Posted September 23, 2013 Posted September 23, 2013 do you have a tag applied to the inbox? have a read of this first - How Retention Age is Calculated: Exchange 2013 Help
FN-GM Posted September 23, 2013 Author Posted September 23, 2013 No Is there a way to for the delete of items in the deleted items over 365 days?
sukh Posted September 24, 2013 Posted September 24, 2013 I can't remember your setup for RPT. The calculation is important for you to understand - A user receives a message in the Inbox folder on 01/26/2011. The Inbox folder has a retention tag configured to delete items in 365 days. 1. The Managed Folder Assistant processes the message. It stamps the message with a start date of 01/26/2011 and an expiration date of 01/26/2012. 2. The user soft-deletes the item on 02/27/2011.The item is moved to the Deleted Items folder, which has a retention tag configured to delete the item in 30 days. 3. The Managed Folder Assistant processes the message. It recalculates the expiration date based on the start date (01/26/2011). 4. Because the item is older than 30 days, it is deleted immediately. • A user receives an item in the Inbox folder on 01/26/2011.The Inbox folder doesn't have a retention tag applied, and the retention policy doesn't contain a default policy tag. 1. The user soft-deletes the item on 02/27/2011.The item is moved to the Deleted Items folder, which has a retention tag configured to delete items in 30 days. 2. The Managed Folder Assistant processes the mailbox on 03/27/2011 and determines the item doesn't have a start date. It stamps the current date as the start date, and 04/27/2011 as the expiration date. 3. The item is deleted on 04/27/2011, which is 30 days after it was deleted or moved to the Deleted Items folder.
FN-GM Posted September 24, 2013 Author Posted September 24, 2013 I get that, the stuff already in there will take 365 days for it to go. Basically to run the cycle. But i am wondering is there something i can do in powershell to cleanup all the deleted items older than 365 days now? To get things going basically.
sukh Posted September 24, 2013 Posted September 24, 2013 Basically, what you have seen is by design. The MFA will only run as the tags have already been set on the messages. There isn't anything from the Exchange side that you can do. Sorry :-(
FN-GM Posted September 24, 2013 Author Posted September 24, 2013 What a pain, annoying i have to wait a whole year to get things tidy!
sukh Posted September 24, 2013 Posted September 24, 2013 (edited) Other alternative is to use EWS code in PS to access the mailboxes/deleted items and delete. This does need some thinking and coding in PS and access via EWS. Edited September 24, 2013 by sukh
sukh Posted September 24, 2013 Posted September 24, 2013 Something like this but you will need to check for the folder and loop through mailboxes. Glen's Exchange Dev Blog: Deleting Items in a mailbox using Exchange Web Services and Powershell
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now