Initializing Active Directory for hosting by using XML

You can use the InitializeADforHosting procedure of the Managed Hosting namespace to create a Hosting organizational unit at the top level of the domain and remove the AuthenticatedUsers access control entry (ACE) from every top-level object of the domain.

This procedure expects to be called with impersonate="1". The procedure impersonates the caller.

Important

Example of a request that calls the InitializeADforHosting procedure

<request>
  <procedure>
	<execute namespace="Managed Hosting" procedure="InitializeADforHosting">
	<executeData>
		<preferredDomainController>myPrimaryDC.contoso.com</preferredDomainController>
		<name>Hosting1</name>
	</executeData>
	</execute>
  </procedure>
</request>

Input for InitializeADforHosting

The following input is valid for this request:

Typical response for InitializeADforHosting

The response to this procedure does not contain significant data.

Important