0 votes

I need to use the bulk import to import ~60 users. I am trying to do 1 test account first to ensure everything works, however it is failing and I get the error "The name reference is invalid". I am using a CSV file and the fields below are what I am trying to populate:

givenName, sn, cn, sAMAccountName, employeeID,employeeType,adm-CustomAttributeDate1, physicalDeliveryOffice, company, department, manager, title, adm-CustomAttributeText5, ChangePasswordAtLogon

by (400 points)

1 Answer

0 votes
by (272k points)
selected by
Best answer

Hello Scott,

Make sure that the manager column contains a distinguished name (DN) of the new user manager. Specifying the Full Name or sAMAccountName will not work.
For details on importing objects from CSV, have a look at the following tutorials:
https://www.adaxes.com/tutorials_Active ... SVFile.htm
https://www.adaxes.com/tutorials_Active ... romCSV.htm

Related questions

0 votes
1 answer

Is it possible to have Adaxes bulk import the user pictures? We already have the pictures in a directory named with the user's employeeid. Was hoping to import them using that to match. Thanks again for your help

asked Mar 21, 2013 by jiambor (1.2k points)
0 votes
1 answer

Trying to test importing users via CSV. Running into the following error -- Error: The input object cannot be bound to any parameters for the command either because the command does ... in the Powershell script, but no luck -- Here's my scheduled task --

asked Apr 10 by msinger (110 points)
0 votes
1 answer

Hello, When running the supplied script for importing a user photo into AD we encounter the following error: Exception calling "SetInfo" with "0" argument(s): "A ... /www.adaxes.com/script-repository/import-user-photo-s244.htm Thank you for your assistance!

asked Oct 26, 2020 by sgordon213 (110 points)
0 votes
1 answer

Hi, I'm following the guide about scheduling a user import from a CSV file: Schedule Import of Users from CSV but I get the following error: *"The input object cannot ... <ScriptBlock>, <No file>: line 7". Any help would be much appreciated. Dario

asked Dec 17, 2019 by winstonsmith (40 points)
0 votes
1 answer

I need to create a lot of groups that have similar dynamic membership rules. e.g. Marketing group that adds users if they are enabled and if customAttribute10 is "14" Sales ... other settings and attributes between them. So is there a way to do this in bulk?

asked Jan 25, 2023 by jcrook (100 points)
3,348 questions
3,049 answers
7,791 comments
545,047 users