Hosted Exchange::CreateOrganizationAddressLists

Creates a Global Address, Address, and Offline Address lists for a specified organization. Procedure is called by ExchangeEnableOrganization.

  • AllUsers@<OrgName> and Admins@<OrgName> are given readaccess to the address lists

  • Address list naming convention:

    • <OrgName> GAL

    • <OrgName> AL

    • <OrgName> OAL

Arguments

Input argument Required Description

<path>

Yes

The Lightweight Directory Access Protocol (LDAP) path of the organization.

<STMPDomain>

Yes

STMP Domain of the organization.

<preferredDomainController>

Yes

Remarks

Provisioning Steps

  1. Managed Active Directory::TestPermissions_ - Tested UserCreator role.

  2. Hosted Exchange::CreateAddressLists_ - Creates a GAL, AL, and OAL.

  3. Hosted Exchange::LogEventRecord_ - Log an event of AddressListsCreated type.

  4. Hosted Exchange::ShowOrgUsersInAddressLists_ - Sets the showInAddressBook and msExchUseOAB properties for each existing user in the org. This allows the users to visible in the address lists.

Security

  • Impersonate caller.

  • Caller tested for Org Creator role.

Sample Code

Example XML Request

<request> 
        <procedure> 
                <execute  namespace="Hosted Exchange" procedure="CreateOrganizationAddressLists" impersonate="1"> 
                         <executeData> 
                                <path>LDAP://OU=alpineskihouse,OU=WH,OU=HOSTING,DC=fabrikam,DC=COM</path> 
                                <SMTPDomain>alpineskihouse.com</SMTPDomain>  
                                <preferredDomainController>AD01.fabrikam.com</preferredDomainController> 
                        </executeData>     
                        <after source="executeData" destination="data" mode="merge"/> 
                 </execute> 
        </procedure> 
</request>

Example XML Response

No example XML response.

Applies To

Hosted Exchange Namespace API for:

  • Hosted Messaging and Collaboration version 3.5

  • Hosted Messaging and Collaboration version 3.0

See also

Tasks

Hosted Exchange::ExchangeEnableOrganization