Article ID: 114238, created on Jun 28, 2012, last review on Aug 12, 2014

  • Applies to:
  • Operations Automation 5.4

Symptoms

Parallels Operations Automation (POA) task Create Offline Address Book fails with an error message saying that the Rooms Address List for the Exchange organization is absent. The detailed diagnostics are provided below:Task ID                 869
Queue name              DomainService0026
Task name               Create Offline Address Book for domain service 26
Task description        Create Offline Address Book for domain service 26
Subscription ID         1000001
Queue status            Failed
Start not earlier than  Jun-27-2012 10:07
Method name             createOABHandler on OBJREF:Exchange:0:getDomainService:261200
Last execution output
Provisioning request failed. Error in 'SW Managed Exchange.CreateAddressBookPolicy'.
Exception calling "Execute" with "3" argument(s): "Unable to create Address Book Policy because Rooms Address List for organization 'OU=S001040887,OU=R0001018996,OU=Hosting,DC=hosting,DC=local' is absent"

Error position:
At C:\Program Files\Parallels\Windows Provisioning Engine\Providers\Common\ProviderUtils\ProviderUtils.psm1:53 char:26
+ [void]$Context.Execute <<<< ($Provider, $Method, $exec_data)

Type: Parallels.Wpe.PowerShell.PowerShellException.

Cause

The Rooms Address List for the Exchange Organization is absent.

Resolution

The problem is fixed in POA 5.4 Update 2; upgrade POA to this version to solve the problem.

In the meantime, the problem may be worked around -- create the Rooms Address List manually by making the following XML request to the Windows Provisioning Engine (WPE) server:<request xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <data>
    <remoteAccess>
      <password>%PASSWORD%</password>
      <server>%MAILBOX_SERVER_NAME%</server>
      <user>%DOMAIN_NETBIOS_NAME%\pem_admin</user>
    </remoteAccess>
  </data>
  <procedure>
    <execute impersonate="1" namespace="SW Managed Exchange" procedure="CreateRoomsAddressList">
      <after destination="data" destinationPath="log" source="executeData"/>
      <executeData>
        <preferredDomainController>%PREFERRED_DC%</preferredDomainController>
        <name>%ORGANIZATION_NAME%</name>
        <okIfExist>true</okIfExist>
        <path>%ORGANIZATION_LDAP_PATH%</path>
        <readAccess>%LDAP_PATH_OF_PEM_ADMIN%</readAccess>
        <readAccess>%LDAP_PATH_OF_ORGANIZATION_GROUP%</readAccess>
      </executeData>
      <before destination="executeData" ifNull="ignore" source="data" sourcePath="remoteAccess"/>
    </execute>
  </procedure>
</request>

Replace all parameters like "%XXXX%" with the correct values.

An example of the request:<request xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <data>
    <remoteAccess>
      <password>$ecretC0d3</password>
      <server>EXMBX01</server>
      <user>HOSTING\pem_admin</user>
    </remoteAccess>
  </data>
  <procedure>
    <execute impersonate="1" namespace="SW Managed Exchange" procedure="CreateRoomsAddressList">
      <after destination="data" destinationPath="log" source="executeData"/>
      <executeData>
        <preferredDomainController>AD01.hosting.local</preferredDomainController>
        <name>Customer Inc</name>
        <okIfExist>true</okIfExist>
        <path>LDAP://OU=Customer Inc,OU=Provider,OU=Hosting,DC=hosting,DC=local</path>
        <readAccess>LDAP://CN=pem_admin,CN=Users,DC=hosting,DC=local</readAccess>
        <readAccess>LDAP://CN=eg00000101,OU=Customer Inc,OU=Provider,OU=Hosting,DC=hosting,DC=local</readAccess>
      </executeData>
      <before destination="executeData" ifNull="ignore" source="data" sourcePath="remoteAccess"/>
    </execute>
  </procedure>
</request>


Perform the following actions to send the request to the WPE server:
  • Log in to the WPE server by RDP.
  • Create the text file request.xml and put the contents of the request into the file.
  • Run the following command with the cmd tool:

"C:\Program Files\Parallels\Windows Provisioning Engine\bin\WPETest.exe" -e http://WPE_SITE_IP:48480/WPEService.asmx request.xml

Replace WPE_SITE_IP with the correct IP address of the WPE service. It may be found in the properties of the POA package WindowsProvisioningEngine installed on the WPE server.

Note: The following error messages produced by WPETest.exe may be safely ignored if the corresponding Rooms Address List was created:
ERROR: Request execution is failed
ERROR: Exception message: The configuration section for Logging cannot be found in the configuration source.


ac82ce33439a9c1feec4ff4f2f638899 caea8340e2d186a540518d08602aa065 5356b422f65bdad1c3e9edca5d74a1ae 2554725ed606193dd9bbce21365bed4e e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF