繁体   English   中英

Microsoft Graph API - 用户增量查询挑战

[英]Microsoft Graph API - User Delta Query Challenges

用户增量 - https://graph.microsoft.com/v1.0/users/delta

  1. 问题:是否有可能在每次调用期间将经理作为用户增量的一部分,即使没有经理更新观察

    a) $select=accountEnabled,ageGroup,manager,surname,usageLocation,userPrincipalName,userType

    b) Prefer: return=minimal 未使用,它返回 $select 中提到的所有属性,而不是 manager
    c) 当前用户增量查询仅在更新时返回管理器

  2. 问题:由于用户 delta 中对 $filter 的支持有限(仅对 id 和 50 个对象也是如此),是否有任何其他方法可以将过滤器传递给 delta 以检索( https://graph. microsoft.com/v1.0/users?$filter=endswith(mail,'@org.com')

至于第一个问题,我可以看到它对我有用,如果请求 header 未设置为 Prefer: return=minimal Result query ,它也会返回 manager values 事件

至于第二个问题我觉得as of filter only supports only for ID,这个功能目前不可用,如果你想要这个功能,你可以提出一个功能请求- https://techcommunity.microsoft.com/t5 /microsoft-365-developer-platform/idb-p/Microsoft365DeveloperPlatform

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM