Search Engine: Elastic

Article ID: 128933, created on Jun 9, 2016, last review on Sep 12, 2017

  • Applies to:
  • Operations Automation 6.0
  • Business Automation 6.0


On attempt to synchronize Office365(v.16.5 or earlier) subscription in CCP, the following error appears:

  "code": 500,
  "message": "The Account is locked. Please try again later.",
  "additionalNonlocalizableMessage": "

The following error appeared in the sitelog on the MOSI gateway server:

2016-05-30 00:11:38,307 [  38] DEBUG aps_endpoint: Sync of user failed: System.Data.SqlClient.SqlException (0x80131904): String or binary data would be truncated.


There are two possible cases - with mentioned error in sitelog and without it.

  1. In case there is no meaningful error in sitelog, you simply faced the following scenario: Subscription synchronization started, Office365 Endpoint accepted the sync request and start the procedure. This time, account is locked in O365 DB to prevent several simultaneous synchronizations. Then, for some reason, UI session was dropped, you tried to launch sync once again, but with no luck: previous sync did not finish yet. In that case, such behavior is expected. Wait for synchronization completed.

  2. You can observe the error in sitelog. In that case you faced software-related issue #APSA-14006: "Synchronization fails if user specified country that is not in hard-coded list of countries".


Software-related issue #APSA-14006 has been fixed in Office365 v.16.5 APS package version. Please, update the Office365 package up to the latest version, according to the Office 365 Integration Release Notes.

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 956c448bddc7e1f3585373687602379f 6f1456866eed87488c0f02b298a741c0 198398b282069eaf2d94a6af87dcb3ff 3627d36199b8ff577605df76e2fa222b bb7e9177fb03488961a3ea554120f328

Email subscription for changes to this article
Save as PDF