Symptoms

Office365 related task fails with the error as below:

Task name   APS application 'Microsoft Office 365', id 103, instance 61 -> service 'customer', instance 103: executing configuration script
Subscription ID <SUB_ID>
Last execution output   Internal error: Plesk::EnvironmentHosting::handleSettingsReturnedInScriptExecutionOutput : Invalid values returned by script for settings of service instance with id 103: Invalid value passed for setting 'customer_id': The "Microsoft internal customer ID" setting value '<CUSTOMER_ID>' is already in use. Please provide unique value..

Cause

The error message means that such customer ID is already occupied on Microsoft side and can not be used.

Resolution

You may cancel the task, then remove O365 service from the subscription <SUB_ID> and then order O365 service on subscription anew from scratch in order to let the system to generate a completely new customer ID.

If such approach is not suitable in your case (e.g. the existing services contain valuable configuration/settings), please contact Microsoft to clarify why the customer ID <CUSTOMER_ID> is already in use on their side.

Internal content