我正在尝试下面的请求。根据用户在assignedPlans属性中的servicePlanId过滤用户,尝试过滤“电话系统”计划。
https://graph.microsoft.com/beta/users?$filter=assignedPlans/any(x:x/servicePlanId eq 4828c8ec-dc2e-4779-b502-87ac9ce28ab7)并在响应体内部接收下面给出的错误消息。
"message": "Complex query on property assignedPlans is not supported.",MS-Graph-Explorer link如何以这种方式过滤用户?有没有什么方法可以用ms-graph-java-sdk来实现呢?
发布于 2021-01-27 21:10:21
这是当前API的一个限制。允许更复杂查询的There a newer engine。要访问它,您需要添加值为eventual的ConsistencyLevel标头,并添加$count=true作为查询参数。
https://stackoverflow.com/questions/65919279
复制相似问题