Share via

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 | Windows | Classic Outlook for Windows | For business
Microsoft Security | Microsoft Entra | Microsoft Entra ID

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.