Saturday, September 29, 2012

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


Symptoms:

 You might face an issue during creating the test account that is going to be used by the Microsoft System Center Operation Manager SCOM as below for more information click here

 
 

CreateTestUser : Mailbox could not be created. Verify that OU ( Users ) exists and that password meets complexity requi
rements.
At D:\Program Files\Microsoft\Exchange Server\V14\Scripts\new-TestCasConnectivityUser.ps1:267 char:31
+       $result = CreateTestUser <<<<  $exchangeServer $mailboxServer $securePassword $OrganizationalUnit $UMDialPlan $
UMExtension $Prompt
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,CreateTestUser


Resolution:

Add the -OU  parameter the creating script and you should be fine


 .\new-TestCasConnectivityUser.ps1 -ou "Your Desired OU"
 
see you soon, Hany Donia

0 comments: