Users getting automatically deselected for sync in Folder Sync

book

Article ID: 100048379

calendar_today

Updated On:

Description

Error Message

In the All Mailboxes view in FS the following error will appear:

Error: The Mailbox was not found.

In the FolderSync.YYYY-MM-DD.AsProcess##.log the following error is seen:

2020-08-05 01:49:22.858 [(T06) VSLLC:CustomSynch:AsProcess00:Schedule(2):SynchDb] - Mailbox status set to 'Started'!  MbxIdentity(OUT): 2102
2020-08-05 01:49:22.874 [(T06) VSLLC:CustomSynch:AsProcess00:Schedule(2)] - Starting target for 'Message' job: John Smith (OnPrem)
2020-08-05 01:49:22.890 [(T06) VSLLC:CustomSynch:AsProcess00:Schedule(2)] - Checking that john.smith@contoso.com has an actionable mailbox.
2020-08-05 01:49:23.233 [(T06) VSLLC:CustomSynch:AsProcess00:Schedule(2)] - Mailbox not found!
2020-08-05 01:49:23.233 [(T06) VSLLC:CustomSynch:AsProcess00:Schedule(2)] - Stopped processing mailbox, mailbox is not actionable... DisplayName: 'John Smith', Smtp: john.smith@contoso.com, Reason 10076(errSSMailboxNotFound)
2020-08-05 01:49:23.249 [(T06) VSLLC:CustomSynch:AsProcess00:Schedule(2)] - Stopping target.  Final status: Completed, Event: 10076(errSSMailboxNotFound), Deselect Mbx? True, MbxIdentity: 2102
2020-08-05 01:49:23.249 [(T06) VSLLC:CustomSynch:AsProcess00:Schedule(2):SynchDb] - SetMbxStatus updated 1 rows

Cause

By design, FS will automatically deselect a mailbox if the Get-Mailbox PowerShell command does not return any results.  This can happen for many reasons that can be legitimate or transient.  A few are listed below:

  • Connectivity to Exchange
  • Domain trust issue
  • Mailbox is not found in Exchange

Resolution

Since the 10076(errSSMailboxNotFound) error can be transient, a config setting in the ArchiveAcceleratorSynchService.exe.config has been added DeselectMailboxWhenNotFound to disable FS from making this check and disabling the sync.  The mailbox will remain enabled assuming that at a later point the Get-Mailbox command will be successful.  It will no longer require manually enabling the mailbox for synchronization.  
Go to the Download Center, create an account (if not already created), and download the FolderSync_1.14.0 from Base and upgrade installers within the Veritas Alta Archiving product. 

 

After FS is upgraded to 1.14.0 do the following:

1.  Stop the ArchiveTools Folder Sync service
2.  Edit the ArchiveAcceleratorSynchService.exe.config file in the installation diretory (i.e., C:\Program Files\ArchiveTools\ArchiveTools Folder Sync\)
3.  Edit the DeselectMailboxWhenNotFound setting and set it to FALSE:
     
          
     
        False
     

      
4.  Start the ArchiveTools Folder Sync service

 

Issue/Introduction

Valid mailboxes in Exchange are getting automatically deselected for sync in Folder Sync (FS). This occurs regardless of the setting Deselect Disabled Mailboxes being selected or not in the Folder Sync Properties.