MS Graph ErrorItemNotFound on some message IDs

Martin 20 Reputation points
2023-07-12T19:40:18.9+00:00

I have an Outlook plugin where users can journalize mails into an my application. The message id and some other info is sent to a service.

But there is a weird issue, only some of my users have - where some of the IDs result in ErrorItemNotFound: The specified object was not found in the store., The store ID provided isn't an ID of an item.

The id is taken straight from the mail in outlook, so i know the ID exists.

At first i thought the issue was the users had a shared mailbox and they tried to journalize from there, but adding Mail.Read.Shared had no effect.

The permission i have active in Azure is:

  • Calendars.Read
  • Calendars.ReadWrite
  • Mail.Read
  • Mail.Read.Shared
  • Mail.ReadBasic.Shared
  • Mail.Send
  • User.Read
  • User.Read.All

I had no luck in fixing this - does anyone have an idea what it can be?

Outlook
Outlook
A family of Microsoft email and calendar products.
3,708 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,382 questions
{count} votes

Your answer

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