What will be the value of receivedDateTime when user sends message or start conversation first time?

Abhijit Jagtap 0 Reputation points

I am trying to analyze some messages based on conversation Id. In one of the conversation id I see that user has started the conversation and I see datettime populated in sentDateTime field. But I also see the recevieddatetime field been populated with datetime which has few seconds difference then that of sentDateTime.

So, I just want to confirm what is the value of recevieddatetime for first message sent out by user

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

1 answer

Sort by: Most helpful
  1. HarmeetSingh7172 4,811 Reputation points

    Hello Abhijit Jagtap,

    Thanks for reaching out!

    The 'receivedDateTime' tells the date and time the message was 'received' by the service whereas 'sentDateTime' tells the date and time the message was 'sent'. For both the properties, the date and time information use ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2022 is 2022-01-01T00:00:00Z.

    If you are referring to the first message in a new conversation, the value of 'receivedDateTime' will be the date and time nearly equal to when the message was sent by the user i.e., with a few seconds difference. Note that if the message was delayed in transit, the 'receivedDateTime' value may not reflect the time when the message was originally sent by the user.

    Refer below screenshot:


    Hope this helps.

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

    0 comments No comments