Updating ReplyTo parameter using Graph REST API doesn't work

Pedro 1 Reputation point
2022-11-30T11:01:27.697+00:00

Hi.

I'm trying to create replyTo from a message by calling the Graph REST API, currently I generate the draft by making a "createReply" request and then send it with a "send" request with no problem, but when trying to update the draft to modify the "replyTo", returns an HTTP_OK code indicating that everything went well, but the returned json does not contain anything in the "replyTo" field.

In the REST API documentation it clearly indicates that the replyTo field can be updated, but it doesn't work even if it returns an HTTP_OK code, and I found a thread on stackoverflow with the same problem but without solutions to this problem. Can the "replyTo" field be modified by creating a draft with "/createReply"? Because I don't see how to do it.

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

1 answer

Sort by: Most helpful
  1. Pedro 1 Reputation point
    2022-11-30T11:58:54.043+00:00

    It's really weird and looks like a bug, I managed to modify the "replyTo" field in a weird way. Since I couldn't modify the "replyTo" field, I thought of modifying another field to check if the request to update the message worked, I decided to modify the "Importance" field and now it modifies the "replyTo" field, strange but it works, if someone has this problem, this is the solution I found.

    0 comments No comments