Test-OutlookConnectivity fails with '[Microsoft.Exchange.Data.Storage.WrongServerException]: The user and the mailbox are in different Active Directory sites'.

I have a two site DAG, and the command is running from the alternate site where the databases are not currently being hosted. The following command...
Test-OutlookConnectivity -Protocol:TCP -TrustAnySSLCert:$true -MonitoringContext:$true
...errors with the following output:
An error occurred while trying to access mailbox CurrentlyHostingMBServerName.InternalDomainName, on behalf of user InternalDomainName\extest_bb13200232474
 Additional information:
 [Microsoft.Exchange.Data.Storage.WrongServerException]: The user and the mailbox are in different Active Directory sit
es..
    + CategoryInfo          : OperationStopped: (Microsoft.Excha...onnectivityTask:TestOutlookConnectivityTask) [Test-
   OutlookConnectivity], CasHealthStorageErrorException
    + FullyQualifiedErrorId : F2F8AC0D,Microsoft.Exchange.Monitoring.TestOutlookConnectivityTask
I thought this command would work based on the 'AllowCrossSiteRpcClientAccess: True' option on the DAG.  The command works well if run a CAS server in the active DB site.

Hi,
Exchange 2013 users use Outlook Anywhere to connect to CAS server. You may run the RCA to test the connectivity:
https://www.testexchangeconnectivity.com/
Thanks,
Simon Wu
TechNet Community Support

