exchange online How Do I Call an API to Obtain Email Tracking Logs?

evan 25 Reputation points
2023-12-07T10:00:55.8166667+00:00

https://answers.microsoft.com/zh-hans/msoffice/forum/all/exchange-online/18061e5c-83c6-44ca-9d3e-1c9a98a7ceab

I tried to apply the above way, but it returns

{'error': {'code': 'BadRequest', 'message': "Resource not found for the segment 'messageTrace'.", 'innerError': {'date': '2023-12-07T09:09:05', 'request-id': '5fbffd04-392c-43c6-83b5-1e2c416429c8', 'client-request-id': '5fbffd04-392c-43c6-83b5-1e2c416429c8'}}}

Is there a reference documentation for the API ?

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

Accepted answer
  1. Vasil Michev 111.9K Reputation points MVP
    2023-12-07T16:53:24.82+00:00

    There is no such API. There was a preview back in the day, but Microsoft hasn't released any public resources that you can leverage to get message trace logs. Use PowerShell instead.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.