Solved

Trying to run the script new-TestCasConnectivityUser

Posted on 2010-11-09
3
728 Views
Last Modified: 2012-05-11
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.
0
Comment
Question by:osiexchange
  • 2
3 Comments
 
LVL 6

Expert Comment

by:Shack-Daddy
ID: 34093997
1) Make sure that there is a Users OU just off the root of your organization. That's usually the case.
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.
0
 

Accepted Solution

by:
osiexchange earned 0 total points
ID: 34094201
I figured out what it was. I don't have an Exchange 2010 mailbox server yet. Just a CAS. Apparently when you specify a mailbox server, it has to be Exchang3e 2010. I have a test environment with an Exchange 2010 mailbox server and the exact same command worked when I specified an Exchange 2010 server. It would be nice if it told you that instead of just saying the OU does not exist.
0
 

Author Closing Comment

by:osiexchange
ID: 34523687
Solved issue myself
0

Featured Post

Too many email signature updates to deal with?

Do you feel like you are taking up all of your time constantly visiting users’ desks to make changes to email signatures? Wish you could manage all signatures from one central location, easily design them and deploy them quickly to users? Well, there is an easy way!

Join & Write a Comment

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…
This video discusses moving either the default database or any database to a new volume.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now