I was having trouble archiving content from an Exchange 2010 mailbox using EV9. To troubleshoot I used a "Run Now" job but nothing happened.
Watching the message queue I briefly saw an entry added to the A3 queue but it disappeared immediately. No events recorded in the event log.
I started a DTrace of the ArchiveTask and re-ran the "Run Now" job and the below entries were logged:
80 12:23:58.014 [3136] (ArchiveTask) <9648> EV:L {HrMAPIOpenMsgStoreKvs:#50} Opened msg store [0x8004011d]
81 12:23:58.014 [3136] (ArchiveTask) <9648> EV:H :CArchivingAgent::ProcessUser() |Attempt to open the users message store resulted in failure with error message = MAPI_E_FAILONEPROVIDER |This is because the mailbox does not exist. This often happens when processing utility accounts like site connectors, or when mailboxes have been deleted after a process mailbox message has been queued |
82 12:23:58.029 [3136] (ArchiveTask) <9648> EV:L :CArchivingAgent::ProcessUser() |Return the MAPI session to the session pool |
83 12:23:58.029 [3136] (ArchiveTask) <9648> EV:H :CArchivingAgent::ProcessUser() |Exiting routine |
84 12:23:58.029 [3136] (ArchiveTask) <9648> EV:H {CArchivingAgent::ProcessUserEx:#18985} It took [0.917972] seconds to process mailbox [LegacyExchangeDN].
Investigating the mailbox further and noticed it had a failed mailbox move request status. I removed the move request and now the mailbox content is being archived.
Not sure I understand why a failed move mailbox request causes archiving issues, the mailbox was available throughout.
Any insight or further information is welcome.