Create AD User - Exception in Task - VisualCron - Forum

Community forum

NeteraNetworks
2016-04-26T14:26:20Z
I have a job that is designed to trigger when it receives a plain text email with the following information in it:

First Name
Last Name:
Username
Password
Email

Example:
John
Smith
jsmith
password123
jsmith@domain.com

Once VC receives this email it takes each line and passes it to a task and tries to create a new AD user based on this new information. It does this by using the following variables to put in the required AD fields:

  • {STRING(GetLineByRowNumber|{TRIGGER(Active|LastTrigger|Mail.Result.Mail.BodyText)}|1)}
    {STRING(GetLineByRowNumber|{TRIGGER(Active|LastTrigger|Mail.Result.Mail.BodyText)}|2)}
    {STRING(GetLineByRowNumber|{TRIGGER(Active|LastTrigger|Mail.Result.Mail.BodyText)}|3)}
    {STRING(GetLineByRowNumber|{TRIGGER(Active|LastTrigger|Mail.Result.Mail.BodyText)}|4)}
    {STRING(GetLineByRowNumber|{TRIGGER(Active|LastTrigger|Mail.Result.Mail.BodyText)}|5)}

When this job runs, I get the this error: Exception in Task: The attribute syntax specified to the directory service is invalid. What can I be doing wrong?


I tried hard-coding the values to test if my variables were the cause, and I got this error message:

Exception in Task: An invalid directory pathname was passed

Is this referring to the LDAP path? I verified it is the correct path.
Support
2016-04-26T14:52:17Z
Hi,

you did not respond to our support email. The error is very general but means that some property is wrong/not supported. Probably according to restrictions in Active Directory.

In your case it could be:

1. missing field
2. password does not meet requirements
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top