EWS - Appointment.Subject returns 组织者而不是在 Outlook 中输入和显示的主题

EWS - Appointment.Subject returns Organizer and not the Subject entered and displayed in Outlook

我正在编写一个 ASP.NET MVC 5 应用程序,.NET 4.5。该页面显示来自 Exchange 服务器的约会。到目前为止效果很好。

问题: 我刚刚在 Outlook 2013 中创建了一个新会议。主题:Roomplan Showcase,我是“John Doe”(组织者)并将 Richard Miles 添加到会议。下次刷新页面时,页面显示: Title: John Doe;服务员:John Doe、Richard Miles

应显示的内容:标题:Roomplan Showcase;服务员:John Doe、Richard Miles

我调试了这个项目的创建,发现约会的 Subject-Member 确实包含 Organizer 字符串。真正的主题无处可去。然后,如果我搞砸了会议的创建,我会在 Outlook 中检查,但在 Outlook、OWA 或其他日历中,主题会正确显示。除了这种令人困惑的行为之外,任何其他会议(在不同的房间,在此测试会议之前创建)都会显示正确的主题。因此,如果我为我的测试室创建会议,主题会变得一团糟,但在真实的房间里,真实的人创建真实的会议,主题会从 EWS 中正​​确提取出来。

我可以在 Exchange 上进行一些配置吗?是什么导致了这个问题?

在您配置了自动处理的房间邮箱上,默认行为是用组织者名称替换主题(这是安全功能,因为会议主题可能包含敏感信息,例如会议讨论冗余等)。

您可以使用 Set-CalendarProcessing cmdlet https://technet.microsoft.com/en-us/library/dd335046(v=exchg.150).aspx 控制此行为,例如 "the DeleteSubject parameter specifies whether to remove or keep the subject of incoming meeting requests. Valid input for this parameter is $true or $false. The default value is $true.This parameter is used only on resource mailboxes where the AutomateProcessing parameter is set to AutoAccept."

干杯 格伦