Forum Discussion
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 over Retention policies option in Microsoft Purview admin but I'm not quite sure how to apply it to the Deleted and Junk mail folder automatically for all users.
Would love some guidance on getting this done.
- Retention 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.
6 Replies
- Retention 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_S876Copper Contributor
VasilMichevHey Vasil, thanks much for the feedback.
I see I do have some default retention tags already set, and I see Delete folder and Junk Mail folder included.
There is also a Default MRM Policy under the MRM Retention Policies tab, but this default policy doesn't seem to be applied to anyone's account on the server, including mine.
Is there a way to turn this Default policy on for all mailboxes?
- Do you see any other policies listed? In Exchange Online, mailboxes do get a policy by default, but you might be using a custom-created one. You can check the mailbox properties via the EAC or PowerShell:
Get-Mailbox | ft Name,RetentionPolicy