Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Trying to run the script new-TestCasConnectivityUser

Posted on 2010-11-09
3
Medium Priority
?
737 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

A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
In this video we show how to create an Accepted Domain 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 >> Ac…
In this video we show how to create an email address policy 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…

604 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