Does moving a message item between folders in a shared mailbox modify its immutable id? (Note: It's a shared mailbox))

Vijayakumar Natarajan 0 Reputation points
2024-06-24T11:46:30.68+00:00

I am using the Graph API .NET SDK to fetch messages in a shared mailbox and adding the prefer immutable ids header. However, when paginating the results using the odataNextLink property & fetching the entire result, the immutable ids of message item gets modified when they are moved to a different folder. Is this expected behavior?

Microsoft Exchange Online
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,402 questions
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
5,068 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Mike Hu-MSFT 2,335 Reputation points Microsoft Vendor
    2024-06-25T02:41:37.7133333+00:00

    Hi,

    An item's immutable ID won't change so long as the item stays in the same mailbox. That means that immutable ID will NOT change if the item is moved to a different folder in the mailbox.

    Even if it is a shared mailbox, it should be the same as above.

    However, the immutable ID changes if:

    • The user moves the item to an archive mailbox.
    • The user exports the item (to a PST, as an MSG file, etc.) and re-imports it into their mailbox.

    More information you can refer to: : Obtain immutable identifiers for Outlook resources - Microsoft Graph | Microsoft Learn

    Please feel free to contact me for any updates.

    0 comments No comments