SOLVED

Delete emails

Brass Contributor

Hi All

i am using the below syntax to delete email but i am unable to, can anyone correct the syntax

 

New-ComplianceSearch -Name "user1_search" -ExchangeLocation user1@contoso.com -ContentMatchQuery '"Received:08/18/2020 00:00..08/20/2020 23:59" AND from:"test@gmail.com" AND Subject:"Test've Test-abcdef msggg"'
start-compliancesearch "user1_search"
1 Reply
best response confirmed by Rising Flight (Brass Contributor)
Solution

You are only running a search, not performing any deletions. Read the documentation: https://docs.microsoft.com/en-us/microsoft-365/compliance/search-for-and-delete-messages-in-your-org...

1 best response

Accepted Solutions
best response confirmed by Rising Flight (Brass Contributor)
Solution

You are only running a search, not performing any deletions. Read the documentation: https://docs.microsoft.com/en-us/microsoft-365/compliance/search-for-and-delete-messages-in-your-org...

View solution in original post