Planning Outlook item identifiers for integrations
Understand how Outlook item IDs behave when an integration stores references for later use.
Identify the reference
An integration may store an Outlook message or event ID to reconnect it with a support request or booking. Microsoft notes that ordinary item IDs can change when an item is moved, so a saved reference needs a deliberate design.
Understand immutable ID limits
Microsoft Graph offers an optional immutable ID for supported Outlook items. Microsoft states that it stays the same while the item remains in the same mailbox, including a move between folders, but changes in cases such as moving to an archive mailbox.
Plan consistent use
The preference header applies only to the request carrying it. Decide how the application will use the ID format consistently and how existing stored references will be migrated using Microsoft’s documented approach. IDs are case-sensitive, so preserve their exact values.
Test the integration
With mocked Graph responses and fictional records, test a folder move, an archived item and a previously stored reference. Confirm that the application can flag a missing item for review without creating a duplicate support request or contacting a real mailbox.