Forum Discussion
dhruvilp
Aug 04, 2021Copper Contributor
Get recently added / updated users from Azure Active Directory
I want to fetch all the users from Azure Active Directory who are recently modified/added using Graph API. I tried to search for the lastModified, or Modified property which returns the last modi...
- Aug 04, 2021Take a look at delta queries: https://docs.microsoft.com/en-us/graph/api/user-delta?view=graph-rest-1.0&tabs=http
VasilMichev
Aug 04, 2021MVP
Take a look at delta queries: https://docs.microsoft.com/en-us/graph/api/user-delta?view=graph-rest-1.0&tabs=http
- dhruvilpAug 04, 2021Copper Contributor
I tried using delta queries but it returns all the users.
Also, I am not getting the nextLink or the deltaLink in the initial response.
Below is my code.
var pagedCollection = await graphClient.Users .Delta() .Request() .Select("userPrincipalName,jobTitle,mobilePhone") .GetAsync();
Below is the response.
Am I missing something here?