Wednesday, June 22, 2011

WARNING: An unexpected error has occurred and a Watson dump is being generated: Failed to find the mailbox.

In this post I'm going to address a very common problem many new Exchange 2010 Administrators face.

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?

14 comments:

  1. I get told that OU might not exist, or that password not matching complexity requirements (they do)

    ReplyDelete
  2. I got that same message as well - "CreateTestUser : Mailbox could not be created. Verify that OU ( Users ) exists and that password meets complexity requirements."
    it also goes on to say line 267 char:31

    ReplyDelete
  3. Thanks - I had no idea what the problem was. Your advice solved the issue!

    ReplyDelete
  4. Same thing...

    OU might not exist, or that password not matching complexity requirements

    ReplyDelete
  5. Goes on right by the prompt for a password (doesn't let me enter a password) and ends up at:
    CreateTestUser : 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...

    ReplyDelete
  6. 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.

    ReplyDelete
  7. Awesome! thx for help

    ReplyDelete
  8. Changing the $OrganizationalUnit did fix this issue.
    Thanks for the help

    ReplyDelete
  9. I followed the instructions on the following sites and it worked.

    http://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

    ReplyDelete
  10. This comment has been removed by the author.

    ReplyDelete
  11. removal of -OrganizationalUnit:$OrganizationalUnit worked for me too

    http://www.definit.co.uk/2011/03/exchange-2010-createtestuser-mailbox-could-not-be-created-verify-that-ou-users-exists-and-that-password-meets-complexity-requirements/

    ReplyDelete
  12. Thanks, Clint! Worked perfectly. Thanks for posting.

    ReplyDelete
  13. Thank you!! Thank you!! THANK YOU!!!!

    ReplyDelete
  14. After being in relationship with George for five years,he broke up with me, I did everything possible to bring him back but all was in vain, I wanted him back so much because of the love I have for him, I begged him with everything, I made promises but he refused. I explained my problem to someone online and she suggested that I should contact a spell caster that could help me cast a spell to bring him back but I am the type that don't believed in spell, I had no choice than to try it, I meant a spell caster called DR Mako and I email him, and he told me there was no problem that everything will be okay before three days, that my ex will return to me before three days, he cast the spell and surprisingly in the second day, it was around 6pm. My ex called me, I was so surprised, I answered the call and all he said was that he was so sorry for everything that happened, that he wanted me to return to him, that he loves me so much. I was so happy and went to him, that was how we started living together happily again. Since then, I have made promise that anybody I know that have a relationship problem, I would be of help to such person by referring him or her to the only real and powerful spell caster who helped me with my own problem and who is different from all the fake ones out there. Anybody could need the help of the spell caster, his email: Makospelltemple@yahoo.com or call him :+2348108737816

    ReplyDelete