Office365 Microsoft图形组日历列表事件不工作
组日历的列表事件方法不起作用。 我正在尝试使用以下方法从组日历检索所有事件: 无济于事。 我是通过Office365 Microsoft图形组日历列表事件不工作,office365,microsoft-graph-api,Office365,Microsoft Graph Api,组日历的列表事件方法不起作用。 我正在尝试使用以下方法从组日历检索所有事件: 无济于事。 我是通过 GET: https://graph.microsoft.com/v1.0/groups/{groupId}/events 我收到的结果是 "code": "ErrorItemNotFound", "message": "The specified object was not found in the store.", 我是否做错了什么,或者API目前不支持这种方法
GET: https://graph.microsoft.com/v1.0/groups/{groupId}/events
我收到的结果是
"code": "ErrorItemNotFound",
"message": "The specified object was not found in the store.",
我是否做错了什么,或者API目前不支持这种方法
编辑:
小组回应:
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#groups/$entity",
"id": "{id}",
"classification": null,
"createdDateTime": "2017-01-31T11:20:00Z",
"description": "1",
"displayName": "doctest",
"groupTypes": [
"Unified"
],
"mail": "{email}",
"mailEnabled": true,
"mailNickname": "doctest",
"onPremisesLastSyncDateTime": null,
"onPremisesSecurityIdentifier": null,
"onPremisesSyncEnabled": null,
"proxyAddresses": [
"SMTP:{email}"
],
"renewedDateTime": "2017-01-31T11:20:00Z",
"securityEnabled": false,
"visibility": "Public"
}
工作组(非沙箱租户):
您能否提供调用
GET:https://graph.microsoft.com/v1.0/groups/{groupId}
错误响应ErrorItemNotFound是我无法重新编写的。如果我提供未知的组id,我会收到一个ErrorInvalidGroup错误。请验证该组是否为“统一”类型。只有统一组(又名Office 365组)有日历、文件、便笺和对话我想我已经发现了问题所在。我用于测试的租户是一个沙箱租户(在MS partner center中创建)。在实际租户上测试时,API调用正在工作。是否有一些文档可用于沙盒租户无法使用的graph API的哪些部分?应该没有任何区别。你能为工作组发布JSON吗?奇怪的是,有一个配置差异。
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#groups/$entity",
"id": "{id}",
"classification": null,
"createdDateTime": "2016-12-13T16:47:53Z",
"description": "asd",
"displayName": "UploadTest",
"groupTypes": [
"Unified"
],
"mail": "{email}",
"mailEnabled": true,
"mailNickname": "asd",
"onPremisesLastSyncDateTime": null,
"onPremisesSecurityIdentifier": null,
"onPremisesSyncEnabled": null,
"proxyAddresses": [
"SMTP:{email}"
],
"renewedDateTime": "2016-12-13T16:47:53Z",
"securityEnabled": false,
"visibility": "Public"
}