简体   繁体   English

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

[英]Microsoft Graph API - User Delta Query Challenges

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

  1. Question : Is it possible to get manager as part of user delta during every call even if there is no manager update Observations :问题:是否有可能在每次调用期间将经理作为用户增量的一部分,即使没有经理更新观察

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

    b) Prefer: return=minimal is NOT used and it is returning all attributes mentioned in $select other than manager b) Prefer: return=minimal 未使用,它返回 $select 中提到的所有属性,而不是 manager
    c) Currently User delta query returns manager only if it is update c) 当前用户增量查询仅在更新时返回管理器

  2. Question: As there is limited support for $filter in user delta (only for id and that too with 50 objects), is there any other way to pass filter to delta to retreive updates for the filter used in ( https://graph.microsoft.com/v1.0/users?$filter=endswith(mail,'@org.com')问题:由于用户 delta 中对 $filter 的支持有限(仅对 id 和 50 个对象也是如此),是否有任何其他方法可以将过滤器传递给 delta 以检索( https://graph. microsoft.com/v1.0/users?$filter=endswith(mail,'@org.com')

As for the first question I can see it is working for me it is also returning the manager values event if request header is not set to Prefer: return=minimal Result query至于第一个问题,我可以看到它对我有用,如果请求 header 未设置为 Prefer: return=minimal Result query ,它也会返回 manager values 事件

As for the second question i think as of filter only supports only for ID,This feature is currently not available, if you want this feature to be there, you can raise a feature request - https://techcommunity.microsoft.com/t5/microsoft-365-developer-platform/idb-p/Microsoft365DeveloperPlatform .至于第二个问题我觉得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