Message trace for auto-forwarded emails

%3CLINGO-SUB%20id%3D%22lingo-sub-182682%22%20slang%3D%22en-US%22%3EMessage%20trace%20for%20auto-forwarded%20emails%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-182682%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%20there!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELooking%20for%20a%20message%20trace%20PS%20command%20that%20would%20find%20all%20emails%20that%20have%20been%20auto-forwarded%20externally.%20I'd%20like%20to%20provide%20email%20stats%20on%20how%20many%20auto-forwarded%20emails%20to%20external%20email%20addresses%20we%20have%20for%20a%20certain%20time%20(i.e.%2014%20or%2030%20days).%20When%20I%20view%20the%20message%20header%20for%20auto-forwarded%20emails%2C%20there%20is%20a%20property%20named%20%22X-MS-Exchange-Inbox-Rules-Loop%22%20that%20identifies%20these%20emails.%20But%20it%20looks%20like%20this%20property%20cannot%20be%20part%20of%20a%20search%20field%20in%20message%20trace.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20this%20search%20possible%20in%20Exchange%20online%3F%20Thanks%20in%20advance%20for%20suggestions.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-182682%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-182791%22%20slang%3D%22en-US%22%3ERe%3A%20Message%20trace%20for%20auto-forwarded%20emails%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-182791%22%20slang%3D%22en-US%22%3E%3CP%3ENo%20easy%20way%20to%20do%20this%20unfortunately%2C%20you%20will%20have%20to%20get%20the%20full%20message%20trace%20logs%2C%20then%20get%20the%20Message%20trace%20details%20and%20filter%20them%20for%20any%20%22Redirect%22%20events.%20Running%20an%20%22extended%22%20trace%20should%20also%20be%20an%20option.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

 

Hi there!

 

Looking for a message trace PS command that would find all emails that have been auto-forwarded externally. I'd like to provide email stats on how many auto-forwarded emails to external email addresses we have for a certain time (i.e. 14 or 30 days). When I view the message header for auto-forwarded emails, there is a property named "X-MS-Exchange-Inbox-Rules-Loop" that identifies these emails. But it looks like this property cannot be part of a search field in message trace.

 

Is this search possible in Exchange online? Thanks in advance for suggestions.

 

 

 

1 Reply

No easy way to do this unfortunately, you will have to get the full message trace logs, then get the Message trace details and filter them for any "Redirect" events. Running an "extended" trace should also be an option.