You receive misleading information when you run the "New-TestCasConnectivityUser.ps1" script on an Exchange Server 2007 server


Consider the following scenario. You run one of the following cmdlets without specifying a mailbox that the default test account is used in the Exchange Management Shell on a Microsoft Exchange Server 2007 server:
  • Test-WebServicesConnectivity
  • Test-OwaConnectivity
  • Test-ActiveSyncConnectivity
  • Test-ImapConnectivity
  • Test-PopConnectivity
If a test account does not exist, you can run the New-TestCasConnectivityUser.ps1 script to create the test account. In this scenario, you receive the following message:

Please enter a temporary secure password for creating test users. For security, the password will be changed regularly and automatically by the system.

However, the password is changed by the system only when the following conditions are true:
  • The Exchange organization is monitored by a System Center Operations Manager (SCOM) 2007 server.
  • The SCOM server has Exchange Server 2007 Management Pack for SCOM 2007 Service Pack 1 (SP1) installed.

Note In the help information about Exchange Server 2007, it states that "The password for the test account is typically reset every 7 days.".


This issue occurs because the Set-CasConnectivityTestCredentials cmdlet and the Set-UMConnectivityTestCredentials cmdlet perform the password reset. However, these two cmdlets are not available in the regular Exchange Management Shell. These two cmdlets are only run by the Monitoring service in the SCOM server.


To resolve this issue, install the following update rollup:
2407025 Description of Update Rollup 2 for Exchange Server 2007 Service Pack 3

After you apply this update, clear information is generated when you run the New-TestCasConnectivityUser.ps1 script to create a test account. The information points out that the password will be changed if SCOM is installed.


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information

For more information about Exchange Server 2007 Management Pack for System Center Operations Manager 2007 SP1, visit the following Microsoft website:

Id. de artículo: 2249814 - Última revisión: 14 dic. 2010 - Revisión: 1