osiexchange
asked on
Trying to run the script new-TestCasConnectivityUser
I just want to run this script and create a test user. I am running it on a 2010 CAS server. I keep getting the error:
CreateTestUser : Mailbox could not be created. Verify that OU ( Users ) exists and that password requirements.
I found numerous articles using Google saying you need to modify the script and change the variable $OrganizationalUnit to something besides users. That doesn't work. I even created a brand new unique OU and put that in the script. It just keeps failing coming back with whatever OU I designate in the script in the error message. I don't know what I am doing wrong. Maybe its the syntax in the script. I don't know. Can someone please tell me how they got around this!! Below is what I am defining $OrganizationalUnit as:
$OrganizationUnit = "Sites/testusers"
No matter what OU I specify in the script, it just keeps coming back telling me the OU does not exist.
CreateTestUser : Mailbox could not be created. Verify that OU ( Users ) exists and that password requirements.
I found numerous articles using Google saying you need to modify the script and change the variable $OrganizationalUnit to something besides users. That doesn't work. I even created a brand new unique OU and put that in the script. It just keeps failing coming back with whatever OU I designate in the script in the error message. I don't know what I am doing wrong. Maybe its the syntax in the script. I don't know. Can someone please tell me how they got around this!! Below is what I am defining $OrganizationalUnit as:
$OrganizationUnit = "Sites/testusers"
No matter what OU I specify in the script, it just keeps coming back telling me the OU does not exist.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Solved issue myself
2) Make sure that the password you specify is complex. You'll never need to type it again, so I usually do something really complex.
When I run this script, usually all I have to do is supply the password, since it defaults to the Users OU, which usually always exists.