the user and the mailbox are in different active directory sites

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

June 23rd, 2015 9:44am

Check the database preference

is it on production site or DR site

May be you Database Index is corrupt

run below command

update-mailboxdatabasecopy -CatalogOnly -identity "DatabaseName\ExchangeServerName"

Free Windows Admin Tool Kit Click here and download it now
June 23rd, 2015 9:58am

I would download and install the Microsoft Connectivity Analyzer tool from testexchangeconnectivity.com

The error you are seeing occurs when you run the test-outlookwebservices from a CAS server without specifying a mailbox ID and credentials.  The CAS server is trying to run the test using one of the exchange generated test accounts.  I get the same exact behavior in my environment.

June 23rd, 2015 10:34am

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

Other recent topics Other recent topics