Aug 04 2021
12:21 AM
- last edited on
Jan 14 2022
03:41 PM
by
TechCommunityAP
Aug 04 2021
12:21 AM
- last edited on
Jan 14 2022
03:41 PM
by
TechCommunityAP
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 modified date on which the filter can be applied but did not find any. (Ref: User Properties)
Is there any way to achieve the above requirement?
My goal is to get the users modified in a specific time frame and perform the business logic.
Aug 04 2021 12:42 AM
SolutionAug 04 2021 03:47 AM
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?
Aug 04 2021 09:34 AM
Hello! You've posted your question in the Tech Community Discussion space, which is intended for discussion around the Tech Community website itself, not product questions. I'm moving your question to the Azure Active Directory space- please post Azure Active Directory questions here in the future.