Ramesh
Ramesh

Reputation: 35

Extracting azure AD users by createdDateTime using graph API

I need to extract users created for last 6 months for the first time and for the subsequent runs its going to be delta. I used Microsoft Graph API for extracting user by using using createdDateTime filter.But Its throwing an error.

https://graph.microsoft.com/v1.0/groups?$filter=CreatedDateTime ge '2019-04-26T21:15:12Z'.

Is there a way of extracting users based on last modified date

Upvotes: 3

Views: 2877

Answers (1)

Tony Ju
Tony Ju

Reputation: 15629

I just have confirmed with Azure support engineer that filter is not supported on the createdDateTime property for the API groups.

The workaround is to fetch the full user collection and filter out locally.

Upvotes: 2

Related Questions