Exchange 2013 - cannot download offline address book

Jack Chuong 856 Reputation points
2021-03-11T03:19:17.707+00:00

Hi all, My environment : 3 Exchange 2013 servers (Mailbox + CAS roles) CU23 in 1 DAG
Last week, after applied security update KB5000871 , MS Outlook cannot download offline address book anymore, users get error "8004010F". Global address book is ok, so new created users can be found when using OWA , cannot be found when using MS Outlook.
Test-Email AutoConfiguration doesn't show OAB in result

76571-1.png

I look into OAB virtual directory (in ECP) and see that "External Url" is empty , I filled "External Url", should I restart IIS to make it effect ?

Get-OfflineAddressBook | fl  
  
  
RunspaceId                       : 9340cbfd-0d61-41f5-b6bb-582269ad7a88  
Server                           :  
GeneratingMailbox                : mydomain.com/Users/SystemMailbox{bb558c35-97f1-4cb9-8ff7-d53741dc928c}  
AddressLists                     : {\Default Global Address List}  
Versions                         : {Version4}  
IsDefault                        : True  
PublicFolderDatabase             :  
PublicFolderDistributionEnabled  : False  
GlobalWebDistributionEnabled     : False  
WebDistributionEnabled           : True  
ShadowMailboxDistributionEnabled : False  
LastTouchedTime                  : 3/11/2021 2:44:47 AM  
LastRequestedTime                :  
LastFailedTime                   :  
LastNumberOfRecords              : 1693  
LastGeneratingData               : MailboxGuid: 06796656-9c16-4fa8-8b33-a3b06b770a60; DatabaseGuid:  
                                   72ba4b24-0ef1-4e32-b395-4be833144954; Server: ex.mydomain.com  
MaxBinaryPropertySize            : 32768  
MaxMultivaluedBinaryPropertySize : 65536  
MaxStringPropertySize            : 3400  
MaxMultivaluedStringPropertySize : 65536  
ConfiguredAttributes             : {OfficeLocation, ANR, ProxyAddresses, ANR, PhoneticGivenName, ANR, GivenName, ANR,  
                                   PhoneticSurname, ANR, Surname, ANR, Account, ANR, PhoneticDisplayName, ANR,  
                                   DisplayNameUnicode, ANR, ExternalMemberCount, Value, TotalMemberCount, Value,  
                                   ModerationEnabled, Value, DelivContLength, Value, MailTipTranslations, Value,  
                                   ObjectGuid, Value, IsOrganizational, Value...}  
DiffRetentionPeriod              : 30  
Schedule                         : {Sun.5:00 AM-Sun.5:15 AM, Mon.5:00 AM-Mon.5:15 AM, Tue.5:00 AM-Tue.5:15 AM,  
                                   Wed.5:00 AM-Wed.5:15 AM, Thu.5:00 AM-Thu.5:15 AM, Fri.5:00 AM-Fri.5:15 AM, Sat.5:00  
                                   AM-Sat.5:15 AM}  
VirtualDirectories               : {ex\OAB (Exchange Back End)}  
AdminDisplayName                 :  
Identity                         : \Default Offline Address Book  
IsValid                          : True  
ExchangeVersion                  : 0.20 (15.0.0.0)  
Name                             : Default Offline Address Book  
DistinguishedName                : CN=Default Offline Address Book,CN=Offline Address Lists,CN=Address Lists  
                                   Container,CN=First Organization,CN=Microsoft  
                                   Exchange,CN=Services,CN=Configuration,DC=mydomain,DC=com  
Guid                             : 650a2e7c-5e15-439b-bba4-848d83976b9e  
ObjectCategory                   : mydomain.com/Configuration/Schema/ms-Exch-OAB  
ObjectClass                      : {top, msExchOAB}  
WhenChanged                      : 3/11/2021 2:44:46 AM  
WhenCreated                      : 3/19/2013 2:56:20 PM  
WhenChangedUTC                   : 3/10/2021 7:44:46 PM  
WhenCreatedUTC                   : 3/19/2013 7:56:20 AM  
OrganizationId                   :  
Id                               : \Default Offline Address Book  
OriginatingServer                : dc.mydomain.com  
ObjectState                      : Unchanged  

I did some search and found some guide said that "GlobalWebDistributionEnabled" , "WebDistributionEnabled" should be set to True and "VirtualDirectories" should be said to null. Should I do this ?

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,326 questions
0 comments No comments
{count} votes

Accepted answer
  1. Lucas Liu-MSFT 6,161 Reputation points
    2021-03-12T02:59:46.313+00:00

    Hi @Jack Chuong ,
    According to my research:
    1.Please try to re-create a outlook profile for the user's mailbox in question.

    2.Regarding the parameters you mentioned:

    1. About the “GlobalWebDistributionEnabled” parameter is $false by default. But in Exchange 2013 CU7 or later, Microsoft recommend that you use the value $true for this parameter. The Client Access services on any Mailbox server can proxy incoming OAB download requests to the correct location.

    2) About the “VirtualDirectories” parameter, In Exchange 2013 CU7 or later, Microsoft recommend that you set this parameter to $null, and then set the GlobalWebDistributionEnabled parameter to $true. Please noted that to use this parameter, the value of the “GlobalWebDistributionEnabled” parameter must be &false.

    3) After changing the parameters, please run the iisreset in the Run start as Administraotr to restart the IIS.

    4) To prevent wrong changes, please back up your current settings before making changes.
    For more information about these parameters, you could refer to: Set-OfflineAddressBook

    3.Please run the following command to generation of OAB, then check whether the OAB generation is normal under the path %ExchangeInstallPath%\ClientAccess\OAB\<ObjectGuid> file.

    Get-OfflineAddressBook | Update-OfflineAddressBook  
    

    In addition, after the OAB download fails, are there any related error logs in event viewer? If so, please share with us, but please pay attention covring your personal information.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

7 additional answers

Sort by: Most helpful
  1. Jack Chuong 856 Reputation points
    2021-03-12T04:22:15.547+00:00

    Update:
    If I re-create my outlook profile or disable "cached exchage mode", I can see new user updates in Global Address List.
    Although Test-Email AutoConfiguration still doesn't show OAB in result and download offline address book still return error.
    76990-5.png

    0 comments No comments

  2. Jack Chuong 856 Reputation points
    2021-03-13T04:11:25.357+00:00

    I attempt to try 2 solutions tonight: 1. Run command

    Set-OfflineAddressBook "Default Offline Address Book" -VirtualDirectories $null -GlobalWebDistributionEnabled $true
    

    Run the iisreset in the Run start as Administraotr to restart the IIS

    If above not works 2. Recreate offline address book

    Remove-OfflineAddressBook "Default Offline Address Book"
    New-OfflineAddressBook -Name "Default Offline Address Book" -AddressLists "\Default Global Address List" -VirtualDirectories "ex02\OAB (Exchange Back End)" -IsDefault $true
    Get-MailboxDatabase | Set-MailboxDatabase -OfflineAddressBook "Default Offline Address Book"
    

    Force updating OAB using the cmdlet: Update-OfflineAddressBook “Default Offline Address Book” . Restart Microsoft Exchange Mailbox Assistant service.

    I have another concert, in my environment I have 3 exchange servers (both cas + mailbox roles) in 1 DAG Identify the OAB generation server : server ex01

    Get-Mailbox -Arbitration | where {$_.PersistedCapabilities -like "*oab*"} | ft name,servername
    
    Name                                                        ServerName
    ----                                                        ----------
    SystemMailbox{bb558c35-97f1-4cb9-8ff7-d53741dc928c}         ex01
    

    But mailbox database hosting organization mailbox with OAB Gen capability is "Mailbox Database other" , it is mounted / copied healthy on exchange servers ex02 and ex03

    Get-MailboxDatabaseCopyStatus "Mailbox Database other"
    
    Name                                          Status          CopyQueue ReplayQueue LastInspectedLogTime   ContentIndex
                                                                  Length    Length                             State
    ----                                          ------          --------- ----------- --------------------   ------------
    Mailbox Database other\ex02              Mounted         0         0                                  Healthy
    Mailbox Database other\ex03              Healthy         0         1           3/13/2021 9:55:25 AM   Healthy
    

    Does that cause problem ? Should I create a new arbitration mailbox and Enable OABGen capability ?

    New-Mailbox -Arbitration -Name "New OAB" -Database "Mailbox Database other" -UserPrincipalName newoab@mydomain.com –DisplayName “New OAB Mailbox”
    
    Set-Mailbox -Arbitration newoab -OABGen $true -MaxSendSize 1GB
    
    0 comments No comments

  3. Jack Chuong 856 Reputation points
    2021-03-13T13:26:45.943+00:00

    The problem is fixed

    Set-OfflineAddressBook "Default Offline Address Book" -VirtualDirectories $null -GlobalWebDistributionEnabled $true
    

    Run the iisreset in the Run start as Administraotr to restart the IIS