Filtering objects by date in MS Graph

前端 未结 1 1094
北恋
北恋 2021-01-23 12:58

I\'m trying to get a list of all users who were created after a certain date.

I can use the endpoint below to get all users and then extend it again to request the user

相关标签:
1条回答
  • 2021-01-23 13:29

    Unfortunately, filtering by createdDateTime is not currently supported on this resource type. We plan to add it in the future, but cannot share an ETA, yet.

    You would have to fetch the full user collection and filter out locally.

    If your scenario is about finding net new users that have been created, consider using the delta query capability. It allows you to efficiently pick up newly created resources.

    https://docs.microsoft.com/en-us/graph/delta-query-overview

    0 讨论(0)
提交回复
热议问题