Search Engine: Elastic

Article ID: 129967, created on Dec 6, 2016, last review on Dec 6, 2016

  • Applies to:
  • Operations Automation 7.0
  • Operations Automation 6.0


Office 365 domain removal task fails with the error:

APS Application Error: 
500 Internal Server Error
[ApplicationUnknownError] Unprovisioning: resource f2aeaa42-7418-4952-abe4-4685df43eb97 of type 'office365domains' ( for APS application 'Office 365-16.6-43': Unable to remove this domain. Use Get-MsolUser DomainName <domain name> to retrieve a list of objects that are blocking removal. (Microsoft.Online.Administration.Automation.DomainNotEmptyException,Microsoft.Online.Administration.Automation.RemoveDomain).

Trying to create the domain again in CCP with internal DNS hosting gives the error:

Failed to create APS link


There is an active Office 365 subscription with services assigned to this domain.


Two solutions are possible:

  1. Find and remove the subscription, using the domain.
  2. In case the Office 365 subscription should remain, and the domain was canceled by mistake, contact Odin Technical Support to apply a workaround and recreate the domain.

0871c0b47b3b86ae3b1af4c2942cd0ce caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 5356b422f65bdad1c3e9edca5d74a1ae 1941880841f714e458ae4dc3d9f3062d 956c448bddc7e1f3585373687602379f 6f1456866eed87488c0f02b298a741c0

Email subscription for changes to this article
Save as PDF