交换EWS日历标题重写用于房间邮箱



我们为我提供了一个服务帐户(ex-sa-devtest@mydomain.de),该帐户拥有房间的邮箱(EX-Room-A@mydomain.de)和用户的邮箱(user.a@mydomain.de)。

在Outlook,以user.a运行,我使用EX-Room-A作为房间创建了一个事件。现在,这是Outlook Web访问和使用EWS API FindItems(分别getItem)中发生的矩阵:

  • 使用user.a的凭据,我在user.a的邮箱上看到了正确的事件详细信息(主题和正文)。当访问ex-room-a的邮箱时,我会在商店中找到" errorfoldernotfound:无法在商店中找到指定的文件夹。"

  • 使用ex-room-a邮箱上的ex-sa-devtest的凭据,我看到主题="用户A"(请注意末端的空间),并且身体为空。在user.a的邮箱上,我看到了正确的主题和身体。

是什么原因导致主题字段的"重写"和服务帐户访问房间邮箱时的身体字段的排空?

我使用的肥皂XML是:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ns2="http://schemas.microsoft.com/exchange/services/2006/messages">
<SOAP-ENV:Header><ns1:RequestServerVersion Version="Exchange2013_SP1"/><ns1:TimeZoneContext><ns1:TimeZoneDefinition Id="W. Europe Standard Time"/></ns1:TimeZoneContext></SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns2:FindItem>
<ns2:ItemShape><ns1:BaseShape>AllProperties</ns1:BaseShape></ns2:ItemShape>
<ns2:CalendarView StartDate="2017-12-06T00:00:00+01:00" EndDate="2017-12-06T23:59:59+01:00"/>
<ns2:ParentFolderIds>
<ns1:DistinguishedFolderId Id="calendar"><ns1:Mailbox><ns1:EmailAddress>ex-room-a@mydomain.de</ns1:EmailAddress></ns1:Mailbox></ns1:DistinguishedFolderId>
</ns2:ParentFolderIds>
</ns2:FindItem>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

出于安全原因,邮箱助理作为自动处理逻辑的一部分删除了此信息。您可以使用set-calendarProcessing cmdlet https://technet.microsoft.com/en-us/library/dd335046(v=exchg.160).aspx eg

进行配置。

deleteSubject参数指定是删除还是保留传入会议请求的主题。此参数的有效输入为$ true或$ false。默认值为$ true。 此参数仅在设置为autoAccept的AutomateProcessing参数的资源邮箱上使用。

最新更新