如果我(my.user@example.com =已登录用户)尝试获取另一个用户(other.user@example.com)与我共享的邮件文件夹上的增量...
https://graph.microsoft.com/v1.0/users/other.user@example.com/mailFolders/OtherUsersInboxFolderId==/messages/microsoft.graph.delta?$filter=ReceivedDateTime%20ge%202021-04-01T08:00:00.0000000Z..。我得到一个ErrorItemNotFound:
{
"error": {
"code": "ErrorItemNotFound",
"message": "The specified object was not found in the store.",
"innerError": {
"date": "2021-04-19T10:00:00",
"request-id": "<GUID>",
"client-request-id": "<GUID>"
}
}
}如果我不请求增量,而只是请求该文件夹中的消息,则请求成功并返回预期的消息:
https://graph.microsoft.com/v1.0/users/other.user@example.com/mailFolders/OtherUsersInboxFolderId==/messages如果我(my.user@example.com)尝试获取共享邮箱(shared@example.com)的收件箱文件夹的增量,请求也会成功:
https://graph.microsoft.com/v1.0/users/shared@example.com/mailFolders/SharedUsersInboxFolderId==/messages所以现在我的问题是:为什么增量不适用于其他用户与我共享的文件夹?它只是没有在Graph API中实现,还是我做错了什么?
发布于 2021-04-22 16:50:26
Delta调用在共享邮件文件夹上不受支持,这就是为什么你会得到404。
https://stackoverflow.com/questions/67159966
复制相似问题