Search Engine: Elastic

Article ID: 128408, created on Feb 21, 2016, last review on Feb 21, 2016

  • Applies to:
  • Operations Automation 5.5


While removing branding of reseller OA background task Remove Exchange branding fails as below:

Queue name  ExchangeHostConfig1234
Task name   Remove Exchange branding (host: 1234; brand: 13; service: ExchProtocols)
Task description    Remove Exchange branding (host: 1234; brand: 13; service: ExchProtocols)
Belongs to groups   13-49730301:1430121369:BrandRemoved
Queue status    Failed
Start not earlier than  May-19-2015 11:55
Method name removeBrandingHandler on SCREF:Exchange:0
Last execution output   
Command ("%SystemRoot%\Sysnative\cscript.exe" //Nologo "C:\Program Files (x86)\SWsoft\PEM\bin\ConfigureExchnageProtocolsService_copy.vbs" RemoveBrandingSite CAS02 1310 "C:\Program Files (x86)\SWsoft\PEM") failed to execute on host 1234 with code 1: 
Rpc virtual directory removed 
OWA virtual directories removed 
Ecp virtual directories removed 
Active Sync virtual directory removed 
EWS virtual directory removed 
Command 'Remove-OABVirtualDirectory -Confirm:$False -Identity 'CAS02\OAB ('' failed.(ErrCode: 0x1)


During brand removal for Exchange OA executes standard Exchange cmdlets to perform actual operations. In this case execution of cmdlet Remove-OABVirtualDirectory fails due to some reason.


In order to identify the exact reason, login to CAS server and run the same cmdlet:

[PS] C:\Windows\system32>Remove-OABVirtualDirectory -Confirm:$False -Identity 'CAS01\OAB ('.

Output can be the following:

The offline address book virtual directory "CAS01\OAB (OAB001)" still holds the following offline address books "S001033950 OAL". You need to designate another offline address book virtual directory for those offline address books. Do you still want to remove this offline address book?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [?] Help (default is "Y"): Y 

In this example, it fails because it holds OAB. Confirm OAB removal and process task after that.

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 5b048d9bddf8048a00aba7e0bdadef37 2554725ed606193dd9bbce21365bed4e

Email subscription for changes to this article
Save as PDF