I am getting the typical error about the OU not existing or the password not meeting complexity requirements. Googled it and find tons of web pages with suggestions...
1. Try adding -OU with the specific OU at the end.
D:\Program Files\Microsoft\Exchange Server\V14\Scripts>.\new-TestCasConnectivityUser.ps1 -OU"mydomain\Users"
Same error.
2. Try setting the OU in the script by changing line 171 to be more specific:
$OrganizationalUnit = "mydomain\Users"
Same error.
3. Try removing the -OrganizationalUnit:$OrganizationalUnit from line 49
Same error.
In Event Log I find where it is trying to create the test user account and failing.
Question: Can I just create the test user manually like the hundreds of mailboxes we create every day?
Any input/advice is welcomed, I'm about to throw my computer out the window.
where I have mydomain in the text above, in the actuall commands or scripts I have my actual domain name.
Jason Meyer