Remove a email for Exchange Online user

A particular email need to delete from all my Exchange Online User. Any idea how to do this ?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

IvanSystem EngineerCommented:

here is the guide how to bulk remove email from accounts:

CodeTwo SoftwareSoftware DeveloperCommented:
Apart from ComplianceSearch-related cmdlets, you can also use Search-Mailbox with the -Delete switch. Here is a detailed guide on how to perform a bulk-delete action:
How to delete email from mailboxes on Exchange 2016 / 2013 / 2010 / Online
The most important part is to correctly set the -SearchQuery, so that you target the particular email and do not delete anything else. If you use the -EstimateResultOnly switch instead of "-Delete", you will be able to see how many items are targeted.
FOXActive Directory/Exchange EngineerCommented:
Connect to o365 via powershell

Do you have for example the subject line of the email?  The below one liner will delete it from all of your o365 users mailboxes

Get-Mailbox -ResultSize Unlimited | Search-mailbox -SearchQuery 'Subject:"Bad Email on Deck"' -DeleteContent
AXISHKAuthor Commented:
Subject with non English chars can't be searched successfully. Do I need to install anything on my workstation ?

search-mailbox -identity johnlee -searchquery "Subject:答复:  请帮忙开通付兵的邮箱" -EstimateResultOnly
The property keyword isn't supported.
    + CategoryInfo          : InvalidArgument: (:) [], ParserException
    + FullyQualifiedErrorId : AAAC573B
    + PSComputerName        :
CodeTwo SoftwareSoftware DeveloperCommented:
The cmdlet most probably fails because of the second colon inside the query. You could try changing the query to:
-searchquery "Subject:'请帮忙开通付兵的邮箱'"

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.