簡體   English   中英

Microsoft Graph API - 列出所有具有 OneDrive 許可證的用戶

[英]Microsoft Graph API- list all users with OneDrive license

我想列出所有擁有 OneDrive 許可證的用戶。 我使用這個 URL 但不起作用。

https://graph.microsoft.com/v1.0/users?$filter=assignedLicenses/any(x:x/skuId eq 4b585984-651b-448a-9e53-3b10f069cf7f or x/skuId eq c7df2760-2c81-4ef7-b578-5b5392b571df)

你知道怎么做嗎?

  • 不幸的是,不支持對屬性 assignedLicenses 進行復雜查詢(無論您在上面嘗試做什么)。 如果這樣做,API 將拋出錯誤:

不支持對屬性 assignedLicenses 的復雜查詢

  • 據說我可以看到它適用於簡單的過濾器,例如,

 https://graph.microsoft.com/v1.0/users?$filter=assignedLicenses/any(x:x/skuId eq 4b585984-651b-448a-9e53-3b10f069cf7f)

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM