New mailbox not created after running dsadd user.

This is a discussion about New mailbox not created after running dsadd user. in the Windows Networking category; Hello, I'm setting up our new Win2003 R2 servers w/ Exchange 2003 sp1. Active directory and Exchange are up and running fine (from all indications). The GAL is spread across the two domain controllers (no client PC's yet).

Windows Networking 2246 This topic was started by ,


data/avatar/default/avatar35.webp

17 Posts
Location -
Joined 2002-11-08
Hello,
 
I'm setting up our new Win2003 R2 servers w/ Exchange 2003 sp1.
 
Active directory and Exchange are up and running fine (from all indications). The GAL is spread across the two domain controllers (no client PC's yet). Machines are brand new Dell 2850 xeon's.
 
I've created a dsadd batch script I want to use to create all 75 user accounts. As there are a lot of attributes I don't really want to manually create every user.
 
My question is, when I create a test user with the dsadd command, a new mailbox is not created in Exchange, while when you use the MMC snapin it does.
 
Does anyone know what command/attributes I can use to create a mailbox for each new user DN?
 
Here's an example line from the dsadd batch I wrote (using the CSV -> batch method).
 
dsadd user "CN=jdoe,CN=Users,DC=example,DC=local" -fn John -ln Doe -display "John Doe" -pwd P@ssw0rd -office "Branch 3" -email jdoe@example.com -dept null -hmdir \\planetsmb\jdoe$ -hmdrv G:
 
 
Thanks,
Ian Wills

Participate in our website and join the conversation

You already have an account on our website? To log in, use the link provided below.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This subject has been archived. New comments and votes cannot be submitted.
Jun 30
Created
Jul 1
Last Response
0
Likes
1 minute
Read Time
User User
Users

Responses to this topic


data/avatar/default/avatar26.webp

690 Posts
Location -
Joined 2004-05-06
You probably need to specify more than just the email address such as:
- Exchange mailbox location (incl. Server name, mailbox group, mailbox store)
- Exchange alias
 
I am not sure that dsadd supports Exchange attributes so, using LDIFDE may be better for AD and Exchange accounts.