When running commands such as Test-OutlookWebServices on an Exchange 2010 CAS you will receive the following error:
[PS] C:\>Test-OutlookWebServices
WARNING: An unexpected error has occurred and a Watson dump is being generated: Failed to find the mailbox. Mailbox ='extest_0f9a03d82a6d4@destination.local'.
Failed to find the mailbox. Mailbox = 'extest_0f9a03d82a6d4@destination.local'.
+ CategoryInfo : NotSpecified: (:) [Test-OutlookWebServices], MailboxNotFoundException
+ FullyQualifiedErrorId : Microsoft.Exchange.Monitoring.MailboxNotFoundException,Microsoft.Exchange.Management.SystemConfigurationTasks.TestOutlookWebServicesTask
This is probally the first time you have run the Test command isn't it? In Exchange 2010 you need a test mailbox to perform tests with. This can be created using the new-TestCasConnectivityUser.ps1 powershell script Microsoft provides us with Exchange 2010.
All you need to do is navigate to the Scripts directory:
C:\Program Files\Microsoft\Exchange Server\V14\Scripts
Then run .\new-TestCasConnectivityUser.ps1
Provide the test mailbox a password when prompted...
Easy?

I get told that OU might not exist, or that password not matching complexity requirements (they do)
ReplyDeleteI got that same message as well - "CreateTestUser : Mailbox could not be created. Verify that OU ( Users ) exists and that password meets complexity requirements."
ReplyDeleteit also goes on to say line 267 char:31
Thanks - I had no idea what the problem was. Your advice solved the issue!
ReplyDeleteSame thing...
ReplyDeleteOU might not exist, or that password not matching complexity requirements
Goes on right by the prompt for a password (doesn't let me enter a password) and ends up at:
ReplyDeleteCreateTestUser : Mailbox could not be created. Verify that OU ( Users ) exists and that password meets complexity requirements. Had nothing but problems with this product so far... too numerous to even name here... thanks Microsoft for a half-baked product... even on SP2...
If you are trying this on a SBS2011 server then you need to edit the script first. Open the new-TestCasConnectivityUser.ps1 script with notepad (run as administrator) and find the $Organisationalunit = "Users" line and change the "Users" to "SBSUsers" so it looks like this $OrganizationalUnit = "SBSUsers". Save the script and then run the powershell command again as in the original article above, it should now complete successfully.
ReplyDeleteAwesome! thx for help
ReplyDeleteChanging the $OrganizationalUnit did fix this issue.
ReplyDeleteThanks for the help
I followed the instructions on the following sites and it worked.
ReplyDeletehttp://technet.microsoft.com/en-us/library/cc732341(WS.10).aspx
http://social.technet.microsoft.com/wiki/contents/articles/1267.how-to-configure-ssl-offloading-in-exchange-2010.aspx#Configuring_SSL_Offloading_for_Outlook_Web_App_OWA