Generate password for ADSAccount

Hello, experts.

I use script SDK_IPasswordManager_CreatePassword and try to generate password for ADSAccount UserPassword column and got error.

Exception has been thrown by the target of an invocation.
at Designer.ScriptEditor.ScriptTestEditor.ExecuteScript(ScriptItem sItem)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
[810349] Retry limit for password generation exceeded.
at VI.DB.Passwords.PasswordPolicy.<CreatePasswordAsync>d__106.MoveNext()

If I try to generate password to Person CentralAccount i didn't get error.

Help, please.

Parents
  • Ran into the same Problem.

    Make sure that your 1IM password policy matches or is stricter than the ADS_Domains Policy. Sadly there the Password Policy "check Password" Function the the designer doesn't check against the domain the script will do that and you will see the ADS_PWDValidate Skript loop to death.

    You should conside to implement a process to update the 1IM Passwordpolicy from the domain, or if you have multiple domains with different policies automaticly create/update a policy for each domain.

Reply
  • Ran into the same Problem.

    Make sure that your 1IM password policy matches or is stricter than the ADS_Domains Policy. Sadly there the Password Policy "check Password" Function the the designer doesn't check against the domain the script will do that and you will see the ADS_PWDValidate Skript loop to death.

    You should conside to implement a process to update the 1IM Passwordpolicy from the domain, or if you have multiple domains with different policies automaticly create/update a policy for each domain.

Children
No Data