首页 文章

包含Microsoft Graph查询不起作用的筛选器

提问于
浏览
3

我正在尝试在/ users查询上使用包含过滤器,例如:https://graph.microsoft.com/v1.0/users?$ filter = contains(displayName,'Garth')

但是,这会导致BadRequest响应,说"An unknown function with name 'contains' was found. This may also be a key lookup on a navigation property, which is not allowed."

根据OData 4.0规范,尽管可以使用包含过滤器 . 有没有办法在用户列表中使用包含过滤器?

2 回答

相关问题