Article ID: 117229, created on Sep 13, 2013, last review on Sep 5, 2016

  • Applies to:
  • Operations Automation
  • Business Automation 6.0

Symptoms

Office 365 synchronization script fails with the following error:

User with login 'user1@domain.tld' already exists. 

The following entries are present in the synchronization log:

2013-09-09 15:51:08,723 DEBUG   Subscription <SUB_ID>: going to add new user with login 'user1@domain.tld'
2013-09-09 15:51:09,465 ERROR   Subscription <SUB_ID>: error by updating: Error during OpenAPI call: User with login 'user1@domain.tld' already exists.  

Cause

This issue is caused by the fact that a task to create this user was previously canceled. The entries in the POA database were created, however, MOSI Gateway DB was not changed. Check the canceled tasks for tasks in queue aps_application_instance[O365_INSTANCE_ID] and word 'user'.

Resolution

Find and process the canceled tasks related to the user in question.

Also, check if such user name is already in use under another account:

PCP > BA > System > Users

Search Words

office 365 failed task - User with login 'admin@XXXXXX.onmicrosoft.com' already exists.

already exists

unable to create new mailbox

Office365 license useage incorrect

office 365 sync script failure

Order success but it should have failed

Error during OpenAPI call

User with login already exists.

ExSystem: User with login

script not working fine

caea8340e2d186a540518d08602aa065 5356b422f65bdad1c3e9edca5d74a1ae e12cea1d47a3125d335d68e6d4e15e07 198398b282069eaf2d94a6af87dcb3ff 3627d36199b8ff577605df76e2fa222b bb7e9177fb03488961a3ea554120f328

Email subscription for changes to this article
Save as PDF