Microsoft Exchange MAPI - Frequent Questions / Solutions

 
 

What could be the cause when the access to the Microsoft Exchange server is not possible, for example public and private Outlook contact folders cannot be added to the XPhone Connect Directory or Virtual Directory, calender synchronization between the XPhone and Exchange server does not work or you cannot access your Voicemail via MAPI?

After you went through the MAPI configuration settings according to our manuals, check the following for a solution:

 

MAPI Troubleshooting

Tips for every Exchange server version:

    1. It's required to have the newest XPhone Server version installed (see http://www.c4b.com/ under SERVICE > SOFTWARE DOWNLOAD)
    2. Make sure you have the newest Service Pack installed on your Microsoft Exchange server and no further updates pending
    3. If there are more Exchange servers with different versions in use at one time, because of a currently ongoing Migration (for example to Exchange 2016), you need to finish the Migration before the MAPI configuration
    4. If you can see the error "MAPI_E_FAILONEPROVIDER" in the mapping configuration of your MAPI-datasource in the XPhone Connect Directory or in Windows Event Viewer, please note the following article:
      http://www.c4b.com/de/knowledgebase/mapi/sitzungslimit-gleichzeitiger-mapi-zugriffe-erhoehen.php
    5. The XPhone Server service accounts needs to be a member of the domain of the Exchange server where the contact folders are to be added from
    6. The machine on which the XPhone Server is running needs to be a member of the domain of the Exchange server where the contact folders are to be added from
    7. Make sure you changed the service account in the "XPhone Connect Server Manager" or "XPhone Server Service Manager" respectively. Change the service account via the XPhone Server Manager back to "LocalSystem", restart the service and then switch back to your MAPI account
    8. A mailbox for the XPhone Server service account on the Microsoft Exchange server is mandatory
    9. The service account needs to be configured in a way that it is displayed in the Exchange address list (Global Address List, GAL). It must not be hidden (see Exchange server configuration for the service account)
    10. The service account of the XPhone Server must not be a member of the Domain or Enterprise administrators group
    11. If you want to add Outlook contact folders to the XPhone Connect Directory or Virtual Directory:
      Sign in to your XPhone Server machine with your service account and add the data sources in the Directory administration interface
    12. Further note the Troubleshooting guides in the current C4B MAPI manuals

 

Further tips for Microsoft Exchange server 2016 (from XPhone Connect 6)

    1. Make sure you installed "Microsoft Outlook 2016 32bit" on the XPhone Connect Server machine and completely configured it in the context of the MAPI service account
    2. Check if the Cached mode in the Microsoft Outlook Client was turned off. In order to do that you need to start the Outlook Client in the context of the MAPI user which is used for the XPhone Connect Server service. After the change restart the XPhone Connect Server service
    3. The standard E-Mail client must be "Microsoft Outlook". Check the following Windows registry keys if that is true:
      [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail]
      [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Clients\Mail]
      "Microsoft Outlook" must be set in the "Standard" value
    4. a) Sign in to the XPhone Connect Server machine with the MAPI account that is used for the XPhone Connect Server service
      b) Stop the XPhone Connect Server service
      c) After the completed shutdown of the service, check in the "Details" tab of the Windows Task Manager whether there are still processes with the names VDirAdapterMAPICFPrivateContacts.exe or VDirAdapterMAPIPFProcess.exe being displayed. If so, stop these processes via the Task Manager.
      d) Open the settings for "Mail (32-Bit)" or "Mail (Microsoft Outlook 2016) (32-Bit)" in the control panel. Delete all existing MAPI profiles
      e) Start the Microsoft Outlook client and reconfigure the connection to the Exchange Server 2016
      f) Deactivate the Cached mode in Microsoft Outlook
      g) Change the XPhone Connect Server service account to "LocalSystem" in the XPhone Connect Server Manager (Button "Change") and start the XPhone Connect Server service. Wait until the service has been fully started
      h) Change the service account back to the MAPI account. Use the XPhone Connect Server Manager again to do this. Wait until the service has been fully restarted
      i) If there are still Outlook data sources not working correctly, delete and readd them

