Graph API to download message trace

Reshmi Sankaran 1 Reputation point
2020-10-29T08:53:22.543+00:00

Is there an API to get message trace of the organization?
I am able to download the message trace from Exchange admin center but couldn't find an API for that.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,649 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Glen Scales 4,431 Reputation points
    2020-10-29T23:38:19.327+00:00
    0 comments No comments

  2. Adam Wylie 1 Reputation point
    2021-07-21T11:59:56.803+00:00

    Hi guys, i also need to use the tracing api
    it works fine for string filters (e.g. SenderAddress)

    but any datetime (e.g. StartDate EndDate Received) it throws a HTTP 500 in the tenant i am working with.

    $filter=StartDate eq datetime'2021-06-20T01:00:00' and EndDate eq datetime'2021-07-20T00:00:00'

    Is anyone else seeing this?