使用图 API 按 createdDateTime 提取 azure AD 用户
Extracting azure AD users by createdDateTime using graph API
我需要第一次提取过去 6 个月创建的用户,对于后续运行,它将是增量。我使用 Microsoft Graph API 通过使用 createdDateTime filter.But 来提取用户,它抛出一个错误。
https://graph.microsoft.com/v1.0/groups?$filter=CreatedDateTime ge '2019-04-26T21:15:12Z'.
有没有办法根据最后修改日期提取用户
我刚刚与 Azure 支持工程师确认,API 组的 createdDateTime 属性 不支持过滤器。
解决方法是获取完整的用户集合并在本地过滤掉。
我需要第一次提取过去 6 个月创建的用户,对于后续运行,它将是增量。我使用 Microsoft Graph API 通过使用 createdDateTime filter.But 来提取用户,它抛出一个错误。
https://graph.microsoft.com/v1.0/groups?$filter=CreatedDateTime ge '2019-04-26T21:15:12Z'.
有没有办法根据最后修改日期提取用户
我刚刚与 Azure 支持工程师确认,API 组的 createdDateTime 属性 不支持过滤器。
解决方法是获取完整的用户集合并在本地过滤掉。