问题描述
我需要第一次提取最近6个月创建的用户,随后的运行将成为增量.我使用Microsoft Graph API通过使用createdDateTime过滤器提取用户.但是它引发了错误.
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'.
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
推荐答案
我刚刚与Azure支持工程师确认,API组的createdDateTime属性不支持过滤器.
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.
这篇关于使用graph API通过createdDateTime提取Azure AD用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!