CodeTwo Base.title

Synchronization of public folders following a change of the synchronization service account

Problem:

How to synchronize public folders following a change of the account the synchronization service of Exchange Sync runs under

Solution:

A frequent reason of an erroneous synchronization between personal folders and public folders is the lack of appropriate permissions. This will manifest in the log files in the following way:

Error: Failed to copy an item "Calendar\Daniel" to folder "Firm Calendar in Public Folders". 
Failed to save changes. MAPI_E_CALL_FAILED (0x80004005)

This may occur if the account the Exchange Sync service runs under has changed.

Bear in mind that Domain Admin users do not have permission to edit and save items in public folders if they were created by other users. Therefore, in order for the Exchange Sync service to synchronize items in public folders  properly, the account the service runs under needs to enjoy the right to edit and delete items in public folders.

Below you will find steps in which permissions to edit and delete items in public folders are granted for Exchange 2003, 2007 and 2010.

Granting permissions to edit and delete items in public folders of Exchange Server 2003

  1. Open Exchange Management Console.
  2. Choose Folders/Public Folders in the folder tree.
  3. Choose the folder you want to add permissions to.
  4. From the context menu choose Properties.

    143-1
    Fig. 1. Public Folders properties in Exchange 2003.

  5. In the Permissions tab, click Client permissions

    143-2
    Fig. 2. Permissions tab in Exchange 2003.

  6. In the Client permissions dialog box select the account the service C2ExchangeSync is started under. From the list choose Publishing Editor.

    143-3
    Fig. 3. Changing permissions for the service account user.

  7. Repeat the procedure for all public folders synchronized used by CodeTwo Exchange Sync.

Granting permissions to edit and delete items in public folders of Exchange Server 2007 / 2010

  1. Open Exchange Management Shell
  2. Type the following command:

    Add-PublicFolderClientPermission –Identity “\folder_name” –User “user_name” –AccessRights EditAllItems
  3. Type the following command:

    Add-PublicFolderClientPermission –Identity “\folder_name” –User “user_name” –AccessRights DeleteAllItems

    143-4
    Fig. 4. Granting permissions from Exchange Management Shell.

  4. Repeat the procedure for all public folders synchronized used by CodeTwo Exchange Sync.

You can also grant the permissions to edit and delete for the root folder in Public Folders. To do this, type the following commands:

Add-PublicFolderClientPermission –Identity “\” –User “user_name” –AccessRights EditAllItems

and

Add-PublicFolderClientPermission –Identity “\” –User “user_name” –AccessRights DeleteAllItems

143-5 
Fig. 5. Granting permissions from Exchange Management Shell.

See also:

  • Applies to: CodeTwo Exchange Sync
  • Categories: Troubleshooting
  • Last modified: 2015-12-30
  • Created: 2010-05-24
  • ID: 143
  • Keywords: Exchange Sync, grant permissions to Public Folders, Public Folders access rights, syncing with public folders
Our Clients:
Unicef
Facebook
Shell
T-Systems
Loreal
Casio
UPS Israel
Oford University
Mitsubishi Motors
Toshiba TEC UK Imaging Systems Ltd
Illinois Institute of Technology
MAN Diesel
McDonalds India
Skoda Auto
Bank of Israel
Fujifilm
China Mobile
Santander
Samsung SDI
Skanska
Generali
Telmex
Toyota Tsusho
BECHTEL
Ricoh
BAE SYSTEMS
Federação Portuguesa de Futebol
Credit Agricole
HYUNDAI
Rothschild
Toyota Boshoku
Oriflame Romania
ING
Ikea
Nordea

Partners, certificates & awards