Solved

Trying to run the script new-TestCasConnectivityUser

Posted on 2010-11-09
3
733 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
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…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

729 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