Hi,
I am having a problem setting "Password doesn't expire" for an AD user account from Orchestrator. I am using an "AD:User" type object and am able to read the current userAccountControl value:
var attributes = clientUser.getAttribute("userAccountControl");
System.log("Attributes: " + attributes);
Output: [I] Attributes: 512
However, when I try setting up the userAccountControl with: 66048 (512 + 65536 for DONT_EXPIRE_PASSWORD) I get this:
clientUser.setAttribute("userAccountControl",66048);
Output: Unable to remove attribute: Error while modifying element: Malformed 'userAccountControl' attribute value
Can someone suggest what am I doing wrong here?
Thanks
Kamil