How to delete recurring meeting from a user that is deleted more than 60 days ago.

David Knutson 6 Reputation points
2022-11-18T17:49:39.183+00:00

these commands "Get-Mailbox -ResultSize Unlimited | Search-Mailbox -SearchQuery 'Kind:Meetings AND Organizer:EmailAddressOfExEmployee' -DeleteContent –Force"
Have been depreciated, how can I delete the meetings now.

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,633 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Joyce Shen - MSFT 16,676 Reputation points
    2022-11-21T03:47:12.61+00:00

    Hi @David Knutson

    Although the official document says the command is being deprecated in favor of New-ComplianceSearch and related eDiscovery cmdlets.

    I tried in my environment, this command still works:
    262336-image.png

    262406-image.png

    You could try running it in your environment and see if it works.

    If that doesn't work, then we follow the steps here to Search for and delete email messages, Note that: A maximum of 10 items per mailbox can be removed at one time.
    For deleting more than 10 items at once, take a reference at the discussion here: Is there a way to delete more than 10 items at a time from the RecoverableItems folder?


    If an Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.