使用graph API通过createdDateTime提取Azure AD用户 [英] Extracting azure AD users by createdDateTime using graph API

查看:78
本文介绍了使用graph API通过createdDateTime提取Azure AD用户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要第一次提取最近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用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