Issue with DELTA query on list-items not returning 'deleted' items

Vikharankar, Vishakha 20 Reputation points
2023-11-10T08:48:14.41+00:00

I'm using the GET /sites/{siteId}/lists/{listId}/items/delta API in Graph Explorer, following the documentation at https://learn.microsoft.com/en-us/graph/api/listitem-delta?view=graph-rest-beta&tabs=http. However, I've noticed that the API isn't returning any records of 'deleted' items, unlike what's shown in the example at https://learn.microsoft.com/en-us/graph/api/listitem-delta?view=graph-rest-beta&tabs=javascript#response-2. I was previously able to get 'deleted' items with this API a few days ago. Has something changed?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,819 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,559 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 34,901 Reputation points Microsoft Vendor
    2023-11-13T05:49:36.68+00:00

    Hi @Vikharankar, Vishakha,

    When using delta query Microsoft Graph returns as deleted new/updated/deleted items that are not in start-end date range of the initial request.

    Please check if you have this issue in the case. Here is the document for tracking changes

    https://learn.microsoft.com/en-us/graph/delta-query-overview


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

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


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.