Public folders are not visible in CodeTwo Exchange Sync
When browsing source folders in CodeTwo Exchange Sync Admin, you are unable to select public folders – they are not listed at all in the program (Fig. 1.).
This problem is known to occur in multi-server Exchange 2016 environments. The latest versions of Exchange Server no longer support the installation of MAPI CDO, which means the only way to use CodeTwo Exchange Sync in such environments is to install the program together with a specific version of Microsoft Outlook to be able to connect to Exchange via MAPI over HTTP. Because of that limitation, the service account created by the program may not be able to access public folders in Exchange, even though they are showing in Outlook.
To fix this problem, instead of using this service account, you can get the program to use an Outlook profile which can access public folders. Use the links below to learn how to:
- Verify which Outlook profile can access public folders
- Delete the profiles created by CodeTwo Exchange Sync
- Set an Outlook profile to be used with CodeTwo Exchange Sync
The easiest way to check if you can access public folders using your Outlook profile is by using Outlook itself – just switch to the Folders view (Fig. 2.) and public folders should be visible in the navigation pane on the left.
However, if there are multiple Outlook profiles set up and you are not sure which one is currently used by Outlook, go to Windows Control Panel > Mail (or Control Panel > User Accounts > Mail when using the Category view) and click Show Profiles. In the window that opens you can either check or change which profile is currently used (Fig. 3.).
Another way to check if a given Outlook profile can access public folders is by using the MFCMAPI tool. Refer to this article for more information.
If you haven’t created an Outlook profile yet, once you open Outlook for the first time, a wizard will appear that will guide you through the entire creation process. You can also create a new profile directly in the Mail window (see Fig. 3. above) by clicking the Add button.
If you have already configured a connection to your Exchange server in CodeTwo Exchange Sync, it is a good idea to delete all MAPI profiles created by the program. To do so:
- In CodeTwo Exchange Sync, click Settings on the ribbon and uninstall the synchronization service (Fig. 4.).
- Close the program.
- Go to Windows Control Panel > Mail (or Control Panel > User Accounts > Mail when using the Category view).
- Click Show Profiles.
- Select the profile that starts with C2ExchangeSync and click Remove (Fig. 5.). Repeat this step for all similar profiles.
- Click OK to close the window.
Follow the steps below to get the program to use a specific Outlook profile to connect to your Exchange server:
- Open the Registry Editor (regedit.exe).
- Navigate to
- Right-click ExchangeSync and select New > String Value.
- Type MAPIProfileName and press Enter.
- Double-click the newly-created string and type the name of your Outlook profile in the Value data field.
- Click OK.
You should now have the following value (Fig. 6.) under the ExchangeSync key:
Once you open CodeTwo Exchange Sync, the program will automatically connect to your Exchange server using the specified Outlook profile.
You should now be able to view public folders in CodeTwo Exchange Sync (Fig. 7.).
Even if you run the Exchange Server connection wizard and configure a new synchronization service, as long as the MAPIProfileName entry exists in the registry, the program will keep using the defined Outlook profile. However, once you create a synchronization task for public folders in the program, you can delete this entry from the registry and use another synchronization service (MAPI profile) to connect to your Exchange server. Public folders will continue to be synchronized.