Delete meeting invite

Glenn Maxwell 10,146 Reputation points
2020-08-01T05:53:26.913+00:00

Hi all

I want to delete recurring meeting requests for one user mailbox.
For example mailbox is user1@Company portal .com and Meeting Subject is TEST and the meeting owner is user1 itself. How do i delete it as search mailbox is depreciated. Experts guide me

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

Accepted answer
  1. Joyce Shen - MSFT 16,641 Reputation points
    2020-08-03T05:36:52.167+00:00

    Have you tried delegating admin or other user permission to manage user1's calendar then cancel it?

    Add-MailboxFolderpermission -Identity user1@contoso.com:\Calendar -User admin@contoso.com -AccessRights PublishingEditor  
    

    In addition your script above about -ExchangeLocation and -ContentMatchQuery '(Subject:"TEST") AND (To:"user1@Company portal .com") '

    The ExchangeLocation parameter specifies the mailboxes to include. Valid values are:

    A regular user mailbox. Including other types of mailboxes (for example, inactive mailboxes or Microsoft 365 guest users) is controlled by the AllowNotFoundExchangeLocationsEnabled parameter.

    A distribution group or mail-enabled security group (all mailboxes that are currently members of the group).

    The value All for all mailboxes. You can only use this value by itself.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Vasil Michev 95,181 Reputation points MVP
    2020-08-01T08:16:36.953+00:00

    Deleting meeting requests is not a good idea, it's best to Cancel them instead. But you can only do that via EWS, and the user account must still exist.

    In any case, if you want to just delete items, follow the procedure here: https://learn.microsoft.com/en-us/microsoft-365/compliance/search-for-and-delete-messages-in-your-organization?view=o365-worldwide

    0 comments No comments

  2. Glenn Maxwell 10,146 Reputation points
    2020-08-01T20:06:15.663+00:00

    How do i delete the meeting requests, i want to try the below syntax but not sure

    $Search=New-ComplianceSearch -Name "DeleteMeeting" -ExchangeLocation "searchlocation" -ContentMatchQuery AND (Subject:"TEST") AND (To:"user1@Company portal .com")'

    Start-ComplianceSearch -Identity $Search.Identity

    New-ComplianceSearchAction -SearchName "DeleteMeeting" -Purge -PurgeType SoftDelete