Microsoft Graph 驱动器过滤器不适用

Microsoft Graph Drives Filter doesn't apply

我尝试使用 Micrsoft Graph 按名称获取 SharePoint 库。

以下查询return两个库(驱动器,更准确地说)的名称: https://graph.microsoft.com/v1.0/sites/SiteID/drives?$select=name,id

结果:

{
    "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#drives(name,id)",
    "value": [
        {
            "id": "b!AzzEy..............MAZI5",
            "name": "Dokumenty"
        },
        {
            "id": "b!AzzEy.............B-G2yh",
            "name": "serwis"
        }
    ]
} 

为了return只有一个名字,我这样做$filter

https://graph.microsoft.com/v1.0/sites/SiteID/drives?$select=name,id&$filter=name eq 'serwis'

但它不起作用 - return 所有驱动器。

URL哪里有问题?

不幸的是,$filter 对驱动器不起作用 endpoint.Please 请随意投票支持此功能,请在此处提问 - https://microsoftgraph.uservoice.com/forums/920506-microsoft-graph-feature-requests/suggestions/41172841-microsoft-graph-api-odata-support-to-fetch-dri