Deleted items are not purged from deleted folder after expiration period[Exchange Online]

AlexandeR TheGreaT 116 Reputation points
2022-11-05T20:46:49.227+00:00

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.

257480-screenshot-2022-11-05-140301.png

257448-screenshot-2022-11-05-133850.png

Why is this happening? Can anyone help me?

Plan also says 1 day. What is happening?

257561-screenshot-2022-11-05-145018.png

I can't understand...

257440-screenshot-2022-11-05-152039.png

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,319 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,440 questions
{count} votes

Accepted answer
  1. Vasil Michev 98,676 Reputation points MVP
    2022-11-06T07:47:55.687+00:00

    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).


1 additional answer

Sort by: Most helpful
  1. risolis 8,701 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:

    257592-image.png

    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.

    0 comments No comments