我有以下情况:
我使用Outlook REST API(不带任何库)来可视化用户的电子邮件-包括事件邀请。首先,我打电话仅获取消息属性,如果该消息具有MeetingMessageType值,则将另一个请求发送到:
https://outlook.office.com/api/v2.0/me/messages/<messageId>?$select=Microsoft.OutlookServices.EventMessage/MeetingMessageType&$expand=Microsoft.OutlookServices.EventMessage/event($select=Id,SeriesMasterId,iCalUID,Type,CreatedDateTime,LastModifiedDateTime,WebLink,Calendar,Start,End,IsAllDay,IsCancelled,Organizer,Attendees,Location,Subject,ResponseStatus,OnlineMeetingUrl,Recurrence,ResponseRequested)
获取活动信息并为客户提供响应邀请的选项。
问题:
从昨天开始,我们的一位客户报告说他看不到活动信息。事实证明,获取此信息的请求返回404。 响应正文:
{
"error": {
"code": "ErrorItemNotFound",
"message": "The specified object was not found in the store., The process failed to get the correct properties."
}
}
该事件显示在Outlook桌面邮件客户端中。
该客户还分享了他们已在其公司中启用了ATP(高级威胁防护)。不知道这是否与问题有关。 我看到其他客户也有这个问题。
更新:
我要求用户尝试从Outlook沙箱中尝试以下请求:
https://outlook.office.com/api/v2.0/me/messages/<messageId>
此请求返回带有“ MeetingMessageType”的EventMessage:“ MeetingRequest”。
然后,当他尝试访问活动时:
https://outlook.office.com/api/v2.0/me/messages/<messageId>?$select=Microsoft.OutlookServices.EventMessage%2FMeetingMessageType&$expand=Microsoft.OutlookServices.EventMessage%2Fevent
Outlook REST API返回404。 对我来说,相同格式的请求有效,因此我无法真正了解发生了什么。
请,任何信息将不胜感激!