Problem using Test-OutlookWebServices

I am trying to test Services on Exchange 2013 SP1 installation. The Environment consist of 2 Servers, both having identical functions with mail Mailboxes distributed between them. A FileServer is used as DAG.

The first try with "Test-OutlookWebServices" gave this error message:

[PS] C:\Windows\system32>Test-OutlookWebServices Unable to find the client accesss monitoring user. Please run C:\Program Files\Microsoft\Exchange Server\V15\Scripts\New-TestCasConnectivityUser.ps1. Exception: Microsoft.Exchange.Monitoring.MailboxNotFoundException: Failed to find the mailbox. Mailbox = 'extest_xxxx@domain.com. at Microsoft.Exchange.Monitoring.CommonTestTasks.GetDefaultTestAccount(ClientAccessContext context) at Microsoft.Exchange.Monitoring.TestWebServicesTaskBase.GetMonitoringAccount()    
+ CategoryInfo : InvalidData: (:) [Test-OutlookWebServices], TestWebServicesTaskException    
+ FullyQualifiedErrorId : 5322965D,Microsoft.Exchange.Monitoring.TestOutlookWebServicesTask    
+ PSComputerName : exchange2013Server1.domain.com

Then the UserAccount was created with the script and got this while creating it. I also observed that the mailbox was created in the "Archive-DB".

[PS] C:\Program Files\Microsoft\Exchange Server\V15\scripts>.\new-TestCasConnectivityUser.ps1

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

Enter password: ***********

Create test user on: EXCHANGE2013Server1.domain.com
Click CTRL+Break to quit or click Enter to continue.:

UserPrincipalName: extest_xxxxxx@domain.com

WARNING: Please update UseDatabaseQuotasDefaults to false in order for mailbox quotas to apply.

WARNING: The command completed successfully but no settings of 'domain.com/Users/extest_xxxxxx' have been modified.

You can enable the test user for Unified Messaging by running this command with the following optional parameters : [-UM DialPlan -UMExtension ] . Either None or Both must be present.

However when retry my test, I am now getting the following

[PS] C:\>Test-WebServicesConnectivity

Unable to find the client accesss monitoring user. Please run C:\Program Files\Microsoft\Exchange

Server\V15\Scripts\New-TestCasConnectivityUser.ps1. Exception:

Microsoft.Exchange.Monitoring.CasHealthStorageErrorException: An error occurred while trying to access mailbox Exchange2013Server2.domain.ch, on behalf of user domain.ch\extest_xxxxxx

 Additional information:

 [Microsoft.Exchange.Data.Storage.WrongServerException]: The user and the mailbox are in different Active Directory sites..

   at Microsoft.Exchange.Monitoring.CommonTestTasks.GetDefaultTestAccount(ClientAccessContext context)

   at Microsoft.Exchange.Monitoring.TestWebServicesTaskBase.GetMonitoringAccount()

    + CategoryInfo          : InvalidData: (:) [Test-WebServicesConnectivity], TestWebServicesTaskException

    + FullyQualifiedErrorId : [Server=Exchange2013Server1,RequestId=dac1f2ab-9088-410e-a5d6-e2cf659fe7d8,TimeStamp=03.02.2015 14:49:08] [FailureCategory=Cmdlet-TestWebServicesTaskException] FB49567F,Microsoft.Exchange.Monitoring.TestWebServicesConnectivity

    + PSComputerName        : Exchange2013Server1.lt.admin.ch

I know the user and its correspondent mailbox is available, and we are running a single AD-Site and Exchange-Organization.

Please what is still missing to get this working.

Thanks

February 3rd, 2015 11:07am

Hi,

To work around this issue, we can use the following command:

Test-OutlookWebServices -identity:user@domain.com -MailboxCredential (Get-Credential)

The same as Test-WebServicesConnectivity

Test-WebServicesConnectivity -identity:user@domain.com -MailboxCredential (Get-Credential)

Best Regards.

Free Windows Admin Tool Kit Click here and download it now
February 4th, 2015 2:21am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics