A cloud-based identity and access management service for securing user authentication and resource access
Hello Kumar Sugandh
During the initial snapshot, unique users per page are not guaranteed by the Microsoft Graph /users/delta endpoint. The same user may appear on several pages because the snapshot is created while the directory's contents is still changing (for instance, if the object is modified while paging is underway).
Forcing different users on each page is not a server-side option. The suggested and supported method is to use processing to handle this on the client side:
- Keep a user-id-keyed local store.
- Instead of presuming uniqueness, perform upsert (insert/update).
- If necessary, overwrite existing entries and handle duplicate records as usual.
You can also utilize a standard /users API query (non-delta) to retrieve the entire dataset first, and then switch to delta queries for tracking changes moving forward, if your goal is to tightly avoid duplicates during the initial load.
Let me know if any further queries - feel free to reach out!