Exchange 2010 test CAS connectivity fails…

Today I have to test the CAS functionality within Exchange 2010, so I ran the script New-TestCasConnectivityUser.ps1¬†from the scripts directory. I received a error message: “Mailbox could not be created. Verify that OU ( Users ) exists and that password meets complexity requirements.”.

After checking the Active Directory environment, the Users OU was there!

The first thing you need to do is making sure that the password does meets complexity requirements however if you did and still having the failure you most probably have multiple OUs with name “Users” and that is why the script is failing.

The solution for this is to specify the OU in the command by running the following

get-mailboxServer | .\new-TestCasConnectivityUser.ps1 -OU exchange2010lab.local/users