Solved

Trying to run the script new-TestCasConnectivityUser

Posted on 2010-11-09
3
729 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
DPT retention tag  keeps stopping when applied in Exchange 2016 7 22
IronPort on cloud MX recored 9 25
exchange, outlook 2 29
Exchange 2007 5 30
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
In this video we show how to create an Address List 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 Organization >> Ad…
To show how to create a transport rule 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 Mail Flow >> Rules tab.:  To cr…

863 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

25 Experts available now in Live!

Get 1:1 Help Now