Help needed to import contact to AD CONTACTS

  • Thread starter Thread starter Guy L.
  • Start date Start date
G

Guy L.

Hallo
while i was tring to import list of names to the AD
contacts from a CSV file i bulid by my self according to
article 327620 - i keep getting error massege :
"Invalid file format. DN Attribute not defined"
i've tried several syntax but i keep getting this error
i need an example of a correct csv file with one contact
only or any other help
* i'm adding contcat with e-mail only not a user in the AD
*
Thank You
Guy
 
Hello,

Generally speaking the simplest way to understand the file formats used
with LDIFDE and CSVDE is to use them to export a test object of the type
that your are trying to work with and then edit that file. You can then
remove the unnecessary and system maintained information and just put your
data in the file.

Below I have a file that was created in this way. I did not access to a
test domain with Exchange installed so I don't have the mail attribute but
I think that you should be able to use the process to work from this
example.

DN,cn,displayName,givenName,distinguishedName,objectClass,name,sn
"CN=Test Contact,CN=Users,DC=scandihoovia,DC=loc",Test Contact,Test
Contact,Test,"CN=Test Contact,CN=Users,DC=scandihoovia,DC=loc",contact,Test
Contact,Contact


Dale Weiss MCSA MCSE CISSP
PSS Security

This posting is provided "AS IS" with no warranties, and confers no rights.
Any opinions or policies stated within are my own and do not necessarily
constitute those of my employer. Use of included script samples are subject
to the terms
specified at http://www.microsoft.com/info/cpyright.htm
 
Back
Top