none
Message Trace logs RRS feed

  • Question

  • Hi All

    I am using exchange hybrid environment, i have an application which triggers emails to my exchange internal users, office365 users and external users. how can i know if the emails were triggered from application and hit my exchange server. Which logs in edgeserver and mailboxservers do i need to check.  lets say application uses a name app1@contoso.com and i have a user lets say user1@contoso.com, which logs do i need to check.

    Thursday, October 17, 2019 4:20 AM

Answers

  • Hello,

    on your exchange onprem , you have get-messagetrackinglog


    Get-MessageTrackingLog -Server Mailbox01 -Start "03/13/2018 09:00:00" -End "03/15/2018 17:00:00" -Sender "app1@contoso.com" -Recipients "user1@contoso.com" 
    i used pipline for output :
    |out-gridview


    Olivier.


    Thursday, October 17, 2019 7:40 AM
  • Hi,

    Additional information, in Exchange online, you need to use Get-MessageTrace command to check it:

    Get-MessageTrace -SenderAddress app1@contoso.com -RecipientAddress user1@contoso.com -StartDate 10/17/2019 -EndDate 10/18/2019

    Regards,

    Kyle Xu


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Friday, October 18, 2019 9:13 AM
    Moderator

All replies

  • Hello,

    on your exchange onprem , you have get-messagetrackinglog


    Get-MessageTrackingLog -Server Mailbox01 -Start "03/13/2018 09:00:00" -End "03/15/2018 17:00:00" -Sender "app1@contoso.com" -Recipients "user1@contoso.com" 
    i used pipline for output :
    |out-gridview


    Olivier.


    Thursday, October 17, 2019 7:40 AM
  • Hi,

    Additional information, in Exchange online, you need to use Get-MessageTrace command to check it:

    Get-MessageTrace -SenderAddress app1@contoso.com -RecipientAddress user1@contoso.com -StartDate 10/17/2019 -EndDate 10/18/2019

    Regards,

    Kyle Xu


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Friday, October 18, 2019 9:13 AM
    Moderator
  • Hi,

    I am writing here to confirm with you how thing going now?

    If the above suggestion helps, please be free to mark it as an answer for helping more people.

    Regards,

    Kyle Xu


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Tuesday, October 22, 2019 7:51 AM
    Moderator