Microsoft.Exchange.Store.Worker.exe process crashes after a mailbox is disabled in Exchange Server 2013

Symptoms
After a mailbox is disabled by the administrator, the Microsoft.Exchange.Store.Worker.exe process crashes if an email was sent from the disabled mailbox before it was disabled. When this issue occurs, event ID 1002 that resembles the following is logged in Event Viewer: 


Time: Date Time
ID: 1002
Level: Error
Source: MSExchangeIS
Machine: xxxx.contoso.com
Message: Unhandled exception (System.ArgumentException: The parameter "legacyExchangeDN" must be a non-blank string.
Parameter name: legacyExchangeDN
at Microsoft.Exchange.Data.Directory.Recipient.ADRecipientObjectSession.FindByLegacyExchangeDN(String legacyExchangeDN)
at Microsoft.Exchange.Server.Storage.DirectoryServices.ADObjectWrappers.ADRecipientSession.FindByLegacyExchangeDN(IExecutionContext context, String legacyExchangeDN)
at Microsoft.Exchange.Server.Storage.DirectoryServices.Directory.LoadAddressInfoByLegacyDn(IExecutionContext context, TenantHint tenantHint, String legacyDN, Boolean loadPublicDelegates, Boolean& ours)
at Microsoft.Exchange.Server.Storage.DirectoryServices.Directory.GetAddressInfoImpl(IExecutionContext context, TenantHint tenantHint, String legacyDN, Boolean loadPublicDelegates)
at Microsoft.Exchange.Server.Storage.MapiDisp.RopHandler.TransportSend(MapiContext context, MapiMessage message, TransportSendResultFactory resultFactory)
at Microsoft.Exchange.Server.Storage.MapiDisp.RopHandlerBase.TransportSend(IServerObject serverObject, TransportSendResultFactory resultFactory)
at Microsoft.Exchange.RpcClientAccess.Parser.RopTransportSend.InternalExecute(IServerObject serverObject, IRopHandler ropHandler, ArraySegment`1 outputBuffer)
at Microsoft.Exchange.RpcClientAccess.Parser.InputRop.Execute(IConnectionInformation connection, IRopDriver ropDriver, ServerObjectHandleTable handleTable, ArraySegment`1 outputBuffer)

Cause
This issue occurs depending on the time of email sending and mailbox disabling. If the sender's mailbox is disabled during the message submission process in the Microsoft.Exchange.Store.Worker.exe process, the process fails to read some important Exchange related AD attributes of the sender. Therefore, the Microsoft.Exchange.Store.Worker.exe process will be ended unexpectedly by detecting the necessary attributes for processing that are missing.
Resolution
To fix this issue, install Cumulative Update 15 for Exchange Server 2013 or a later cumulative update for Exchange Server 2013.
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
References
Learn about the terminology that Microsoft uses to describe software updates.
Properties

Article ID: 3208885 - Last Review: 12/13/2016 17:19:00 - Revision: 1.0

Microsoft Exchange Server 2013 Enterprise, Microsoft Exchange Server 2013 Standard Edition

  • kbqfe kbsurveynew kbfix kbexpertiseadvanced KB3208885
Feedback