azure-active-directory - 查询可编辑的用户日历会返回不可编辑的日历
问题描述
当查询可编辑的用户日历时,即使用canEdit+eq+true
OData 过滤器子句,我收到的是不可编辑的日历。
下面是 REST 查询端点({userId}
替换为任何现有的用户 GUID):
https://graph.microsoft.com/v1.0/users/{userId}/calendars?$filter=canEdit+eq+true
这是响应结果:
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('{userId}')/calendars",
"value": [
{
"id": "some-id",
"name": "Jours fériés - France",
"canEdit": false,
},
{
"id": "some-other-id",
"name": "Anniversaires",
"canEdit": false,
}
]
}
在查询反向属性时,即不可编辑的日历,我收到可编辑的日历作为响应负载:
下面是 REST 查询:
https://graph.microsoft.com/v1.0/users/{userId}/calendars?$filter=canEdit+eq+false
以下是响应结果:
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('{userId}')/calendars",
"value": [
{
"id": "some-id",
"name": "Calendar",
"canEdit": true,
}
]
}
请注意,我从两个响应结果中省略了不相关的字段。
是否存在已知问题或我误解了该canEdit
属性?
解决方案
推荐阅读
- angular - 找不到名称为“create_param[0]”的控件
- laravel - Laravel 路由地址
- spring-boot - Spring Boot 安全性引发错误,状态为 999“无可用消息”
- python - 如何用该列的平均值填充 Dataframe 中的空白(Nan)?
- javascript - 带有粘性标题的 HTML 表格
- jquery - 渐变颜色 Aspx
- angular - Angular 8:使用具有多个兄弟组件的单个表单
- python - 转换东部时区的时间并以没有 GMT-4 的正式时间格式打印
- android - 反应本机应用程序身份验证谷歌oauth重定向网址
- docker - 在容器内创建 docker 机密