use*_*114 9 exchange-server exchangewebservices microsoft-graph-api
我一直在使用 Microsoft Graph API 访问 Exchange Online (Office365) 就地存档。
它基本上是一个经过身份验证的 GET HTTPS 请求https://graph.microsoft.com/v1.0/users/user@company.onmicrosoft.com/mailFolders/ArchiveMsgFolderRoot
,它曾经可以正常工作。
从本周(2020 年 4 月下旬)开始,针对相同资源(无变化)的相同请求开始失败,原因如下:
404响应: {'error': {'code': 'ErrorInvalidMailboxItemId', 'message': "Item Id doesn't belong to the current mailbox.", 'innerError': {'request-id': '4a339242-9821-42a9-9622-4b1f7cd2c162', 'date': '2020-04-24T10:01:35'}}}
其他邮箱(不是ArchiveMsgFolderRoot
)继续正常工作,没有问题。只有就地存档会受到影响。
您现在如何从 Graph API 访问 In-places Archives?你能分享一个例子吗?