Share via


Exchange 2007 Provider::RepairExchangeObject

This method resets OtherWellKnownObject valuesand AddressLists for an Active Directory object.

Arguments

Input Arguments Required Description

<owningOrganization>

No

This parameter specifies the path of the hosted organization that contains the address list (AL), global address list (GAL), and offline address book (OAB) as well-known-objects. By default it is the Lightweight directory access protocol (LDAP) parent container of the object.

<path>

Yes

This parameter specifies the LDAP path of the user, group, or contact.

<preferredDomainController>

Yes

The domain controller to use for Active Directory actions.

Remarks

Rollback Method: Not implemented

Security

The caller must be at least a member of role: OrgCreators.

Sample Code

Example XML Request

<request> 
  <data> 
    <!--The domain controller to use for Active Directory actions.--> 
    <preferredDomainController>AD01.Fabrikam.Com</preferredDomainController> 
    <!--Specifies the LDAP path of the user, group, or contact.--> 
    <path>LDAP://CN=johnc@alpineskihouse.com,OU=AlpineSkiHouse,OU=ConsolidatedMessenger,OU=Hosting,DC=Fabrikam,DC=Com</path> 
    <!--Specifies the path of the hosted organization that contains the AL, GAL, and OAB as other-well-known-objects.  By default it is the LDAP parent container of the object.--> 
    <owningOrganization>LDAP://OU=AlpineSkiHouse,OU=ConsolidatedMessenger,OU=Hosting,DC=Fabrikam,DC=Com</owningOrganization> 
  </data> 
  <procedure> 
    <execute namespace="Exchange 2007 Provider" procedure="RepairExchangeObject" impersonate="1"> 
      <before source="data" sourcePath="preferredDomainController" destination="executeData" mode="move" /> 
      <before source="data" sourcePath="path" destination="executeData" mode="move" /> 
      <before source="data" sourcePath="owningOrganization" destination="executeData" mode="move" /> 
      <after source="executeData" destination="data" mode="merge" /> 
    </execute> 
  </procedure> 
</request> 

Applies To

Exchange 2007 Provider Namespace for:

  • Hosted Messaging and Collaboration version 4.5

  • Hosted Messaging and Collaboration version 4.0

See also

Tasks

Managed Email 2007::DeleteSMTPDomain
Hosted Email 2007::DeleteSMTPDomain
Hosted Email 2007::CreateConsumerVanityDomain
Hosted Email 2007::GetOrganizationDomains