Exchange sync fails with ErrorInvalidSyncStateData
Exchange sync fails for certain users with the following error:
Function: Changepoint.Synchronization.Exchange.SyncFolderItemsWithChange
Response: ErrorInvalidSyncStateData
The error indicates that the value in ExchangeSyncState column in table ResourceExtension is no longer valid. There may be various reasons for this error, such as recreating the user account.
To clear the invalid data:
- Stop the Exchange sync service.
- Execute the following statement for clearing up the field for the particular user account:
UPDATE ResourceExtension SET ExchangeSyncState = '' WHERE resourceid = '...[use the ResourceID of the user]...' - Restart the sync service and wait until the sync service runs at least twice .