Filter Microsoft Graph API

问题描述 投票:1回答:1

我有一个与Microsoft Graph API有关的小问题,涉及诸如过滤器/搜索之类的特定功能。我使用“用户”端点,我想要的是能够将通过请求的查询参数设置的基本过滤器功能(例如:startsWith(displayName,Name))与“不等于”功能结合使用。

到目前为止我尝试过的东西看起来像这样:

https://graph.microsoft.com/v1.0/users?$filter=startswith(displayName,'Surname%20FirstName')%20ne%20'Specific%20Name'

作为例外,我回来了:

Request_UnsupportedQuery

这是否意味着特定端点不支持Not Equal功能,或者我的请求不符合API的期望?

这里是small example,在其中找到了我所说的搜索功能,但用于另一个终点。

microsoft-graph
1个回答
0
投票

documentation

注意:Azure AD资源不支持以下$ filter运算符:negtgeltlenot。当前,任何Microsoft Graph资源均不支持contains字符串运算符。

© www.soinside.com 2019 - 2024. All rights reserved.