Create AD Object error

ddrelincourt
Kilo Contributor

I'm currently building some orchestration based catalog items within our service catalog. When attempting to create a user utilising the included packs, I constantly receive the following error in the ecc queue.

<hresult>-2147016693</hresult>

<error>The attribute syntax specified to the directory service is invalid.Stack Trace:       at System.DirectoryServices.DirectoryEntry.CommitChanges()at CommitChanges(Object , Object[] )at System.Management.Automation.DotNetAdapter.AuxiliaryMethodInvoke(Object target, Object[] arguments, MethodInformation methodInformation, Object[] originalArguments)

Thanks in advance for any solutions.

Cheers

Dean

2 REPLIES 2

vab_13
ServiceNow Employee
ServiceNow Employee

Similar issue: Error Adding User to AD in Visual Basic


Solution: A blank string was being passed, which was set to NULL to fix.



Similar Issue: Converting VBScript to VB exe - VBScript - Tek-Tips


Solution:   If it contains an empty string, you'll get the "The attribute syntax specified..." error. You'll need to add at least a single blank space.





Are you sending out empty values for any property? You might want to replace it with NULL/white space and try again.