Witali Stinski
Witali Stinski

Reputation: 43

In Microsoft Graph Api message Id has changed without any reason

Time to time we get error response for following request to Microsoft Graph Api:

GET /users/{userPrincipalName}/messages/{id}

"Code: ErrorItemNotFound
Message: The specified object was not found in the store., The process failed to get the correct properties.
..."

After investigation we found that Ids of messages were changed. My question is, why and when Id of message could be changed? Is it bug or normal behavior?

Upvotes: 1

Views: 1435

Answers (1)

Ben Phung Ngoc
Ben Phung Ngoc

Reputation: 112

I think Immutable Id might help you. They also explain the reason of changing Item ID in that article.

Upvotes: 2

Related Questions