Resolution

OWKO (OtherWellKnownObjects) values of AD object can be added, modified or removed using a request to the Provisioning System used by Parallels Operations Automation. You can use the utility ProvTest.exe on a MPS (Microsoft Provisioning System) server, or WPETest.exe on a WPE (Windows Provisioning Engine) server to submit an XML request to the Provisioning System.

For example, use commands like the ones below in 'cmd':

  • MPS server:

    > "C:\Program Files\Microsoft Proisioning\Tools\ProvTest.exe" request.xml
    
  • WPE server:

    • POA 5.4.0 and below:

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

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

Notes:

  • Replace WPE_SITE_IP with the IP address of the WPE server
  • Replace 48480 with the actual IP port of the WPE service website (48480 is the default port)
  • Replace request.xml with the full path to the prepared XML file with the request

Example of the request to add OWKO to the AD object with Distinguished Name "CN=S001000002 OAL,CN=Offline Address Lists,CN=Address Lists Container,CN=hosting,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=hosting,DC=local" - addowko.xml:

<request>
<data>
<preferredDomainController>ad02.hosting.local</preferredDomainController>
<path>LDAP://OU=S001000002,OU=Provider,OU=Hosting,DC=hosting,DC=local</path>
<properties>
  <property name="otherWellKnownObjects" mode="append">
    <value>B:32:D22DFCC5B73645E99E16C9AD3D61F34F:CN=S001000002 OAL,CN=Offline Address Lists,CN=Address Lists Container,CN=hosting,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=hosting,DC=local</value>
  </property>
</properties>
</data>
<procedure>
  <execute namespace="SW Managed Active Directory" procedure="SetProperties" impersonate="1">
    <executeData />
    <before source="data" destination="executeData" mode="merge" />
    <after source="executeData" destination="data" mode="merge" />
  </execute>
</procedure>
</request>

Example of the request to remove OWKO - removewko.xml:

<request>
<data>
<preferredDomainController>ad02.hosting.local</preferredDomainController>
<path>LDAP://OU=S001000002,OU=Provider,OU=Hosting,DC=hosting,DC=local</path>
<properties>
  <property name="otherWellKnownObjects" mode="delete">
    <value>B:32:D22DFCC5B73645E99E16C9AD3D61F34F:CN=S001000002 OAL,CN=Offline Address Lists,CN=Address Lists Container,CN=hosting,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=hosting,DC=local</value>
  </property>
</properties>
</data>
<procedure>
  <execute namespace="SW Managed Active Directory" procedure="SetProperties" impersonate="1">
    <executeData />
    <before source="data" destination="executeData" mode="merge" />
    <after source="executeData" destination="data" mode="merge" />
  </execute>
</procedure>
</request>

Examples of the XML requests to add and remove OWKO are attached to this article.

Attachments

add-remove-OWKO.zip

Internal content