Search Engine: Elastic

Article ID: 129872, created on Nov 17, 2016, last review on Jul 14, 2018

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


It is not possible to:

  • delete a domain
  • remove mail hosting from a domain

in an Exchange subscription, in case it contains too many mailboxes.

The following error is shown in the Control Panel:

An unforeseen error occurred. Please contact 


The domain contains Exchange mail hosting and it is associated with a big amount of mailboxes. Upon removal, the system needs to update all mailbox APS resources and exclude the removed alias from them. This operation is the bottleneck, as it cannot be done in bulk. Finally, the domain removal hits the 5-minute transaction timeout of OSA core. The limitation is acknowledged under ID POA-81859.


In order to workaround the limitation:

  1. Download script to OA Management Node.
  2. Run the script with the parameters:

    # python --subscription 10000001 --domain

    where is the domain to be deleted

  3. Wait for 'Updating addresses of mailbox 'XXXXX' (id=NNN)' tasks completion.
  4. Delete the domain again in Control Panel.

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

Email subscription for changes to this article
Save as PDF