SafeGuard Enterprise API based Active Directory import fails to synchronize the directory with Error -1, "The action has been cancelled by the user."

  • Article ID: 119663
  • Updated: 24 Jul 2013

Issue

SafeGuard Enterprise API based Active Directory import fails to synchronize the directory with the following error message:

Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.

Synchronization Users & Computers Management ...
Created Base Object
Created Directory Object
Init API : 0
Authenticate : 0
Init SGD : 0
CreateDirectoryConnection : 0
Start OU : -1
GetLastError returns : |The action has been cancelled by the user.

Finalize SGD: 0
Finalize API: 0

First seen in

SafeGuard Management Center / Local Policy Editor 5.60.1
SafeGuard Enterprise Server 5.60.1

Cause

The Active Directory import is currently running on another SafeGuard Management Center / SafeGuard Server instance or was running before but did not complete, keeping the Active Directory import for data integrity reasons in in a locked state.

What To Do

If there is currently another Active Directory import running, cancel the Active Directory import (if required) and re-run the API script.

If the last attempt to synchronize the Active Directory failed, the Active Directory import flag needs to be reset. To do so

  • open the SafeGuard Enterprise Management Center
  • navigate to "Tool" >"Options" > "Directory"
  • use the "Reset import flag" function
  • a popup message appears, verifying if the Active Directory import flag should be reset. Click "Yes"

Start another Active Directory synchronization using the API script after the Active Directory import flag was cleared.

 


 
If you need more information or guidance, then please contact technical support.

Rate this article

Very poor Excellent

Comments