IdType="ImmutableId"

Phil Stowell 15 Reputation points
2023-05-10T15:23:01.66+00:00

Good afternoon,

Has anything changed with using IdType="ImmutableId"? This has been working fine for a number of years.

I have been doing batch requests of /messages?$search=... and for each batched request I had the header prefer IdType="ImmutableId". This batch request now fails with a 400 bad request on graph explorer and api returns "ErrorInvalidIdMalformed" if I have this header included. I can include on the batch post request itself. Is ImmutableId still relevant or I just use without if I want to use the ID returned in the future.

I have searched for clarity on this without luck.

Many thanks,

Microsoft Security | Microsoft Graph
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.