New-ComplianceSearch

Glenn Maxwell 12,876 Reputation points
2024-06-18T16:30:30.5+00:00

Hi All

i want to delete a recurring meeting invite from a users mailbox. lets say the recipient mailbox is ******@contoso.com. is the below syntax correct. Earlier with Search mailbox syntax we used Kind:meeting, in compliance search do we have that option.

1. Connect-IPPSSession
New-ComplianceSearch -Name "TestDelete" -ExchangeLocation "******@contoso.com" -ContentMatchQuery 'From:"******@somedomain.com" AND subject:"SomeSubject"'
Start-ComplianceSearch -Identity "TestDelete"

2. How many meetings invites the search found how can i know it.

3. To Delete meeting invite is the below syntax correct.
New-ComplianceSearchAction -SearchName "TestDelete" -Purge -PurgeType SoftDelete -Force

4.How to know the deletion status.

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,182 questions
Exchange | Exchange Server | Management
Exchange | Hybrid management
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2024-06-19T09:44:01.9233333+00:00

    Hi, Glenn Maxwell

    Based on your description, I understand that you want to query the number of meeting invitations and the status of the deletion operation.

    After my testing, in compliance search we have that option.

    6.19.1

    The syntax you provided is correct. I successfully deleted the meeting invite. The status after a meeting is successfully deleted is completed. You can use command Get-ComplianceSearch -Identity "TestDelete" | Format-Table Name, Status to view actions that are in the status of the deletion.6.19.2

    However, there is no official documentation on how to query the number of meeting invitations at this time.

    If my answer is helpful to you, please mark it as the answer so that other users can refer to it. Thank you for your support and understanding.


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.