pramod1
asked on
Exchange office 365
I want to query 1 mailbox for 1 email
I want to confirm that email is with that user
I have the subject of the email
I want to confirm that email is with that user
I have the subject of the email
Run the message trace using mail flow tab in O365 with the subject and recipient option.
You can refer below article for the same.
https://support.office.com/en-us/article/message-trace-in-the-office-365-security-compliance-center-3e64f99d-ac33-4aba-91c5-9cb4ca476803
https://support.office.com/en-us/article/message-trace-in-the-office-365-security-compliance-center-3e64f99d-ac33-4aba-91c5-9cb4ca476803
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
How do I run it against whole organization
To run against entire org you can do this:
Get-Mailbox | Search-Mailbox -SearchQuery subject:"verbatim subject line" -TargetMailbox "your mailbox" -TargetFolder inbox -LogOnly
Get-Mailbox | Search-Mailbox -SearchQuery subject:"verbatim subject line" -TargetMailbox "your mailbox" -TargetFolder inbox -LogOnly
ASKER
i need to delete one suspicious email from the company
This will search your entire org and delete the email from all the mailboxes that have that subject line.
Get-Mailbox | Search-Mailbox -SearchQuery subject:"verbatim subject line" -deletecontent -confirm:$false
Be careful using this cmdlet though.
Get-Mailbox | Search-Mailbox -SearchQuery subject:"verbatim subject line" -deletecontent -confirm:$false
Be careful using this cmdlet though.