Test-OutlookWebServices

This article has been ported from my old TechBlog as it is still valid and useful.

I was trying Test-OutlookWebServices with a new Exchange 2010 SP1 installation and it was failing with:

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

My friend Google led me to this fix:

http://www.itexperience.net/test-outlookwebservices-failed-to-find-the-mailbox-in-exchange-2010/

telling me that I have to run .\new-TestCasConnectivityUser.ps1 first…

which also failed with:

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

Yes & Yes.

My friend Google helped me out again, as the client has more than one OU with the name ‘Users’ in the title (Main Office Users, Test Users, Remote Office Users) with the following:

http://www.zerohoursleep.com/2010/10/new-testcasconnectivityuser-ps1-fails-with-verify-that-ou-users-exists/

advising me to specify the OU as follows:

.\new-TestCasConnectivityUser.ps1 -ou domain.local/users

Woo-hoo. Success. Got there in the end. Thank you. Now what was I trying to do in the first place?