I have few business rules for AD account rename to validate input data and make sure username selected is unique in AD, but sometimes it fails with very non-explaining error "The parameter is incorrect. (Server: <domain name>)".
Could you please suggest any ways I could identify which of the scripts fail and maybe why? Is there an option to view running output of them?
Here is the output I get on running rename function in Adaxes:
Business Rules: 2 rules encountered while processing your request
'BR26 before updating a user': Run PowerShell script 'Set old values to custom attributes' for the user
'BR14 set alias and mail after rename': Run PowerShell script 'trim if needed' for the user
'BR14 set alias and mail after rename': Run PowerShell script 'verify input' for the user
The username has been changed to newname.
The parameter is incorrect. (Server: <domain name>)
BR26 - is a "Before updating a User" rule
BR14 - is a "Before renaming a User" rule