microsoftgraph / microsoftgraph/msgraph-sdk-dotnet

Iterating over delta tokens does not seem to be returning all driveItems, is it meant to?

Open
#2,853 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Needs: Attention :wave: type:bug
Dominant language
C#
Stars
789
Forks
264
Avg merge
15h 17m
Merged PRs (30d)
3

Description

Describe the bug

We have an established tenant with a decade of documents, if we iterate over all the delta tokens I was expecting to receive a notification of every driveItem ever made - but there seems to be some missing, including entire site libraries

Is this expected behaviour?

Expected behavior

I was expecting all the documents to appear

How to reproduce

A bit hard to do since you need an existing tenant with lots of activity, but basically just iterate over site and exhaust the driveItem delta tokens

SDK Version

No response

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output
Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported iteration over site driveItem delta tokens in an established tenant and record which driveItems or site libraries are missing. Check the Microsoft Graph delta-query behavior and the SDK request flow; done means determining whether the omissions are expected service behavior or an SDK defect, with a minimal reproducible case if it is a defect.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.