Home > Exchange 2010 > CAS Test connectivity Mailbox in Exchange 2010

CAS Test connectivity Mailbox in Exchange 2010

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.

Categories: Exchange 2010
  1. Uwe
    September 26, 2012 at 7:31 pm

    you have one issue in yur desscription:
    I simply change OU name by complete path of Canonical name of object
    like “abc.com\Users”.

    Correct is: “abc.com/Users”. Slash between Domain and Users

    Regards Uwe

    • October 13, 2012 at 9:37 pm

      Thanks Buddy for correction, Appriciate 🙂 !!!!!

  2. November 9, 2012 at 1:37 am

    Thanks for the auspicious writeup. It actually was once a entertainment account it. Look complex to far added agreeable from you! However, how could we communicate?

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: