How to Remove Calender Invite from Deleted User for all Recipients?

JAI 21 Reputation points
2022-01-27T16:20:52.293+00:00

How do I remove a recurring calendar invite set-up by a 365 user who is no longer with the company? Need to remove for all attendees?

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,666 questions
{count} votes

Accepted answer
  1. Joyce Shen - MSFT 16,676 Reputation points
    2022-01-28T03:37:19.633+00:00

    Hi @JAI

    We could use the command Search-Mailbox to meet this need, delete all recurring meeting created by the user and remove them from attendees.

    Get-Mailbox -ResultSize Unlimited | Search-Mailbox -SearchQuery "kind:meetings AND Subject:'Test1' AND From:username@contoso.com" -EstimateResultOnly  
    Get-Mailbox -ResultSize Unlimited | Search-Mailbox -SearchQuery "kind:meetings AND Subject:'Test1' AND From:username@contoso.com" -DeleteContent  
    

    The first command using parameter -EstimateResultOnly returns an estimate of the total number and size of messages. Messages aren't copied to the target mailbox. You don't need to specify a value with this switch.

    The second command using parameter -DeleteContent switch specifies that the messages returned by the search be permanently deleted from the source mailbox.

    Note1: The Search-Mailbox cmdlet returns up to 10000 results per mailbox if a search query is specified.
    Note2: You need to be assigned the Mailbox Import Export management role to use this -DeleteContent switch.

    This similar thread for your reference: Delete or cancel recurring meeting invites


    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 additional answers

Sort by: Most helpful

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.