Similar Messages

  • OWA 2007 Issue : Microsoft.Exchange.Data.Storage.VirusMessageDeletedException Could not get properties.

    Hi I am facing an issue with Outlook web access on my production server Exchange Server 2007 with Sp1. When i try to reply or forward a message from OWA it displays The message has been deleted due to a virus threat . Kindly refer to the below error details. I have a box with all 3 roles installed I do not have an Edge Server . IO have installed Forefront on the same Box as my exchange Server.Below is the Detail of  the error . Kindly Help
    A virus was found in this message and it has been deleted. For further
    information, please contact technical support for your organization.
    Click here to continue working.
     Copy error details to clipboard
     Show details
    Request
    Url: https://192.168.7.12:443/owa/forms/basic/BasicEditMessage.aspx?ae=Item&t=IPM.Note&a=Reply&id=RgAAAACFMIZq8d7LTqcPs%2bRZA5g%2bBwBDDZWeCojSQZ1bZZ7Ga%2fkWAAAAeCc6AABDDZWeCojSQZ1bZZ7Ga%2fkWAA5iTbjpAAAJ
    User host address: 192.168.7.11
    User: Munendra Pal Gangwar
    EX Address: /o=First Organization/ou=Exchange Administrative Group
    (FYDIBOHF23SPDLT)/cn=Recipients/cn=mp_gangwar
    SMTP Address: [email protected]
    OWA version: 8.1.336.0
    Mailbox server: PFCDELEXCH01.PFCDOMAIN
    Exception
    Exception type: Microsoft.Exchange.Data.Storage.VirusMessageDeletedException
    Exception message: Could not get properties.
    Call stack
    Microsoft.Exchange.Data.Storage.MapiPropertyBag.GetProperties(IList`1
    propertyDefinitions)
    Microsoft.Exchange.Data.Storage.StoreObjectPropertyBag.InternalLoad(PropertyDefinition[]
    properties, Boolean forceReload)
    Microsoft.Exchange.Data.Storage.StoreObjectPropertyBag..ctor(StoreSession
    session, MapiProp mapiProp, Origin origin, PropertyDefinition[]
    autoloadProperties, Boolean canSaveOrDisposeMapiProp)
    Microsoft.Exchange.Data.Storage.StoreObjectPropertyBag..ctor(StoreSession
    session, MapiProp mapiProp, Origin origin, PropertyDefinition[]
    autoloadProperties)
    Microsoft.Exchange.Data.Storage.Item.InternalBindItem(StoreSession
    session, StoreObjectId itemId, Byte[] changeKey, ItemBindOption
    itemBindOption, PropertyDefinition[] allPropsToLoad)
    Microsoft.Exchange.Data.Storage.Item.InternalBind[T](StoreSession
    session, StoreId id, ItemBindOption itemBindOption,
    PropertyDefinition[] allPropsToLoad)
    Microsoft.Exchange.Data.Storage.Item.InternalBind[T](StoreSession
    session, StoreId id, PropertyDefinition[] allPropsToLoad)
    Microsoft.Exchange.Clients.Owa.Core.Utilities.GetItem[T](StoreSession
    storeSession, StoreId storeId, Boolean forceAsMessageItem,
    PropertyDefinition[] prefetchProperties)
    Microsoft.Exchange.Clients.Owa.Core.Utilities.GetItem[T](UserContext
    userContext, StoreId storeId, Boolean forceAsMessageItem,
    PropertyDefinition[] prefetchProperties)
    Microsoft.Exchange.Clients.Owa.Core.Utilities.GetItem[T](UserContext
    userContext, StoreId storeId, PropertyDefinition[] prefetchProperties)
    Microsoft.Exchange.Clients.Owa.Basic.EditMessage.LoadMessage()
    Microsoft.Exchange.Clients.Owa.Basic.EditMessage.OnLoad(EventArgs e)
    System.Web.UI.Control.LoadRecursive()
    System.Web.UI.Page.ProcessRequestMain(Boolean
    includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Inner Exception
    Exception type: Microsoft.Mapi.MapiExceptionVirusMessageDeleted
    Exception message: MapiExceptionVirusMessageDeleted: Unable to get
    properties on object. (hr=0x80004005, ec=1294) Diagnostic context:
    Lid: 18969 EcDoRpcExt2 called [length=479] Lid: 27161 EcDoRpcExt2
    returned [ec=0x0][length=422][latency=15] Lid: 23226 --- ROP Parse
    Start --- Lid: 27962 ROP: ropOpenMessage [3] Lid: 17082 ROP Error:
    0x50E Lid: 26977 Lid: 21921 StoreEc: 0x50E Lid: 27962 ROP:
    ropExtendedError [250] Lid: 1494 ---- Remote Context Beg ---- Lid:
    1238 Remote Context Overflow Lid: 14164 StoreEc: 0xFFFFFA1D PropTag:
    0x672D0003 Lid: 8660 StoreEc: 0x8004010F PropTag: 0x672D0003 Lid:
    21970 StoreEc: 0x8004010F PropTag: 0x672D0003 Lid: 23921 StoreEc:
    0x3EC Lid: 21970 StoreEc: 0x8004010F PropTag: 0x672F0014 Lid: 23921
    StoreEc: 0x3EC Lid: 21970 StoreEc: 0x8004010F PropTag: 0x6708000B Lid:
    21970 StoreEc: 0x8004010F PropTag: 0xE960102 Lid: 21970 StoreEc:
    0x8004010F PropTag: 0x6708000B Lid: 21970 StoreEc: 0x8004010F PropTag:
    0xE960102 Lid: 21970 StoreEc: 0x8004010F PropTag: 0x67760102 Lid:
    25394 Lid: 19506 Lid: 27698 Lid: 11285 StoreEc: 0x50E Lid: 21970
    StoreEc: 0xFFFFFC07 PropTag: 0x30080040 Lid: 25818 Lid: 6153 StoreEc:
    0x50E Lid: 25906 Lid: 5249 StoreEc: 0x50E Lid: 1750 ---- Remote
    Context End ---- Lid: 27962 ROP: ropGetPropsSpecific [7] Lid: 17082
    ROP Error: 0x4B9 Lid: 26465 Lid: 21921 StoreEc: 0x4B9 Lid: 27962 ROP:
    ropExtendedError [250] Lid: 1494 ---- Remote Context Beg ---- Lid:
    26426 ROP: ropGetPropsSpecific [7] Lid: 1750 ---- Remote Context End
    ---- Lid: 26849 Lid: 21817 ROP Failure: 0x4B9 Lid: 20385 Lid: 28577
    StoreEc: 0x50E Lid: 32001 Lid: 29953 StoreEc: 0x50E
    Call stack
    Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32
    hresult, Object objLastErrorInfo)
    Microsoft.Mapi.MapiProp.GetProps(PropTag[] propTagsRequested)
    Microsoft.Exchange.Data.Storage.MapiPropertyBag.GetProperties(IList`1
    propertyDefinitions)

    I had this same issue, except I have Symantec mail security not Forefront. It wound up being a line in the adult content filter. For whatever reason, they included "If you received this email" as one of the literal strings. This is probably part
    of almost every corporate confidentiality clause I have ever seen!! go figure......
    Thanks for the event log hint- since I have the adult content set to delete, I had no good tracking mechanism in Exhange or SMSME. I set email notifications for the future on these.
    Brent
    I had this same problem, but I have ESET Mail Security Server. in some one case the problem y solved if I attach the "user@domain" in the "white
    List". But in many case the problem is continuous. I have Exchange 2007 in MS Windows Server 2003.
    Thanks for yours help.

  • Migration issue - X-OWA-Error: SDServerErr;Microsoft.Exchange.Data.Storage.StoragePermanentException

    Im in the middle of a rather large migration and a few users are see the below error when trying to log in to OWA:
    X-OWA-Error: SDServerErr;Microsoft.Exchange.Data.Storage.StoragePermanentExceptionI cant find much on this error other than the enable inheritance permissions fix which all these accounts already have.Has anyone else come across this before?

    Hi 
    This problem occurs because the discretionary access control list (DACL) inheritance is disabled on the user account in Active Directory. The Exchange Servers group must have permissions
    to write the msExchUserCulture attribute on the user when the language has been specified in OWA.
    To resolve this problem, follow these steps:
    1. Open Active Directory Users and Computers.
    2. Click View, and then click Advanced Features.
    Note To make the Security tab available at both the user level and the organizational unit level, you must enable the Advanced Features option in Active Directory Users and Computers. This option is available under the View menu.
    3. Open the properties for both the user level and the organizational unit level that the users are located in, and then locate the Security tab.
    4. Click Advanced.
    5. Make sure that the following check box is selected:
    Allow inheritable permissions from the parent to propagate to this object and all child objects. Include these with entries explicitly defined here.
    6. Force Active Directory replication.
    Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you

  • Setting a Transport Rule to reply with a Custom DSN for a Disabled User and disconnected mailbox

    Here is what I am trying to accomplish. A user leaves the company. We disable there exchange email and that in turn disabled the account in AD. We want a custom NDR to say "This employee is no longer and employee blah blah" We dont get rid of email
    boxes but we disable them. 
    Here is what I done. Created custom NDR and then created a transport rule to read if the message is sent to [email protected] reply back with this NDR code. It works fine if I disable the user from AD and not exchange. Once I "disconnect" the mailbox
    it no longer works. I get the default NDR that says this email cant be found. I don't want that one. I want my custom NDR. I don't want to modify the 5.1.1 message either. Is there away around this?

    Hi Nellyjo,
    In your case, when you disable the user from AD and Exchange, in fact the message is blocked before reaching transport rule, recipient filtering is blocking this email. If you still want to achieve your goal by transport rule, you need to create a mailbox
    or contact to make your transport rule work.
    What's more, you also can modify original DSN for external and internal senders to meet your requirement.
    For more information, here is a similar thread for your reference.
    Setting a Transport Rule to reply with a Custom DSN for a Disabled User
    http://social.technet.microsoft.com/Forums/en-US/b1a4dd86-1e0e-43a9-b340-a80352e5c323/setting-a-transport-rule-to-reply-with-a-custom-dsn-for-a-disabled-user?forum=exchange2010
    Hope it helps.
    If you need further assistance, please feel free to let me know.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support

  • Hi i m using 4s and its updated but i cant configure with microsoft exchange for my gmail account. Anytime i tried to configure it the message comes connection to the server failed. Pls help me out.

    Hi i m using 4s and its updated but i cant configure with microsoft exchange for my gmail account. Anytime i tried to configure it the message comes connection to the server failed. Pls help me out.
    <Email Edited by Host>

    Discontinued by Google. Read here:
    http://googlesystem.blogspot.com/2012/12/google-sync-discontinued-for-gmail.html

  • ConfigureMsgService fails with MAPI_E_NETWORK_ERROR (Exchange 2013)

    Dear friends,
    I've got a strange issue with Exchange server 2013. I am unable to configure profile with my own application.
    The function ConfigureMsgService returns MAPI_E_NETWORK_ERROR (0x80040115).
    The point of failure is this:
    // Property structure to hold values we want to set.
    #define PROPERTIES_NUM 5
    SPropValue propValues[PROPERTIES_NUM];
    memset(&propValues, 0, PROPERTIES_NUM * sizeof(SPropValue));
    // PR_ROH_FLAGS
    propValues[0].ulPropTag = PR_ROH_FLAGS;
    propValues[0].Value.l = ROHFLAGS_USE_ROH |
      ROHFLAGS_HTTP_FIRST_ON_SLOW |
      ROHFLAGS_HTTP_FIRST_ON_FAST;
    // PR_ROH_PROXY_AUTH_SCHEME
    propValues[1].ulPropTag = PR_ROH_PROXY_AUTH_SCHEME;
    propValues[1].Value.l = ROHAUTH_NTLM;
    // PR_ROH_PROXY_SERVER  
    propValues[2].ulPropTag = PR_ROH_PROXY_SERVER;
    propValues[2].Value.lpszW = (LPWSTR) wszRohProxyServer;
    // Server
    propValues[3].ulPropTag = PR_PROFILE_UNRESOLVED_SERVER;
    propValues[3].Value.lpszA = (LPSTR) szServer;
    // Email
    propValues[4].ulPropTag = PR_PROFILE_UNRESOLVED_NAME;
    propValues[4].Value.lpszA = (LPSTR) szEmailAddress;
    // Configure the message service with the properties above.
    hr = spMsgSvcAdmin->ConfigureMsgService(
     (LPMAPIUID) pRow->aRow->lpProps[iSvcUID].Value.bin.lpb,
     NULL, 0/*SERVICE_UI_ALLOWED*/, PROPERTIES_NUM, propValues );
    This works well if SERVICE_UI_ALLOWED flag is used but fails with  MAPI_E_NETWORK_ERROR
    if  "MSEMS" service is configured without configuration property sheet.
    The code above also works if Exchange server is installed at the computer that also works as domain controller. But the problem occurrs if domain controller and exchange server are separate machines.
    Enviroment:
    Domain controller: Windows Server 2012
    Exchange server: Windows Server 2012, Exchange 2013
    Client machine: Outlook 2013 installed
    I'm guessing that there is some issue with AD, but I've run out of ideas at this point.
    Many thanks in advance for any suggestions.
    tomas

    Hi tomas,
    I am also facing the same problem, my customized MAPI application is failing with MAPI_E_NETWORK_ERROR
    (Exchange 2013).
    The exchange server and the AD are on different boxes.
    I tried following the
    steps as suggested in the article but no effect.
    Can you tell me what registry value do I need to set and in which machine do I need to set it.
    I do not see the HKEY_CURRENT_USER\Software\Microsoft\Exchange\Exchange Provider in the registry.
    Ankush

  • What does it mean, in iTunes, "your contacts are being synced with Microsoft Exchange over the air"?

    Hello,
    I'm trying to sync the contacts on my iPhone 5 with my contacts on my Mac Book Air (merge them), I'm also using Outlook (Microsoft) to manage my email account and my contacts.  I used to sync my contacts from my previous iPhone (4S) with my contacts on my Mac and also with contacts on Outlook.
    Now that I have iPhone 5 I missed that sync (iPhone-Mac-Outlook), so I figure it out that in iTunes there is this message: "your contacts are being synced with Microsoft Exchange over the air. Your contacts will also sync directly with this computer. This may result in duplicated data showing on your device"
    Every contact created on iPhone doesn't sync with my Mac or Outlook.
    How should I configure my iphone and my mac to sync properly??
    Thanks a lot!
    Kind Regards,
    Silvana
    Mac book Air OS X 10.8.3
    Processor 1.7 GHz Intel Core i5
    iTunes 11.0.4
    iPhone 5 iOS 6.1.4

    Not surprisingly there have been no answers to this question because the only person who knows how to use iTunes/iCloud/iPhone is too busy.

  • IPad Contacts sync with Microsoft Exchange problem

    I have a iPad & iPhone and use Microsoft Exchange to sync my Calendar, Contacts and Email with my Google account. I am having a problem with my Contacts. Some how when I have my iPad sync my contacts it keeps adding contacts that I have changed or have deleted. I can have over 30 extra contacts with some adding the same contact 7 or 8 times before I delete them in Google and switch the sync off on my iPad. How is my iPad having these ghost copy of old contacts and keep adding them to my contacts on Google. I have deleted my Microsoft Exchange account to Google off my iPad and tried it again with no luck. It keeps adding old contacts I have changed or have deleted? What can I do

    We have a user with the same issue. Each time a contact is updated, a duplicate is created. I have done some testing removing phone numbers from a contact in Outlook, but they remain in the contact information on the iPad. Any ideas?

  • How effective does iPhone 4 sync with Microsoft Exchange

    Hello,
    Sorry for a possible repost but I did try to search for this topic but didn't find anything.
    I'm really into the new iPhone 4 to use as a business phone. I have a Dell PC with Windows XP. The most important thing for me regarding iPhone is that the sync with Microsoft Exchange is flawless.
    Can somebody (who has an iPhone and Microsoft Exchange) tell me how effective the sync is with iPhone and Microsoft Exchange? Does the e-mail sync quickly and how does the sync work with contacts and calendar. If I put a new calendar item in Outlook does it appear on my iPhone without me asking it to sync and etc.?
    Please do share your experience

    Can I put the sync settings on the iPhone 4 to only sync between certain time interval? Say, monday to friday from 08am to 7pm?
    If you want push sync, then, no, you can't set a time interval. The entire point of push support is that the server notifies your system whenever something new arrives or something is changed. If you want to control when your iPhone contacts the server, then you can't use push. You can have the system fetch data at a set interval, or you can set to do it manually, if you prefer, but there's no setting where you can set a time window.
    And can I put the sync settings only to store a certain amount of e-mails? Say the 100 newest?
    You can set how may days of mail to sync, and also how many emails to show.
    You might find the the user's guide helpful in learning about features and settings:
    http://manuals.info.apple.com/enUS/iPhone_iOS4_UserGuide.pdf
    Regards.

  • After lion 10.7.3 update messed my mac had to restore from time machine now Outlook won't connect with microsoft exchange, any idea?

    after lion 10.7.3 update messed my mac had to restore from time machine now Outlook won't connect with microsoft exchange, any idea?

    I've had a similar problem.  On my first boot up after installing 10.7.4,  Firefox would not open.  Crashed every time.  Safari was not affected.  I have no idea if it was related to the flash plugin, but I did install a the latest version of that a couple of weeks ago. 
    Here's what fixed it: a second boot up.

  • Configure sharepoint 2013 with Microsoft exchange 2010

    Hi,
    I am want to configure SharePoint 2013 with Microsoft exchange 2010.
    Please let me how can I integrate these server to Send/ Receive domain E-mails.
    Thanks,   
    C Mahone

    For email integration there really isn't anything special about Exchange 2010 vs. any other mail server.  Check the links here on configuring Incoming and Outgoing mail in SharePoint:
    http://technet.microsoft.com/en-us/library/ee956941(v=office.15).aspx
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • UCM certified with Microsoft Exchange Server ??

    Hi,
    Is UCM certified with Microsoft Exchange Server ? how can we integrate UCM with Microsoft Exchange Server as we have Desktop Integration Suite to integrate with MS Outlook..
    Thanks,
    NL

    As for the link to the manual, for 10g it's here (I believe for 11g it will be similar if not the same): http://download.oracle.com/docs/cd/E10316_01/cs/cs_doc_10/documentation/admin/managing_system_10en.pdf
    It also mentions that SMTP protocol is used. Therefore, you will need to know the SMTP address of your Exchange Server.
    As for who uses it, I believe it is the majority or at least a significant part of the clients' installed base. Note that it is one of the most widespread email servers.

  • ITunes Says My Contacts Are Being Synced With Microsoft Exchange, But I Don't Have An Exchange Account

    iTunes says my contacts are being synced with Microsoft Exchange over the air, but I do not have an Exchange account, and I have disabled over the air syncing on both my iPhone 4, as well as in iTunes. How do I remedy this? I did a complete Restore on my phone to rectify this, but got the same results.
    I have worked for a couple of hours now; at first, none of my contacts were syncing with Outlook, even though iTunes said they were. Then after checking and unchecking everything I could find relating to syncing, some of my contacts synced. Now I've managed to get them all synced, but still getting this message. I need to make sure that going forward, all changes and updates are correctly synced manually whenever I plug my phone into my computer. Any suggestions?

    You are getting this message because you are trying to create an iCloud account on a PC.  You can only create iCloud account on an iOS device (iPhone, iPad or iPod Touch) running iOS 5 or higher, or on a Mac running OS X Lion (10.7.5) or higher.  After creating your account on one of these devices you will then be able to sign into the account using this ID on your PC.

  • How do I restore Notes through iTunes without interfering with Microsoft Exchange Calendar and email

    I recently added a Microsoft Exchange account to my iPhone and had to stop syncing my Calendar and Mail Accounts through iTunes because it was creating duplicate entries.  When I made those changes, I lost all of my Notes on my iPhone.  I backed up my phone after adding the Microsoft Exchange account, but am afraid to restore the backup (to restore the Notes) because I don't want to restore the pre-Exchange Calendar and Mail Account settings or entries.  If I select "restore backup", will it restore my Notes without interfering with my Calendar and Mail Account settings or entries?  Also, I don't know when the Notes disappeared from my iPhone, so it's possible that I synced through iTunes after I added the Exchange account, which probably means that the Notes I am trying to restore are in a prior backup, not the most recent backup.  Can you help?
    Thank you.

    move your existing me account to be a icloud account via www.icloud.com.
    icloud works only with @me.com .

  • HT4972 has anyone had issues syncing with microsoft exchange server since upgrading to ios 5.1.1

    Has anyone had issues syncing with microsoft exchange since updating to ios 5.1.1

    No bug I'm using exchange at work I've updated a couple of people here and it's working. 
    Your IT guy can't fix this for you?   This problem usually is due to the exchange server not recogonizing your account.   You have the right server and domain entered?

