Getting "ErrorItemNotFound" when trying to acquire delta token for users using Graph Explorer

Prashanth Ettaboina 66 Reputation points

Hi Team,
I'm trying to run the delta query in the Graph Explorer v1.0 signed in with Azure admin and unable to get the delta token for the users.

if I try to run the delta query using the below link, it is working fine  

with the above Get call I'm able to get the skipTokens and after some more calls I'm able to get the delta token without any issue.

But if I try to get the delta token for other users using the below link  

I'm unable to get the delta token and the response for this request is like

    "error": {  
        "code": "ErrorItemNotFound",  
        "message": "The specified object was not found in the store., Default folder Inbox not found.",  
        "innerError": {  
            "date": "2022-08-17T08:56:22",  
            "request-id": "xxxxx-xxxx-xxxx-xxxx-xxxxxxxxx",  
            "client-request-id": "xxxxx-xxxx-xxxx-xxxx-xxxxxxxxx"  

However the above response is coming for 8 out of 10 users for which I have tried.

Can I know the reason for this kind of behavior, let me know if I'm missing something.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,521 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,166 questions
0 comments No comments
{count} votes

Accepted answer
  1. ShivaniRai-MSFT 2,726 Reputation points

    Hi @Prashanth Ettaboina ,

    As per my test in order to get another user's mailbox messages and if the other user hasn't delegated their mailbox access in Exchange Online (like an administrative assistant might do) - we need to use Application permissions rather than Delegated (which acts on behalf of the user). Here is the relevant documentation.

    As you are using Graph Explorer which works in a delegated scope, So to get rid of this error another user has to share his mail folder with the user who wants to access mail messages, or, has to give delegated access to that user which can be done from admin center.

    Follow this documentation to get access token without a user (Client Credentials Flow):

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful