Symptoms

During an Exchange subscription provisioning, Create Offline Address Book for domain service NNN task fails with the output:

Exception calling "Execute" with "3" argument(s): "The Address Book Policy cannot be created because the Rooms Address List of the organization 'LDAP://OU=S001231231,OU=Provider,OU=Hosting,DC=correo,DC=local' does not exist."

The failure coincides with primary DC switch and previous DC reboot.

This can be additionally provide by searching for the executed Powershell cmdlets for the affected subscription in WPE log:

  • New-AddressList call executed during Provide Exchange hosting task:

    INFO    2017-02-15 04:04:02 (840/4504): Prepare for invoke PowerShell2 command 'New-AddressList -Name "S001231231 ROOMS" -DomainController DC01.provider.local -RecipientFilter "((CustomAttribute10 -eq 'S001231231' -and Alias -ne $null) -and ((RecipientDisplayType -eq 'ConferenceRoomMailbox') -or (RecipientDisplayType -eq 'SyncedConferenceRoomMailbox')))"'...
    
  • New-OfflineAddressBook call executed during Create Offline Address Book task:

    INFO    2017-02-15 04:04:05 (840/4032): Prepare for invoke PowerShell2 command 'New-OfflineAddressBook -Name "S001231231 OAL" -DomainController DC02.provider.local -AddressLists "CN=S001231231 AL,CN=All Address Lists,CN=Address Lists Container,CN=HostedExchange,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=correo,DC=local" -GlobalWebDistributionEnabled True -PublicFolderDistributionEnabled False -Server MBX01'...
    

From the logs above it can be seen that primary Domain Controller, used by OSA for new objectes, was changed from DC01 to DC02 and therefore passed as an argument to the calls.

Cause

OWKO attribute is missing for the subscription ROOMS address list - the default Exchange object, created during OSA Hosted Exchange subscription provisioning. The attribute was not added as a result of manual actions with Domain Controller, interrupting the provisioning operations.

See the following KB article for additional details about OWKO:

How to get OWKO of Active Directory object

Resolution

Since such subscription provisioning did not complete successfully, it is highly recommended to re-initiate it:

  1. Set the Exchange resource type limit to 0.
  2. Wait for the tasks to get completed.
  3. Set the Exchange resource type limit to 1 again.
  4. Wait for the tasks to get completed.

In case the subscription already has existing mailboxes that cannot be removed, use the following KB article to recreate the OWKO entry for ROOMS address list:

How to edit OWKO of AD object: add/remove data by MPS or WPE call

OWKO UUIDs used for AD objects are default, so the typical entry would look like:

5CA85AC057A0459194F8B75DA2D35D35:CN=S001231231 ROOMS,CN=All Address Lists,CN=Address Lists Container,CN=HostedExchange,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=correo,DC=local

Internal content