Delta query for users - too many unchanged results returned

Duarte Presa 0 Reputation points
2025-06-24T08:55:07.8733333+00:00

I am using Microsoft Graph Delta Query to synchronize users from Entra ID into an external system.

My request URL is: https://graph.microsoft.com/v1.0/users/delta?$select=displayName,employeeId,accountEnabled,givenName,surname,companyName,mail,businessPhones,mobilePhone,userPrincipalName,jobTitle,employeeType,officeLocation,city,country,preferredLanguage,streetAddress,postalCode,state,id,department,employeeOrgData,onPremisesDistinguishedName,manager

The issue I’m encountering is that:

  • The delta query often returns very large result sets, even when only a few changes have occurred.
  • Many pages include the exact same users repeatedly, even though no change has happened on these users since the last sync.

This results in continuous "updates" on my external system with minimal changes and a lot of processing time.

Can you please help me figure out what's wrong? Thanks.

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Akpesiri Ogbebor 2,530 Reputation points
    2025-06-26T12:45:18.6433333+00:00

    Hello Duarte Presa

    Thanks for contacting MS Q&A. I will be able to help you with resolving your issues.

    Even if you're using $select=..., delta tokens can still be invalidated by changes to non-selected properties, especially:

    • Extension attributes (e.g., Azure AD Connect or custom schema extensions)
    • Internal directory updates that aren't visible through Graph

    Why this occurs: Delta tokens are sometimes invalidated by backend metadata changes, resulting in full result sets instead of actual deltas.

    Try reducing your $select to only critical attributes (exclude manager, employeeOrgData, etc.) for initial testing:

    https://graph.microsoft.com/v1.0/users/delta?$select=displayName,mail,userPrincipalName,id

    Then, gradually add more properties and monitor which ones cause noisy deltas.

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

    Siri


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.