BonJerome
asked on
Find messages in Exchange mailboxes by MessageId
Is there a way to locate a message in someone's mailbox by the MessageId?
I don't mean by using tracking logs; that only shows me that it was delivered to the mailbox, but it doesn't show me the message actually existing in the mailbox.
I've also tried to find the message with Exchange Search to no avail. This will normally find even deleted items within the retention timeframe.
I don't mean by using tracking logs; that only shows me that it was delivered to the mailbox, but it doesn't show me the message actually existing in the mailbox.
I've also tried to find the message with Exchange Search to no avail. This will normally find even deleted items within the retention timeframe.
ASKER
Yes, Search-Mailbox is the cmdlet for Exchange Search I was trying earlier. Does anyone know a way to incorporate Search-Mailbox to find an email in a specific mailbox? MessageId is known; Subject/sender are not known.
ASKER
Does anyone have a way to incorporate Search-Mailbox into finding an actual message by MessageId? This shouldn't be close yet because it hasn't been answered.
This article tells you how to find the message by MessageID in Exchange 2007 or newer:
https://www.codetwo.com/kb/messageid/
It also links to the TechNet article for using the Search-Mailbox to do it.
https://www.codetwo.com/kb/messageid/
It also links to the TechNet article for using the Search-Mailbox to do it.
ASKER
@Davis: Thank you, but that article describes searching for message tracking logs, not for messages themselves, the way Search-Mailbox does. And the link in the article is to the TechNet page for Get-MessageTrackingLog.
What I'm looking for is a way to use Search-Mailbox (or something that gets actual messages) Â to get messages by MessageId.
Example:
1. UserA sends a message to 50 people.
2. UserB sends a reply-all to UserA's message.
3. UserA sends a reply-all to UserB's message.
4. At the same time, UserC sends a reply-all to UserB's message.
The goal: pull all instances of UserA's last message (line 3) out of everyone's mailboxes using Search-Mailbox, but none of the other messages.
To my knowledge, the best way to identify the instances of that specific message is by the MessageId. I already know that Subject, Sender, Recipient, Timestamp don't grab only the desired message, because they are not unique. And Search-Mailbox doesn't have the ability to use MessageId as a search parameter.
Does anyone have an answer or an idea?
What I'm looking for is a way to use Search-Mailbox (or something that gets actual messages) Â to get messages by MessageId.
Example:
1. UserA sends a message to 50 people.
2. UserB sends a reply-all to UserA's message.
3. UserA sends a reply-all to UserB's message.
4. At the same time, UserC sends a reply-all to UserB's message.
The goal: pull all instances of UserA's last message (line 3) out of everyone's mailboxes using Search-Mailbox, but none of the other messages.
To my knowledge, the best way to identify the instances of that specific message is by the MessageId. I already know that Subject, Sender, Recipient, Timestamp don't grab only the desired message, because they are not unique. And Search-Mailbox doesn't have the ability to use MessageId as a search parameter.
Does anyone have an answer or an idea?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Alright, thanks. If anyone in the future does find away, please let us know!
https://technet.microsoft.com/en-us/library/dd298173(v=exchg.160).aspx
However, i did see any properties related to MessageID for SearchQuery.
https://social.technet.microsoft.com/Forums/en-US/5d9d2800-8b56-4e3f-83d4-69b2958e5ebc/multi-mailbox-search-and-message-header?forum=exchangesvrsecuremessaginglegacy