Maybe you are looking for

  • Ipod touch not working in itunes 12

    Hello, I've just factory resetted my computer, and Itunes was deleted in the process. I reinstalled it, getting Itunes 12.0.1. Now when I plug my Ipod touch (4th generation) into my computer, it says that the ipod cannot be used because the required

  • Why can't I connect my iPhone 4 to my iPad 2 using personal hotspot in iPhone 4

    I have iPhone 4, iPhone 5 and iPad 2. Since I use cellular data, sometimes I put one of my sims into iPhone 5 and use personal hotspot to serve as a router. The iPad 2 works perfectly but if I turn on the feature in iPhone 4, neither the iPhone 5 nor

  • Whanted: Where is the file gauge.as ?

    Hello, I want to modify the specfic gauge as described in the following link: http://www.adobe.com/devnet/flex/articles/customized_gauge.html In this tutorial, author speak about files like gauge.as in a library ... But i don't know where these files

  • Pages Seizes Up When Switching Applications

    I recently had to move all my computer stuff for redecoration work. Since re-assembly everything seems fine except Pages. For most of the time it's nippy and fine. When I'm running it with other apps, though, something weird seems to happen. When I s

  • 3 table join

    Hi Lets say we have following tables TabA colA1 (PK) colA2 colA3 TabB colB1 (PK) colA1 (FK - Tab A) colB2 TabC colC1 (PK) colB1 (FK - Tab B) colA1 (FK - Tab A) colC2when linking above three tables what is the difference between following two scripts