Tuesday, 12 June 2012 14:15

new-TestCasConnectivityUser failed to create Extest User

Written by

When you try to run the new-TestCasConnectivityUser.ps1 script to create the test user account for the Test-OutlookWebservice and other tests in your Exchange 2010, the below error may be occure.

"CreateTestUser : Mailbox could not be created. Verify that OU ( Users ) exists and that password meets complexity requirements"


The error will continue to generate even though if you give complex password. This is because, there could be another OU exists in your organization with the name "Users" and which creates issue to the script.All you need to do is to update the assigned value to the $OrganizationalUnit variable  with "domain.local/Users" in the new-TestCasConnectivityUser.ps1.


Run the script again, and it should create the test user successfully.


theme by reviewshub