Exchange Integration error after patching installation

Suggested

Hi all, i'm trying to restore an existing integration after upgrading with a patched version. But i have these errors for all synchronized mailboxes

DEBUG [SyncEngine thread]: [27-mars-2025 12:08:25.074] START - SynchronisationThread.run
DEBUG [SyncEngine thread]: [27-mars-2025 12:08:28.101] retryEWSAdvice() started.
DEBUG [SyncEngine thread]: [27-mars-2025 12:08:28.101] executed method : init
DEBUG [SyncEngine thread]: [27-mars-2025 12:08:28.103] Set accessToken - Thu Mar 27 12:08:28 CET 2025
DEBUG [SyncEngine thread]: [27-mars-2025 12:08:28.228] (f667233d-0ab5-4448-9c9f-eb54ef860309) xxxx xxxx<[email protected]>
DEBUG [SyncEngine thread]: [27-mars-2025 12:08:28.228] retryEWSAdvice(init) end(0).
DEBUG [SyncEngine thread]: [27-mars-2025 12:08:28.259] retryEWSAdvice() started.
DEBUG [SyncEngine thread]: [27-mars-2025 12:08:28.260] executed method : getGraphClient
DEBUG [SyncEngine thread]: [27-mars-2025 12:08:28.260] retryEWSAdvice(getGraphClient) end(0).
DEBUG [SyncEngine thread]: [27-mars-2025 12:08:28.260] Source Sync [email protected] - CALENDAR
DEBUG [SyncEngine thread]: [27-mars-2025 12:08:28.394] syncKey not found
DEBUG [SyncEngine thread]: [27-mars-2025 12:08:28.394] retryEWSAdvice() started.
DEBUG [SyncEngine thread]: [27-mars-2025 12:08:28.394] executed method : setImpersonatedUser
DEBUG [SyncEngine thread]: [27-mars-2025 12:08:28.395] retryEWSAdvice(setImpersonatedUser) end(0).
DEBUG [SyncEngine thread]: [27-mars-2025 12:08:28.395] retryEWSAdvice() started.
DEBUG [SyncEngine thread]: [27-mars-2025 12:08:28.395] executed method : syncFolderItems
ERROR [SyncEngine thread]: [27-mars-2025 12:08:28.775] com.sage.scrm.syncengine.exchange.ews.service.error.SageDetailedExchangeServiceException: Parsed Exchange Exception:
Main exception string: Mailbox does not exist.

Exception code: ErrorNonExistentMailbox

Impersonated user: [email protected]

I doubled check permissions and application settings

Did i miss something ?

Readme says every user need to connect to their Exchange Online account by connecting to email account in preferences. It is also mandatory for synchronizing Apointments ?

Thank you !

Parents
  • 0

    I am getting the same error.  Sync with the authentication mailbox works, but when you add additional mailboxes we get the same "syncKey not found" message.  Case opened with SageCRM support.  They are looking at it.

  • 0 in reply to Don Grubor

    Same here, also logged with Sage support

  • 0 in reply to Matthew Shaw

    I'm also seeing an error with one of our clients which looks very similar to this.  Sage (UK) tech support have suggested:

    Any users that wish to synchronise with exchange integration must complete the following steps in order to be successful:
    1. Logout of their Microsoft Exchange account
    2. Clear the browser cache by selecting ALL TIME
    3. Login to Sage CRM
    4. Go to | Preferences
    5. Select Connect to Email Account or Switch Email Account
    6. Enter the email account details when prompted and validate if required
    7. Click Continue
    Then once this has been completed the system administrator user can then add these users to the synchronisation by going to - Administrator – Email and Documents – Exchange Integration – Connection Management – User Mailbox Management. From here, anyone that has complete the steps above can be added.
    You will then need to go to - Administrator – Email and Documents – Exchange Integration – Synchronisation Management and you can enable to the synchronisation with the required settings.

    Previously the Exchange sync was purely server side and did not involve any end user interaction, which was a far better way to manage this.  With the removal of ApplicationImpersonation I'm assuming that this is no longer possible, but if were possible to go back to not having to rely on users configuring their Email Account in their preferences this would be a far better solution. 

Reply
  • 0 in reply to Matthew Shaw

    I'm also seeing an error with one of our clients which looks very similar to this.  Sage (UK) tech support have suggested:

    Any users that wish to synchronise with exchange integration must complete the following steps in order to be successful:
    1. Logout of their Microsoft Exchange account
    2. Clear the browser cache by selecting ALL TIME
    3. Login to Sage CRM
    4. Go to | Preferences
    5. Select Connect to Email Account or Switch Email Account
    6. Enter the email account details when prompted and validate if required
    7. Click Continue
    Then once this has been completed the system administrator user can then add these users to the synchronisation by going to - Administrator – Email and Documents – Exchange Integration – Connection Management – User Mailbox Management. From here, anyone that has complete the steps above can be added.
    You will then need to go to - Administrator – Email and Documents – Exchange Integration – Synchronisation Management and you can enable to the synchronisation with the required settings.

    Previously the Exchange sync was purely server side and did not involve any end user interaction, which was a far better way to manage this.  With the removal of ApplicationImpersonation I'm assuming that this is no longer possible, but if were possible to go back to not having to rely on users configuring their Email Account in their preferences this would be a far better solution. 

Children