blogging about…… Microsoft, Cloud Computing and all other things I find interesting
When I wanted to create a test user for SCOM 2007 to monitor Exchange, I constantly ran into the error (whenever I ran the script
new-TestCasconnectivityUser.ps1):
CreateTestUser : Mailbox could not be created. Verify that OU ‘Users’ exists and that password meets complexity requirements.
I checked google, and all solutions pointed to the fact that there was more than one users OU.
When I edited the script and replaced the variable $OrganizationalUnit with a different OU, I still received the same error.
The solution came when I created a new OU in AD and edited the script again, now I changed the $OrganizationalUnit parameter to contain the newly created OU. After that the script ran perfectly.
4 Responses to new-TestCasConnectivityUser.ps1 error OU exists
SOny
May 3rd, 2011 at 12:43
.\new-TestCasconnectivityUser.ps1 -OU “CN=Users,DN=domain,DC=com” worked fine for me. Users is a container, not an OU.
Sigge
July 4th, 2011 at 18:18
Great, this solved my issue i been having! =) Thnx
Mindaugas
September 29th, 2011 at 08:01
Sobed for me too. Thanks!
kris
October 5th, 2011 at 18:29
Worked perfectly! Such a simple fix, thanks a mil.