Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

MRM does not work for mailboxes that have an online archive mailbox in Exchange Server


View products that this article applies to.

Symptoms

Considering the following scenario:

  • You configure Microsoft Exchange Online Archiving in a Microsoft Exchange Server 2016 or Exchange Server 2013 environment.
  • You configure a server that is running Exchange Server to use a proxy to connect to Office 365 (without a direct access).
  • You create a retention policy, and then you apply the policy to a user’s mailbox in the on-premises Exchange organization.
  • You run the Start-ManagedFolderAssistant cmdlet to start Messaging Records Management (MRM) processing for the mailbox.

In this scenario, MRM does not work correctly for the mailbox.

↑ Back to the top


Cause

This issue occurs because the web proxy is not set when the server that is running Exchange Server tries to connect to Office 365. Therefore, the cloud-based archive mailbox cannot be found by Exchange Server, and MRM stops processing the mailbox.

↑ Back to the top


Resolution

For Exchange Server 2016, install the Cumulative Update 12 for Exchange Server 2016 or a later cumulative update for Exchange Server 2016.

If you are using Exchange Server 2013, we recommend that you upgrade to Exchange Server 2016 to be able to receive the resolution to this issue. 

↑ Back to the top


More information

You may receive an exception that resembles the following example when you run the Export-MailboxDiagnosticLogs cmdlet against this mailbox:

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)

↑ Back to the top


Keywords: MRM, online archive, Retention policies

↑ Back to the top

Article Info
Article ID : 4468363
Revision : 18
Created on : 2/11/2019
Published on : 2/12/2019
Exists online : False
Views : 456