Graph Users Delta API

Tushar Deshmukh 1 Reputation point
2022-03-08T03:13:15.283+00:00

I am a product manger at Nice (Premium partner of Microsoft). I am using graph delta query api for the integrations with MS.

To fetch users we are using following API

https://graph.microsoft.com/v1.0/users/delta?$select=givenName,surname,mail,userPrincipalName,department,displayName,companyName,officeLocation,streetAddress,city,state,postalCode,country,preferredLanguage,jobTitle,otherMails,employeeId,manager,memberOf,businessPhones,mobilePhone

When we hit this api first time, we are expecting the list of the latest user records without any change events. Change events are expected in the subsequent api calls but that is not the case.

Below pic show that there are total 5 no of users as of now in azure portal:

180799-pic1.jpg

Now when we hit the respective delta api for query it return a list containing total of 199 values in json, out of this 5 are actual users while rest list contains change events as shown in below pic.

180872-pic2.jpg

Can you guide the way to drop these unwanted events and retrieve only the list of actual users that are present in portal.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,734 questions
{count} votes