search cancel

AD Import is failing with error: Task was aborted.


Article ID: 171490


Updated On:


IT Management Suite


AD import task is failing to import the users and computers from the Security group after upgrade to SMP 8.1 RU6.

Only we have the issue while importing the computers and users assigned to the security group.

They noticed that the AD import task was aborted but the computers from the security group imported to the console when you search the computer in the All computer filter (Manage >> Computer >> All Computers). If you wait for some time it shows in the respected OU. ( If not then do the resource membership update)


Error on the console: 
Task was aborted.

Error in the log:
Task was aborted. (rule: {43B7C7A6-F033-4743-BBD8-A9B0639161AC})
Date: 09-04-2018 09:28:55, Tick Count: 343722000 (3.23:28:42), , Size: 305 B
Process: AeXSvc (14532), Thread ID: 41, Module: AeXSVC.exe
Priority: 2, Source: DirectoryImportTask::DoDirectoryImportTask


Altiris.NS.TaskManagement.TaskStoppedException cought in ImportItems. Reason: Exception of type 'Altiris.NS.TaskManagement.TaskStoppedException' was thrown.

Exception of type 'Altiris.NS.TaskManagement.TaskStoppedException' was thrown.
   [Altiris.NS.TaskManagement.TaskStoppedException @ Altiris.DirectoryServices]
   at Altiris.DirectoryServices.DirectoryImport.DirectoryItemImporter.CreateSecurityGroups(OperationProgressIterator op, Groups2Collections col)
   at Altiris.DirectoryServices.DirectoryImport.DirectoryItemImporter.ImportSecurityGroups()
   at Altiris.DirectoryServices.DirectoryImport.DirectoryImporter.ImportItems(Object state)

Exception logged from:
   at Altiris.DirectoryServices.DirectoryImport.DirectoryImporter.HandleException(Exception,
String, Boolean)
   at Altiris.DirectoryServices.DirectoryImport.DirectoryImporter.ImportItems(Object)
   at Altiris.DirectoryServices.DirectoryImport.DirectoryImporter.ImportDirectoryDataThreadProc(Object)
   at System.Threading.Tasks.Task.Execute()
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, Object, Boolean)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task&)
   at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

User [REBILD\AltirisAdmin], Auth [rebild\AltirisAdmin], AppDomain [AeXSVC.exe]

Date: 09-04-2018 09:28:55, Tick Count: 343722000 (3.23:28:42), , Size: 1,83 KB
Process: AeXSvc (14532), Thread ID: 231, Module: Altiris.DirectoryServices.dll
Priority: 1, Source: Altiris.DirectoryServices.DirectoryImport.DirectoryImporter.HandleException


SMP 8.1 RU6


Known issue. Legacy 'running' property set after one piece of import was leading to overall job stop. commented.


This issue has been reported to the Symantec Development team. A fix has been added to our incoming ITMS 8.1 RU7 release.

For those customers with 8.1 RU6, a pointfix is available under INFO5026