【发布时间】:2021-02-03 12:33:52
【问题描述】:
我正在尝试使用下面的查询将我创建的扩展分配给某些用户实例。
https://graph.microsoft.com/v1.0/users?$filter=assignedLicenses/any(x:x/skuId eq c42b9cae-ea4f-4ab7-9717-81576235ccac)&$count=true
在标题上,我将“ConsistencyLevel”指定为“最终”。 Graph Explorer Link.
我收到以下错误。
{
"error": {
"code": "Request_BadRequest",
"message": "The following query options are not supported by this request method or cannot be applied to the requested resource: $filter,$expand,$orderby,$count,$inlinecount,$select,$skiptoken,$skip,$top",
"innerError": {
"date": "2021-02-03T12:26:57",
"request-id": "bdb51771-f2e2-4b34-99b0-708150ef5855",
"client-request-id": "988d5bc5-c549-9147-b02d-4919e5c128c4"
}
}
}
我有什么方法可以使用我现有的查询为用户分配架构扩展?如果这是可能的,我如何使用 ms-graph-sdk 在 Graph Explorer 和 Java 中实现它?
【问题讨论】:
标签: azure-active-directory microsoft-graph-api microsoft-graph-sdks