How to create the Test Mailboxes for the Internal OWA Availability Health Test for Exchange 2003, 2007 and 2010
Test Mailboxes for the Internal OWA Availability Health Test
You need to create one or more test mailboxes on a Mailbox server to perform
this test.
Exchange 2003 Test Mailboxes
To test Outlook web access (OWA) logon to an Exchange 2003 mailbox, you
must specify an Exchange 2003 mailbox in the test wizard. Otherwise, testing
OWA logon to an Exchange 2003 mailbox is skipped.
Creating Exchange 2007 Test Mailboxes
Spotlight on Messaging uses a PowerShell script provided by Microsoft to
simplify creating test mailboxes for Exchange 2007 servers.
To create test mailboxes for the Internal OWA Availabilty test:
1. Login to one of your Exchange 2007 Mailbox servers as a Domain
Administrator.
2. Open the Exchange Management PowerShell Console.
3. Change the directory to the Exchange Server Scripts folder (for
example, C:\Program Files\Microsoft\Exchange Server\Scripts)
4. Execute the following command:
get-mailboxServer|.\new-TestCasConnectivityUser.ps1
5. When prompted for the Organizational Unit (OU), enter the
Distinguished Name (DN).
We recommend that you set the accounts created for test
mailboxes to have "password never expires". This will avoid logon
failures due to a mailbox password expiring.
NOTE: The OU is specified as a DN because multiple OUs of the same name may
exist in your organization. For example:
OU=Users,DC=mscs,DC=qc,DC=kan,DC=ca,DC=qsft
For Exchange 2010 Test Mailboxes Spotlight on Messaging uses a PowerShell script provided by Microsoft to simplify
creating test mailboxes for Exchange 2010 servers.
To create test mailboxes for the Internal OWA Availabilty test
1. Login to one of your Exchange 2010 Mailbox servers as a Domain
Administrator.
2. Open the Exchange Management PowerShell Console.
3. Change the directory to the Exchange Server Scripts folder (for
example, C:\Program Files\Microsoft\Exchange Server\Scripts)
4. Execute the following command:
get-mailboxServer|.\new-TestCasConnectivityUser.ps1
5. When prompted for the Organizational Unit (OU), enter the
Distinguished Name (DN).
NOTE: The OU is specified as a DN because multiple OUs of the same name may
exist in your organization. For example:
OU=Users,DC=mscs,DC=qc,DC=kan,DC=ca,DC=qsft
Ensure all database copies of the mailbox database are in the same
site as your CAS server. The PowerShell cmdlet used in the test
requires a test mailbox for each site. This guarantees you always
have a test mailbox in the site, even when databases fail
over/switch over among member servers of the Database
Availability Group (DAG)