Status Field in Messages API

Naman Nassa 1 Reputation point
2022-06-27T15:19:09.497+00:00

I am trying to retrieve the Message Trace report using Graph API.

Before I was able to get the 'status' field using the old web reporting services using powershell scripting.

I am now switching to Python and using the graph API - https://graph.microsoft.com/v1.0/users/{user_id}/messages.

I would like to know how to get the 'status' field that was available in the message trace report (https://learn.microsoft.com/en-us/previous-versions/office/developer/o365-enterprise-developers/jj984335(v=office.15) in the Graph API for Mail/Messages.

215472-image.png

I would like this field in the graph API.

Microsoft Security Microsoft Entra Microsoft Entra ID
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sheena-MSFT 1,736 Reputation points
    2022-06-28T12:04:15.433+00:00

    Hi @NamanNassa-4571,

    AFAIK, Currently there is no such property available in the message object that will give you status of the message in office 365 email system in Graph API.

    You can submit a feature request idea which will be monitored by Microsoft team and make the enhancements to Microsoft Graph APIs.

    Hope this helps.
    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.

    0 comments No comments

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.