Share via

calendar invite

Glenn Maxwell 13,761 Reputation points
2023-06-28T04:09:00.6966667+00:00

Hi All

I want to delete calendar invite for all users with the calendar invite subject: TEST-ABC and from sender ******@contoso.com. in the below syntax is it possible to add meeting invite like kind:meetings in the syntax because i only want to delete meeting invites with subject TEST-ABC not any email with subject TEST-ABC

New-ComplianceSearch -Name "Test" -ExchangeLocation ALL -ContentMatchQuery '(Subject:"TEST-ABC") AND (From:******@contoso.com)' | start-ComplianceSearch

Exchange Online
Exchange Online

A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.

Exchange | Exchange Server | Management
Exchange | Exchange Server | Management

The administration and maintenance of Microsoft Exchange Server to ensure secure, reliable, and efficient email and collaboration services across an organization.

Windows for business | Windows Server | User experience | PowerShell
0 comments No comments

Answer accepted by question author

Jarvis Sun-MSFT 10,291 Reputation points Microsoft External Staff
2023-06-29T09:28:32.7433333+00:00

Hi @Glenn Maxwell ,

By my test, you can try the below cmdlet:

Search-Mailbox -Identity "mailbox" -SearchQuery "kind:meetings AND Subject:'TEST-ABC'" -DeleteContent 

Reference: [SOLVED] Delete Meeting invite - MS Exchange - Spiceworks


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 

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.

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

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