You cannot have a 1-day policy in Exchange Online. The MRM background process runs on a 7-day workschedule in Exchange Online, and while any given mailbox might be processed more than once during this period, the guaranteed SLA is one week. Anything lower is just wishful thinking, might work, might not.
If you absolutely need to delete items after 1 day, use an EWS or Graph API based script instead (go over each mailbox, enumerate items in the folders in question, delete older ones).
Deleted items are not purged from deleted folder after expiration period[Exchange Online]
I had set exchange to retain deleted items for 1 day and it worked for a while but I noticed previous week that this policy doesn't work anymore despite powershell shows that it applies.
Why is this happening? Can anyone help me?
Plan also says 1 day. What is happening?
I can't understand...
-
Vasil Michev 105.8K Reputation points MVP
2022-11-06T07:47:55.687+00:00
1 additional answer
Sort by: Most helpful
-
risolis 8,721 Reputation points
2022-11-06T04:20:22.833+00:00 Hello @AlexandeR TheGreaT
Thank you for pasting this question on this community space.
I have read the case scenario description on which you are experiencing an issue with the retain deleted items policy configured as well as the settings used for it, and they do not reflect the real output at all.
For that reason, I just wanted to bring your attention by sharing one relevant link and also, a great note too.
https://learn.microsoft.com/en-us/powershell/module/exchange/get-exomailbox?view=exchange-ps
The note is the one below:
I hope you can find this helpful to address your concern in an accurate way.
Looking forward to your feedback,
Cheers,
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.