Further tips for Microsoft Exchange server 2013

    1. Uninstall the feature "Microsoft Exchange Server MAPI Client and Collaboration Data Objects" via CONTROL PANEL > PROGRAMS AND FEATURES and install the version 6.5.8353 (https://www.microsoft.com/en-us/download/details.aspx?id=42040) or newer
    2. If you use Exchange Server version 15.0.712.24 or newer, see also: http://social.technet.microsoft.com/wiki/contents/articles/15776.exchange-server-2013-and-cumulative-updates-cus-build-numbers.aspx
    3. When using Exchange 2013, be careful not to add the IP address or hostname in the "SERVERNAME" field in the tab "2. Public Folder" when adding a public Outlook contact folder to the XPhone Virtual Directory. Instead, an asterisk * needs to be used!
    4. Open the Windows registry and navigate to the key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
      Check if there is a DWORD-entry: LMCompatabilityLevel
      If the entry exists, its value needs to be greater than 2.
      For more information, visit http://blogs.msdn.com/b/dvespa/archive/2014/06/27/exchange-mapi-repeatedly-prompts-for-creds.aspx bzw. https://technet.microsoft.com/en-us/library/cc960646.aspx
    5. On the XPhone Server a Microsoft Outlook Client must have never been and must not be currently installed
    6. The standard E-Mail client must be "ExchangeMAPI". Check the following Windows registry keys if that is true:
      [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail]
      [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Clients\Mail]
      "ExchangeMAPI" must be set in the "Standard" value
    7. Open the atlas.xml file via the XPhone Connect Server Manager under TOOLS or directly from the install directory of the XPhone Server with a text editor. Check if the following entry is present (it MUST NOT be commented out):

        <Exchange>
      <mapi>
            <RoHFlagsUseRoH>On</RoHFlagsUseRoH>
          </mapi>
        </Exchange>

      If the entry is not present, insert it, for example before the last line </configuration>. Save your changes and restart the XPhone Server service.

 

Further tips for Microsoft Exchange server 2010

    1. Install the following patch of Microsoft: http://support.microsoft.com/kb/2803727
    2. If an Exchange 2010 with installed Client Access Server (CAS)-role is being used, note this article:
      https://www.c4b.com/de/knowledgebase/server/einstellung-cas-rolle-exchange-2010.php
    3. On the XPhone Server a Microsoft Outlook Client must have never been and must not be currently installed
    4. The standard E-Mail client must be "ExchangeMAPI". Check the following Windows registry keys if that is true:
      [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail]
      [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Clients\Mail]
      "ExchangeMAPI" must be set in the "Standard" value

 

Means for testing and analysis

    1. Check if the service account is able to access its own mailbox via Outlook Web Access (OWA) (it is possible that you need to allow the access to OWA temporarily)
    2. If private Outlook contact folders, the central calendar synchronization or the Voicemail access via MAPI should be used: Is it possible for the service account to sign into any workstation and open the Microsoft Outlook Client to configure the access to its mailbox? If it is: Is it possible to open the mailbox of a different user? (File > Open > Folder of a different user)
      When using Exchange 2016 you can test this directly with the Outlook 2016 32bit client on the XPhone Connect Server machine
    3. For further tests please use the Microsoft tool MFCMapi.  Please refer to our manual https://help.c4b.com/en/xphone-connect-6/admin/#3897.htm for instructions

 

Subscribe to our Newsletter

 
 
 
 
 
 
 

Thank you for subscribing. To confirm your subscription, please click the link in your registration email.

 
 

An error occured. Please try again.



Cookies ermöglichen eine bestmögliche Darstellung unserer Dienste. Mit der Nutzung der Seiten von C4B Com For Business, erklären Sie sich damit einverstanden, dass wir Cookies verwenden. mehr Infos