The move message in Graph API is working for the first mail. But for the subsequent mails on top of it, move api is not moving the mail to respective folder and still giving a successful response.

pronita kumar 0 Reputation points
2024-07-05T05:25:00.03+00:00

The move message in Graph API is working for the first mail. But for the subsequent mails on top of it (example Reply mail or forward mail), Move API is not moving the mail to the respective folder and still giving a successful response (201 created). Kindly help resolving the issue as it is impacting our Production environment.

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
4,882 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,001 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. vikram nangare-MSFT 0 Reputation points Microsoft Vendor
    2024-08-15T17:39:20.5866667+00:00

    Hello pronita kumar,

    Thank you for reaching out, Microsoft.

    I have tried to move the email from one folder to another, and it is working. Additionally, I checked the functionality for reply and forward emails and confirmed that I can move the email from one folder to another. Please refer screen shot of Graph API used.

    Screenshot 11

    Screenshot 4

    Please refer to the document below:

    https://video2.skills-academy.com/en-us/graph/api/message-move?view=graph-rest-1.0&tabs=http

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

    0 comments No comments

  2. vikram nangare-MSFT 0 Reputation points Microsoft Vendor
    2024-08-15T17:49:14.2933333+00:00

    Hello pronita kumar

    Thank you for reaching out, Microsoft.

    I attempted to replicate the scenario and successfully moved the email from one folder to another, and it is working. Additionally, I checked the functionality for reply and forward emails and confirmed that I can move the email from one folder to another.

    Please see the screenshot below:

    Screenshot 11

    Screenshot 4

    Please refer to the document below:

    https://video2.skills-academy.com/en-us/graph/api/message-move?view=graph-rest-1.0&tabs=http

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional 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.