Exchange 2013 SP1: new-TestCasConnectivityUser.ps1 is not working [SOLVED]
Posted by Teruin laurent sur avril 23, 2014
Today I try to launch this script to be able to test webservices and… I have this error. My password was . motdepasse.2014. But my policy password for the domain are this one.
PS] C:\Program Files\Microsoft\Exchange Server\V15\Scripts>.\new-TestCasConnectivityUser.ps1
Please enter a temporary secure password for creating test users. For security purposes, the password will be changed regularly and automatically by the system.
Enter password: ***************
Create test user on: SRVEXC01.company.loc
click CTRL+Break to quit or click Enter to continue. createTestUser : Mailbox could not be created. Verify that OU ( Users ) exists and that password meets complexity requirements.
t C:\Program Files\Microsoft\Exchange Server\V15\Scripts\new-TestCasConnectivityUser.ps1:267 char:17
$result = CreateTestUser $exchangeServer $mailboxServer $securePassword $O …
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,CreateTestUser
I try to change to these one
Same issue. Edit the script and replace the OU = user by you domainefqd/users as follow and it works. Exchange 2013…. A fresh product !