Article ID: 124473, created on Feb 15, 2015, last review on Feb 15, 2015

  • Applies to:
  • Operations Automation 5.5
  • Business Automation 5.4


O365 Sync script fails on adding a new user and assigning a license to him.

In sync log:

DEBUG   Subscription 1001808: going to add new user with login ''

DEBUG   Subscription 1001808: user added

DEBUG   Subscription 1001808: going to add Office365 service Microsoft Office365 (Plan E3) for user

ERROR   Subscription 1001808: error by updating: Error during OpenAPI call: Limit for resource 'Microsoft Office365 (Plan E3)' in subscription exceeded, current limit is 290.


In MOP 'Microsoft Office365 (Plan E3)'(in this example) license was removed from an existing user and then assigned to the new user. But in POA this original user still has this license assigned.


  1. Find the user which has no license in MOP, but does have the license assigned in POA CCP.

  2. Unassign the license in question from this user via POA CCP (make sure corresponding POA tasks completed successfully);

  3. Repeat subscription synchronization via synchronization script. It should then complete without errors.

The handling of such situations was implemented in scope of APSA-9853 in Office 4.15

Search Words

sharepoint storage failure

Subscriptions with invalid limits

Limit for resource in subscription exceeded

script not working fine

Sync script fails

5b048d9bddf8048a00aba7e0bdadef37 caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 5356b422f65bdad1c3e9edca5d74a1ae 2554725ed606193dd9bbce21365bed4e 198398b282069eaf2d94a6af87dcb3ff 210d017ddc3a076d22f0f865b1cf0730 92711db0799e8aefe8e51f12dace0496

Email subscription for changes to this article
Save as PDF