question

GlennMaxwell-2309 avatar image
0 Votes"
GlennMaxwell-2309 asked KyleXu-MSFT commented

Message Tracking Logs

Hi All

i using exchange 2016 hybrid environment. i have a shared mailbox and an external contact. i have created an outlook rule to forward the emails from the shared mailbox to the external contact. The external domain is already in accepted domain and i have configured a send connector for it in exchange onprem. in exchange online also i have added the connector to it. I dont see emails are getting forwarded to the external domain. in other words emails should get forwarded to an external contact and this emails go into an application. Experts how do i do message trace and check whether the emails are getting forwarded to external contact so it can be issue at the application side as well. i want to confirm from exchange side if emails are getting forwarded.

office-exchange-server-administrationoffice-exchange-online-itprooffice-exchange-server-mailflowoffice-exchange-server-itpro
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

user1 has sent an email to the shared mailbox(shared1@contoso.com) and outlook rule has been set on the shared mailbox to forward emails to external contact, from message trace i want to confirm if mail has been forwarded to external contact or not. when i use the below 3 syntaxes only the first one works.

 Get-MessageTrace -sender user1@contoso.com | select Subject,Received,SenderAddress,RecipientAddress,MessageID,Status
    
 Get-MessageTrace -sender user1@contoso.com  | Where-Object {$_.MessageSubject -eq "Test"} | fl eventid,source,sender,messagesubject,messageid,timestamp
    
    
 Get-MessageTrace -MessageId "XXXXXXXXXXXXXXX.prod.outlook.com" | ft Timestamp,Sender,Recipients,RecipientStatus,MessageSubject -AutoSize
0 Votes 0 ·

1 Answer

KyleXu-MSFT avatar image
0 Votes"
KyleXu-MSFT answered KyleXu-MSFT commented

@GlennMaxwell-2309

I want to confirm with you that where do your mailbox hosted? If your shared mailbox hosted on Exchange on-premises, you need to check from Exchange on-premises with "Get-MessageTrackingLog"

When shared mailbox forward email to another user, the shared mailbox will become the sender of this forwarded email. You need to check on this shared mailbox rather than the original sender.


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

my shared mailbox is hosted in office365, i.e i have created it using New-Remotemailbox -Shared syntax.

i have tried both using sender as user and shared mailbox.

0 Votes 0 ·

For Exchange online, there exist a delay about Message trace after sending email.

I also suggest you use send as permission to send email form the shared mailbox. Then check from Message Trace, make sure you could find this record first.

0 Votes 0 ·

@GlennMaxwell-2309

Any update about this thread now?

0 Votes 0 ·