Journal mailbox fails to synchronize - No matching MailboxEntry found

book

Article ID: 100047982

calendar_today

Updated On:

Description

Error Message

There are no errors in the Event Viewer but following message is shown on the screen after attempting to synchronize the target journal mailbox:

The following mailboxes could not be synchronzed

In a Dtrace of the JournalTask process and DirectoryService the following error is found:

{GetMailboxEntryDetails:#4863} No matching MailboxEntry found
{GetMailboxEntryDetails} HRXEX fn trace : Error [0x80070490], [d:\builds\16_\ev\v-m-s\sources\source\agents\agentscommon\agentsfunctions.cpp, lines {4844,4853,4857,4859,4864}, built Oct  9 11:34:18 2019].
{GetMailboxEntryDetails:#4921} Exception Occurred [0x80070490] [Element not found.]

Just prior to this, in the Dtrace, EV attempts to find information on the journal target in the ExchangeMailboxEntry, ExchangeMailboxStore, and ExchangeServerEntry tables. 

DirectoryService: ADO: SELECT eme.ExchangeMailboxEntryId,eme.MbxIdentity,eme.LegacyMbxDN,eme.MbxDisplayName,eme.MbxAlias,eme.MbxNTUser,eme.MbxNTDomain,eme.MbxArchivingState,eme.MbxExchangeState,eme.ExchangeMbxType,eme.MbxWarningLimit,eme.MbxSendLimit,eme.MbxReceiveLimit,eme.MbxSize,eme.MbxItemCount,eme.DefaultVaultId,eme.City,eme.Company,eme.Country,eme.Department,eme.EmployeeType,eme.FirstName,eme.LastName,eme.Office,eme.State,eme.Title,eme.UseQuota,eme.LastModified,eme.EnabledPstImport,eme.PolicyEntryId,eme.PSTPolicyEntryId,eme.PolicyTargetGroupEntryId,eme.PolicyTargetMemberEntryId,eme.ADMbxDN,eme.ExchMbxGUID,eme.MbxStoreIdentity,eme.ADMbxFlags,eme.DesktopPolicyEntryId,eme.MbxSuspended,eme.MoveArchiveShortcutSubtask,eme.objectSidIdentity,eme.msExchMasterAccountSidIdentity,ese.ExchangeServerEntryId,ese.SiteEntryId,ese.ExchangeComputer,ese.ExchangeServerADSPath,ese.ExchangeLegacyDN,ese.ExchangeVersion,ese.ExchangeServicePack,ese.ExchangeServerIdentity,ese.ExchangeServerFQDN,ese.ExchangeServerGCOverride,ese.OrganizationEntryId,ese.ManualAdminSecurityDesc,ese.OverrideFlags,ese.DefVaultStoreEntryId,ese.DefIndexingServiceEntryId,ese.ExchServerVersion,ese.ADExchSvrDN,ese.ExtendedConfigurationData,ese.MbxArchiveScannedUTC,ese.MbxArchiveSubmittedUTC,ese.AddedToEVUTC,ese.ExchangeServerProxyServerOverride,ese.ExchangeServerCertificatePrincipalOverride,ese.MajorVersion,ese.MinorVersion,ese.ExchangeServerAuthenticationOverride
FROM ExchangeMailboxEntry AS eme
JOIN ExchangeMailboxStore AS ems ON ems.MbxStoreIdentity = eme.MbxStoreIdentity
JOIN ExchangeServerEntry AS ese ON ems.ExchangeServerIdentity = ese.ExchangeServerIdentity
WHERE eme.LegacyMbxDN = ?

Cause #1

  • Remove the journal target from the Vault Admin Console
  • Remove the duplicate entry from the ExchangeMailboxEntry table
  • Add the journal target back again
  • Run a synchronization of the journal mailbox

Cause #2

  • If there is no duplicate entry in the ExchangeMailboxEntry table, run the following query to identify if ExchangeMailboxStore.ExchangeServerIdentity value is NULL

SELECT eme.MbxDisplayName, ems.Name AS 'Mailbox DB', ems.MbxStoreIdentity, ems.ExchangeServerIdentity AS 'ExchangeServerIdentity (MAILBOX_STORE)', ese.ExchangeComputer, ese.ExchangeServerIdentity AS 'ExchangeServerIdentity (SERVER)'
FROM ExchangeMailboxEntry eme
INNER JOIN ExchangeMailboxStore ems on eme.MbxStoreIdentity=ems.MbxStoreIdentity
INNER JOIN ExchangeServerEntry ese on ems.MbxStoreIdentity=ems.MbxStoreIdentity
WHERE eme.MbxDisplayName = 'journal_mailbox_target' --put journal target mailbox here

  • If the MAILBOX_STORE value is NULL then update the ExchangeMailboxStore.ExchangeServerIdentity value to the SERVER value.

UPDATE ExchangeMailboxStore
SET ExchangeServerIdentity=<ExchangeServerIdentity_SERVER>
where MbxStoreIdentity=<MbxStoreIdentity>

  • Run a synchronization of the journal mailbox

 

Cause

There are two possible causes for this issue. 

  1. Duplicate entry for the journal target in the ExchangeMailboxEntry table
  2. The ExchangeMailboxStore.ExchangeServerIdentity is NULL

In both situations, it prevents EV from identifying the mailbox and thus returns the error that no mailbox is found. 

Resolution

A different solution is needed for both causes. 

Issue/Introduction

Newly added journal target fails to synchronize