![](/img/trans.png)
[英]Microsoft Graph Api User.Read.All Not granted for my domain
[英]Microsoft Graph API - User Delta Query Challenges
用戶增量 - https://graph.microsoft.com/v1.0/users/delta
問題:是否有可能在每次調用期間將經理作為用戶增量的一部分,即使沒有經理更新觀察:
a) $select=accountEnabled,ageGroup,manager,surname,usageLocation,userPrincipalName,userType
b) Prefer: return=minimal 未使用,它返回 $select 中提到的所有屬性,而不是 manager
c) 當前用戶增量查詢僅在更新時返回管理器
問題:由於用戶 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.