Link to home
Start Free TrialLog in
Avatar of mcpp661
mcpp661

asked on

Invalid DN Syntax when using VBScript to create user accounts

I have a VBScript that creates user accounts based on input from an Excel spreadsheet. I want the newly created accounts in Active Directory to be displayed in <last_name>, <first_name> format (please note, I am not talking about the displayName attribute). I configured the CN column in Excel in that format but I receive an error saying "An Invalid DN syntax has been specified." How do I configured the spreadsheet or the VB code to allow the user accounts in AD to be displayed in the desired format?
Error.JPG
Excel.JPG
ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial