房间邮箱的 Exchange EWS 日历标题重写
Exchange EWS Calendar title rewrite for room mailboxes
我们的 IT 部门为我提供了一个服务帐户 (ex-sa-devtest@mydomain.de
),该帐户具有房间邮箱 (EX-Room-A@mydomain.de
) 和用户邮箱 (user.a@mydomain.de
) 的委托权限。
在 Outlook 中,运行 作为 user.a
,我使用 EX-Room-A
作为房间创建了一个活动。现在这里是 Outlook Web Access 中发生的矩阵以及使用 EWS API FindItems (resp. GetItem):
使用 user.a
的凭据,我在 user.a
的邮箱中看到了正确的事件详细信息(主题和 Body)。当访问ex-room-a
的邮箱时,我得到"ErrorFolderNotFound: The specified folder could not be found in the store."
在 ex-room-a
的邮箱上使用 ex-sa-devtest
的凭据,我看到 Subject="User A "(注意末尾的 space)和Body 为空。在 user.a
的邮箱上,我看到正确的主题和 Body。
是什么原因导致服务账号访问房间邮箱时Subject字段"rewrite"和Body字段为空?
我使用的 SOAP 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%28v=exchg.160%29.aspx eg
进行配置
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.
我们的 IT 部门为我提供了一个服务帐户 (ex-sa-devtest@mydomain.de
),该帐户具有房间邮箱 (EX-Room-A@mydomain.de
) 和用户邮箱 (user.a@mydomain.de
) 的委托权限。
在 Outlook 中,运行 作为 user.a
,我使用 EX-Room-A
作为房间创建了一个活动。现在这里是 Outlook Web Access 中发生的矩阵以及使用 EWS API FindItems (resp. GetItem):
使用
user.a
的凭据,我在user.a
的邮箱中看到了正确的事件详细信息(主题和 Body)。当访问ex-room-a
的邮箱时,我得到"ErrorFolderNotFound: The specified folder could not be found in the store."在
ex-room-a
的邮箱上使用ex-sa-devtest
的凭据,我看到 Subject="User A "(注意末尾的 space)和Body 为空。在user.a
的邮箱上,我看到正确的主题和 Body。
是什么原因导致服务账号访问房间邮箱时Subject字段"rewrite"和Body字段为空?
我使用的 SOAP 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%28v=exchg.160%29.aspx eg
进行配置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.