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.
VasilMichev
Jul 10, 2023MVP
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_S876Jul 10, 2023Copper 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?
- VasilMichevJul 10, 2023MVPDo 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- David_S876Jul 10, 2023Copper ContributorVasil, I realized I can apply this policy to all mailboxes in the Exchange Admin Center. Just select all mailboxes and select Mailbox Policies. This opens up more options to select which policy to apply.
So think I can take it from there.
Thanks for leading me in the right direction.