Question about conversation ID , initial emails message id gets changed when someone responds to the email

intake 0 Reputation points
2025-03-24T21:48:46.8133333+00:00

So, we are sending emails to leads that filled out forms on our website. I track the message id of each template I send to our leads. If someone responds to one of those templates its starts the conversation which i need to reply to. I have a script that looks for new replies, it could find the reply fine, but i pull the message id of all emails in the chain (initial and the response) and the initial emails message id is now different then the message id I had when I sent the email. Why does the message id change when a conversation is started. This makes my tracking impossible. Any way around this?

Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. CarlZhao-MSFT 46,376 Reputation points
    2025-03-25T09:38:06.4666667+00:00

    Hi @intake

    Have you tried using immutable IDs? Add it to the request header to ensure your application can retrieve IDs that do not change during the item's lifecycle.

    https://learn.microsoft.com/en-us/graph/outlook-immutable-id.

    Hope this helps.

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


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.