我确信在阅读Microsoft文档后我可以使用OData查询参数过滤组成员,因为https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/group_list_members

请求GET URL - https://graph.microsoft.com/v1.0/groups/ / members?filter = startswith(givenname,'V')

在上面的URL中,groupId用于https://graph.microsoft.com/v1.0/groups

但是当我尝试使用我的工作帐户登录使用Graph Explorer(https://developer.microsoft.com/en-us/graph/graph-explorer)获取结果时,它无效 .

此外,我已尝试在SDK中使用此功能(我已使用Microsoft图形API SDK在我的代码中实现了图形API),但仍然出现相同的错误 .

并给出以下错误 -

{“error”:{“code”:“Request_UnsupportedQuery”,“message”:“当前不支持指定的引用属性查询过滤器 . ”,“innerError”:{“request-id”:“96f3ffef-56f5- 42e3-82f2-64813106b729“,”date“:”2018-02-13T10:59:39“}}}

这是因为“成员”不是资源类型吗?所以它没有属性,所以我们不能过滤这个结果?

如果是这样,那么我们可以通过其他任何方式获得过滤组成员吗?

也发布在Github上的问题 - https://github.com/microsoftgraph/microsoft-graph-docs/issues/2239