Is The ID of Message unique?

2022-09-23T09:49:50.61+00:00

Hi Support,

Our application will store the information of message which get by Microsoft Graph API.

I would like to know is the ID of message unique for all Outlook emails? And how about the immutable ID?

May I know the ID generation policy?

Best Regards,

Diana Qiao

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

1 answer

Sort by: Most helpful
  1. HarmeetSingh7172 4,811 Reputation points
    2022-09-24T01:01:18.263+00:00

    Hi @DIANA QIAO (DOCU-IRIS-ISD-OOCLL/ZHA)

    Hope you're doing well.

    Message ID would be unique for all the Outlook email messages. However, if you move mails from one folder to another, the message ID will get changed. To avoid it, you can use Immutable IDs.

    To know more about Immutable IDs, access this documentation.

    Also, please refer this article to know about Lifetime of Immutable IDs.

    As far as I know, there is no official document available about ID generation policy.

    Hope this helps.

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

    0 comments No comments