Share via

Sent Time is in UTC when using createReply

Anonymous
2021-08-19T08:34:18.173+00:00

When using the Reply() method everything works as it should, but a customer notified us that the Sent Time in the reply chain is not correct and is in UTC. I'm not sure if this is a bug or not, but I'm not sure how to correct this.

Example request url is

POST https://graph.microsoft.com/v1.0/me/messages/{message-id}/createReply

Reply receipt: Sent should read 4:11:52 PM (Original emails received date)

From: ######## - #### #### ##### <#####@####.com>
Sent: Tuesday, August 17, 2021 9:11:52 PM
To: #########
Subject: #######

Expected behavior
Have the Sent: header in the reply shown as it is when it originally came in. Currently it's being convert to UTC with no offset.

I have also tried adding the Prefer: outlook.timezone="Eastern Standard Time" header and this doesn't work too.

Sourced from https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/1108

Microsoft Security | Microsoft Graph

Your answer

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