症状
考虑下面的方案:
-
在 Microsoft Exchange Server 2016年或Exchange Server 2013年环境中配置 Microsoft Exchange Online 存档。
-
您配置的服务器上运行 Exchange Server 使用代理服务器来连接到 Office 365 (而不直接访问)。
-
创建保留策略,然后将该策略应用于内部 Exchange 组织中用户的邮箱。
-
您运行到开始 ManagedFolderAssistant cmdlet开始处理邮箱邮件记录管理 (MRM)。
在这种情况下,MRM 不能正确用于邮箱。
原因
因为在运行 Exchange Server 的服务器试图连接到 Office 365 时未设置 web 代理,将发生此问题。因此,基于云的存档邮箱无法找到Exchange Server和 MRM 停止处理该邮箱。
解决方案
对于 Exchange Server 2016,安装 Exchange Server 2016年的累积更新 12 Exchange Server 2016 年或以后累积性更新。
如果您使用的 Exchange Server 2013年,我们建议您升级到 Exchange Server 2016 能够收到对此问题的解决方法。
更多信息
您可能会收到类似于下面的示例对此邮箱执行导出 MailboxDiagnosticLogs cmdlet 时异常:
Export-MailboxDiagnosticLogs "MailboxAlias" -ComponentName MRM | FL > C:\location\MBXDiag.txt
----------Call Stack from MRM Details-------------------- Microsoft.Exchange.MailboxAssistants.Assistants.ELC.ElcEwsException: ELC EWS failed with error type: 'ArchiveExchangeWebServiceNotAvailable'. Message: Archive EWS url is unknown. at Microsoft.Exchange.MailboxAssistants.Assistants.ELC.RemoteArchiveProcessorBase..ctor(MailboxSession mailboxSession, ADUser user, StatisticsLogEntry statisticsLogEntry, Boolean isCrossPremise, Boolean isTestMode, MailboxesInformation archiveMailboxesInformation) at Microsoft.Exchange.MailboxAssistants.Assistants.ELC.ArchiveProcessorFactory.Create(ArchiveLocation archiveLocation, MailboxSession mailboxSession, ADUser adUser, StatisticsLogEntry statisticsLogEntry, Boolean isTestMode, MailboxesInformation archiveMailboxesInformation) at Microsoft.Exchange.MailboxAssistants.Assistants.ELC.MailboxData.get_ArchiveProcessor() at Microsoft.Exchange.MailboxAssistants.Assistants.ELC.ElcUserTagInformation.SaveConfigItem(MailboxDataForTags mailboxDataForTags) at Microsoft.Exchange.MailboxAssistants.Assistants.ELC.TagProvisioner.InvokeInternal(MailboxDataForTags mailboxDataForTags) at Microsoft.Exchange.MailboxAssistants.Assistants.ELC.TagProvisioner.Invoke(MailboxDataForTags mailboxDataForTags) at Microsoft.Exchange.MailboxAssistants.Assistants.ELC.ElcTagSubAssistant.InvokeInternal(MailboxSession mailboxSession, MailboxDataForTags mailboxDataForTags) at Microsoft.Exchange.MailboxAssistants.Assistants.ELC.ElcTagSubAssistant.Invoke(MailboxSession mailboxSession, MailboxDataForTags mailboxDataForTags) at Microsoft.Exchange.MailboxAssistants.Assistants.ELC.ELCAssistant.InvokeCore(MailboxSession mailboxSession, List`1 customDataToLog, StatisticsLogEntry logEntry, ElcParameters parameters) at Microsoft.Exchange.MailboxAssistants.Assistants.ELC.ELCAssistant.<>c__DisplayClass30_0.<InvokeInternalAssistant>b__1() at Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(Action tryDelegate, Func`2 filterDelegate, Action`1 catchDelegate)