I have a DAG with servers in two sites, our production site, and a DR site. All of the databases are on the mailbox servers in the production site.
When I run the command Test-OutlookWebServices from my CAS server (also in the production site), I get the following error:
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
EX13-DAG3.local.domain, on behalf of user local.domain\extest_5793071c1d514
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-OutlookWebServices], TestWebServicesTaskException
+ FullyQualifiedErrorId : [Server=EX13-DAG1,RequestId=e0ec6d35-eb8d-4429-bcfc-7697f2d5c80c,TimeStamp=6/23/2015 11:
14:12 AM] [FailureCategory=Cmdlet-TestWebServicesTaskException] 5ADEE42F,Microsoft.Exchange.Monitoring.TestOutlook
WebServicesTask
+ PSComputerName : ex13-cas1.local.domain
However, if I run the test on my own user, the test runs successfully:
Test-OutlookWebServices -Identity:davidc@local.domain -MailboxCredential (Get-Credential)
cmdlet Get-Credential at command pipeline position 1
Supply values for the following parameters:
Credential
Source ServiceEndpoint
Scenario Result Latency
(MS)
------ ---------------
-------- ------ -------
EX13-DAG1.local.domain autodiscover.local.domain Autodiscover: Outlook Provider Success 203
EX13-DAG1.local.domain ex2010.local.domain Exchange Web Services
Success 81
EX13-DAG1.local.domain ex2010.local.domain Availability Service
Success 436
EX13-DAG1.local.domain ex2010.local.domain Offline Address Book
Success 80
Any explanation? Anything I can check to see why this is happening?
Thanks,
David