Exchange Management Shell 2010 - Verify that OU ( Users ) exists and that password meets complexity requirements

While creating Exchange 2010 test user account for commands like Test-ActiveSyncConnectivity, Test-OWAConnectivity etc you may receive the following error while running the command :
Something like this as shown below:


Resolutions:

1. Locate the new-TestCasConnectivityUser.ps1 under C:\Program Files\Microsoft\Exchange Server\V14\Scripts

2.Open up the new-TestCasConnectivityUser.ps1 file in notepad and search for text "new-mailbox". On the same line remove the command “–OrgainisationalUnit:$OrganistationalUnit” which creates the user to default Users OU.

Now run the command and it should work fine

Comments