Article ID: 10015, created on Mar 3, 2011, last review on Sep 10, 2014

  • Applies to:
  • Operations Automation

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

Search Words

address book policy not assigned to a subscription

otherWellKnownObjects

Provisioning request failed. Unknown error 0x80131600 [<response><errorContext description="The OfflineAddressBook associated with the OwningOrganization must be deleted prior to deleting the AddressList

Create user "There is no such object on the server"

Unspecified error while trying to mail-enable a mail-disabled object

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF