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.
[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.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.domain.com
Please what is still missing to get this working.
Thanks