Workflow Soluiton

 View Only
Expand all | Collapse all

ActiveDirectoryError = "Object reference not set to an instance of an object" in Create User component

  • 1.  ActiveDirectoryError = "Object reference not set to an instance of an object" in Create User component

    Posted Apr 24, 2014 06:52 PM

    I created a workflow that presents a webpage to capture user information to test creating accounts in AD.  The current workflow presents the web form and captures the data.  The next step is "Create Basic Authentication Token" component to set the credentials that has permissions in AD.  On the "Create User" component I have the fields mapped to the AD fields I want populated.  I have also set constant values for all other AD fields as to make sure my issue isn't related to not populating required fields.  This error seems to be generic, but has anyone run into a similar issue?



  • 2.  RE: ActiveDirectoryError = "Object reference not set to an instance of an object" in Create User component

    Posted Apr 24, 2014 11:07 PM
    If I remember correctly, there is a bug in the AD components that they will only work with the specified global variables and will not accept passed in variables. Try it again with a hard coded account in the project properties instead and see if it works. You will probably need to use a service account here.