Forum Discussion
David_S876
Jul 10, 2023Copper Contributor
Deleted and Junk mail folder won't delete after X days
We recently migrated over to Office 365 (been a few months) and I noticed that my deleted folder and junk mail folder don't automatically delete after 30 days, like it use to. I have been reading...
- Jul 10, 2023Retention policies is the way to go, however you need to use the "old style" Exchange retention policies, as only they can target specific folders. Go to the Compliance portal > Data lifecycle management > Exchange. Under MRM retention tags, make sure you have a "Deleted items" tag with the corresponding action/duration. Then under the MRM retention policies tab, make sure the Delete items tag is added to any policies currently assigned to your users. Rinse and repeat for the Junk email tag.
David_S876
Jul 10, 2023Copper Contributor
VasilMichevNo other policies are listed other than Default MRM Policy.
Keep in mind, we had migrated from Exchange 2010 to Exchange Online. So not sure if the default policies were applied to the migrated accounts during migration.
Here is a snippet of the output of the Powershell command. All the users don't have the Default MRM Policy applied. Only these names with random numbers.
PS> Get-Mailbox | ft Name,RetentionPolicy
Name RetentionPolicy
---- ---------------
b9d20369-3205-4646-b164-92db0afc19c6
alindsaie
anicholsons
7e52a514-eb4b-48ef-8b50-59a671160801
ahesly
arumblie
fe66138c-2a01-41ad-a4e1-5124cd409ac3 Default MRM Policy
abarclaye
amurrah
c68c5de3-4373-4b81-9e58-dbee16a60eac Default MRM Policy
David_S876
Jul 10, 2023Copper Contributor
I listed all the retention policies on the server.
PS > Get-RetentionPolicy
Name RetentionPolicyTagLinks Guid
---- ----------------------- ----
ArbitrationMailbox {Never Delete, AsyncOperationNotification, 2023c2c4-165e-43b8-ab09-553352c21db7
ModeratedRecipients, AutoGroup}
Default MRM Policy {5 Year Delete, 1 Year Delete, 6 Month e8244c40-7f0c-405d-99d5-62be070115a1
Delete, Personal 5 year move to archive...}