Symptoms
Office365 (APS 1.2) executing configuration script
task fails with the following output:
Method add_user calling failed. Reason:DomainNotOwnedFault Method: AddUser
Cause
Customer is trying to add service user wrong domain. Possible reasons:
- Domain is not verified;
- Domain belongs to another subscription or customer account;
- Incorrect UPN;
Resolution
Check that domain is verified on the MOP side:
Get-MsolDomain -tenantid (Get-MsolPartnerContract -DomainName example-domain.com).TenantId | fl
Check this domain belongs to subscription, task is related to:
CCP > Microsoft Office365 (tab) > Configuration > Domains
- Reschedule the task with correct domain part.