Create User Advanced
- 15 Dec 2022
- 2 Minutes to read
- Print
- DarkLight
Create User Advanced
- Updated on 15 Dec 2022
- 2 Minutes to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Step Details | |
Introduced in Version | 4.0.0 |
Last Modified in Version | 5.0.0 |
Location | Data > Text |
The Create User Advanced step allows for new AD accounts to be created.
Properties
Inputs
Property | Description | Data Type | |
---|---|---|---|
LDAP Server Settings | |||
System User Name | Username for the LDAP server | --- | |
System Password | The password of the LDAP server | --- | |
LDAP Server Address | Server address | --- | |
Department | Department name for the user to be associated with | String | |
The desired email for the user | String | ||
First Name | The new user's first name | String | |
Last Name | The new user's last name | String | |
Login Name | The login name for the new user | String | |
Ou Path | The Organizational Unit for the new user | String | |
User Password | The password for the new user | String |
Common Errors
Incorrect Parmater Count, Data Not Mapped Correctly
If not all input data values are not properly configured, the step will cause an error.
To correct this, ensure that each field has a value.
Exception Message:
Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Create User Advanced 1[CreateUserAdvanced] in flow [Flow 2]: Incorrect Parmater Count, Data Not Mapped Correctly
---> DecisionsFramework.LoggedException: Incorrect Parmater Count, Data Not Mapped Correctly
---> System.Reflection.TargetParameterCountException: Parameter count mismatch.
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data)
--- End of inner exception stack trace ---
at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data)
at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData)
at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData)
--- End of inner exception stack trace ---
Object reference not set to an instance of an object
If the values for creating a user are not configured, an error will be displayed.
To resolve this, ensure all fields for creating the new user are configured with a value.
Exception Message:
Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Create User Advanced 1[CreateUserAdvanced] in flow [Flow 2]: Exception invoking method CreateUserAdvanced on class ActiveDirectoryManager
---> DecisionsFramework.LoggedException: Exception invoking method CreateUserAdvanced on class ActiveDirectoryManager
---> System.NullReferenceException: Object reference not set to an instance of an object.
at DecisionsActiveDirectorySteps.ActiveDirectoryManager.ConvertLdapServerAddressToBaseLdapPath(String ldapServerAddress)
at DecisionsActiveDirectorySteps.ActiveDirectoryManager.CreateUserAdvanced(String ouPath, String loginName, String userPassword, String email, String firstName, String lastName, String department, String systemUserName, String systemPassword, String ldapServerAddress)
--- End of inner exception stack trace ---
at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data)
at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData)
at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData)
--- End of inner exception stack trace ---
The LDAP server returned an unknown error
If the LDAP server settings are not properly configured an error will occur.
To resolve this, ensure that the inputs for the LDAP Server Settings are correct.
Exception Message:
Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Create User Advanced 1[CreateUserAdvanced] in flow [Flow 2]: Exception invoking method CreateUserAdvanced on class ActiveDirectoryManager
---> DecisionsFramework.LoggedException: Exception invoking method CreateUserAdvanced on class ActiveDirectoryManager
---> System.DirectoryServices.Protocols.LdapException: The LDAP server returned an unknown error: 52
at System.DirectoryServices.Protocols.LdapConnection.Connect()
at System.DirectoryServices.Protocols.LdapConnection.BindHelper(NetworkCredential newCredential, Boolean needSetCredential)
at System.DirectoryServices.Protocols.LdapConnection.Bind()
at ActiveDirectory.ActiveDirectoryMethods.GetLdapConnection(String serverIp, String userName, String userPassword)
at DecisionsActiveDirectorySteps.ActiveDirectoryManager.CreateUserAdvanced(String ouPath, String loginName, String userPassword, String email, String firstName, String lastName, String department, String systemUserName, String systemPassword, String ldapServerAddress)
--- End of inner exception stack trace ---
at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data)
at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData)
at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData)
--- End of inner exception stack trace ---
Was this article helpful?