New user creation failed

I am getting this error for new users being attempted creation.

System.NullReferenceException: Object reference not set to an instance of an object.
at ConnectToAD.ADService.ADWriterService.InsertUser(String employeeId, InsertUser user, BindingList`1 mappings)

The transform log shows an employee ID, so I am not sure what it is thinking is null. Any ideas?

Our dev team is reviewing this issue.

We identified an invalid expression in the Logon Name rule.

Person.PreferredName + Person.LastName.SubString[1,3]

Please can you change the Logon Name rules to use round brackets instead of square brackets?

Change SubString[1,3] to SubString(0,3) … also use 0 as SubString is 0 index-based (this will give you the first 3 characters)

1 Like