In Exchange Server 2010 we can use cmdlets to test Microsoft Office Outlook Web Access (OWA), Microsoft ActiveSync, and Exchange Web Services connectivity from Client Access servers to Mailbox servers. These cmdlets require that a test mailbox be created on each Exchange Server 2010 Mailbox server that is to be tested.
In Exchange 2010 CAS test mailbox is : extes_896add….
In Exchange 2007 CAS test mailbox is : CAS_……
Use below cmdlet to check whether you have created test mailbox.
Get-Mailbox –identity extes*
To create CAS test mailbox in Exchange 2010 server you need to use inbuilt script from “c:\Program Files\Microsoft\Exchange Server\Scripts”. You have to run below cmdlet. Here location can vary according to your installation path.
[PS]D:\Program Files\Microsoft\Exchange Server\Scripts>Get-MailboxServer –Identity abcdagfe1 | .\new-testcasconnectivityUser.Ps1
Please enter a temporary secure password for creating test users. For secure purpose…
Enter Password: ******
Create Test user on : abcdagbe1
Click CTRL+Break to quit or click Enter to continue:
Now I pressed enter and problem begins, Error message says that “mailbox could not be created.Verify that OU exists and that password meets complexity requirements”. Again I ran above cmdlet with more complex password and got same error. OU is default OU which get create when we establish AD.
OK, Now after several attempt I manage to fix this. I open script file “new-testcasconnectivityUser.Ps1” in notepad and saw variable “$Organization” where OU “Users” is used. I simply change OU name by complete path of Canonical name of object like “abc.com\Users”.
Note : To see canonical name of OU in object tab you must open ADUC with advanced feature option.
Now I again used cmdlet “Get-MailboxServer –Identity abcdagfe1 | .\new-testcasconnectivityUser.Ps1” and test mailbox got created.
Now you can use cmdlet Get-Mailbox –identity extes* to verify creates CAS mailbox.