download offline address book 0x8004010F error

Scott Gao 291 Reputation points
2021-02-26T08:32:36.997+00:00

Dear

I have 2 Exchange Server 2013 CU23. when I download offline address book from outlook, I get 0x8004010F.
After many search, I found the server pointed by autodiscover did not have OAB folder. I think this may be the root cause.
I can found the OAB folder on other server. Does anyone know how to recreate this folder?
Thanks for your valuable time.

Best Regards.
Scott Gao

72413-image.png

72308-image.png

72378-image.png

Exchange | Exchange Server | Management
0 comments No comments
{count} votes

Accepted answer
  1. Kael Yao 37,746 Reputation points Moderator
    2021-03-01T07:20:32.247+00:00

    Hi, @Scott Gao

    Please run this command via EMS to check the details of the organization mailbox which is responsible for OAB generation:

    Get-Mailbox -Arbitration | where {$_.PersistedCapabilities -like "oab"} | ft name,database  
    

    If the database name in the result shows CBDAG01, please run this following command on the current server(DAG01A):

    Update-Offlineaddressbook "OAB name here"  
    

    Or you may also restart the "Microsoft Exchange Mailbox Assistant" service on the server.

    Then please check if the folder is recreated on the server and if you are able to download OAB via Outlook.


    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.


3 additional answers

Sort by: Most helpful
  1. Scott Gao 291 Reputation points
    2021-03-07T01:13:07.987+00:00

    Dear KaelYao

    Thank you very much for teaching baby.
    I enable GlobalWebDistributionEnabled, and added OAB external URL.
    Let's start story again. Please correct me if my understand is wrong.
    Autodiscover point to AAAA-DAG02A, There is DAG database Cbdag01, host at (BBBB-dag01a and AAAA-DAG02A), active is BBBB-dag01a.
    Cbdag01 have oab HKOAB, it's generating mailbox is "SystemMailbox{bb558c35....", this OAB's GlobalWebDistributionEnabled is True.
    AAA-DAG02A's OAB ExternalUrl : https://mail.company.com/OAB
    On this information, OAB request reach DAG02A,then it will proxy to DAG01A by setting GlobalWebDistributionEnabled.

    Now question is.
    1. I don't get error when I don't error when I click download OAB in outlook. But I can not found OAB folder in %userprofile%\appdata\local\microsoft\outlook\Offline Address Books. I can see other OAB folder in this path. When I new email and click "Address Book' button, outlook can show email address book. Does OAB had been download properly?
    2. BBBB-dag01a is remote(or call DR) site and AAAA-DAG02A is local site,. BBBB-dag01a is active server, but autodiscover point to AAAA-DAG02A. Do you think this design is good, fine or wrong? Should I correct something?
    3. OAB generate mailbox use DAG. The purpose is get benifit of DAG to prevent single point failure. But still no OAB at my AAAA-DAG02A. Should I said this design not work as suppose?
    4. I added a domain to OAB external URL, it's original value is bank. Assume URL correct poing to AAAA-DAG02A. Should I add OAB URL for BBBB-dag01a? I should add a URL which can point to BBBB-dag01a's WAN IP?
    5. do you know how the outlook and exchange detect external and internal network then decide use external or internal URL?
    Thanks for your time.

    [PS] C:\>Get-OabVirtualDirectory -ADPropertiesOnly | fl identity, *auth*, -autosize
      
      
    Identity                      : AAAA-DAG02A\OAB (Default Web Site)
    BasicAuthentication           : False
    WindowsAuthentication         : False
    OAuthAuthentication           : False
    InternalAuthenticationMethods : {WindowsIntegrated}
    ExternalAuthenticationMethods : {WindowsIntegrated}
      
    Identity                      : BBBB-DAG01A\OAB (Default Web Site)
    BasicAuthentication           : False
    WindowsAuthentication         : False
    OAuthAuthentication           : False
    InternalAuthenticationMethods : {WindowsIntegrated}
    ExternalAuthenticationMethods : {WindowsIntegrated}
      
      
      
    [PS] C:\>Get-OabVirtualDirectory -ADPropertiesOnly | fl identity, *url*, -autosize
      
      
    Identity    : AAAA-DAG02A\OAB (Default Web Site)
    InternalUrl : https://AAAA-dag02a.company.com/OAB
    ExternalUrl : https://mail.company.com/OAB
      
    Identity    : BBBB-DAG01A\OAB (Default Web Site)
    InternalUrl : https://BBBB-dag01a.company.com/OAB
    ExternalUrl :
      
      
      
    [PS] C:\>Get-MailboxDatabase
      
    Name                           Server          Recovery        ReplicationType
    ----                           ------          --------        ---------------
    CBDAG01                        BBBB-DAG01A     False           Remote
      
      
    [PS] C:\>get-mailboxdatabasecopystatus -Identity Cbdag01
      
    Name                                          Status          CopyQueue ReplayQueue LastInspectedLogTime   Content
                                                                  Length    Length                             State
    ----                                          ------          --------- ----------- --------------------   -------
    CBDAG01\BBBB-DAG01A                           Mounted         0         0                                  Healthy
    CBDAG01\AAAA-DAG02A                           Healthy         0         0           3/6/2021 4:29:23 PM    Healthy
      
    [PS] C:\>Get-MailboxDatabase | fl name, *book*
      
      
    Name               : CBDAG01
    OfflineAddressBook : \HKOAB
      
      
    [PS] C:\>Get-Mailbox -Arbitration | where {$_.PersistedCapabilities -like "*OAB*"} | ft Name, Servername, Database
      
    Name                                    ServerName                              Database
    ----                                    ----------                              --------
    SystemMailbox{bb558c35-97f1-4cb9-8ff... BBBB-dag01a                             CBDAG01
    AAAA OAB                                BBBB-dag01a                             CBDAG01
      
      
    [PS] C:\>Get-OfflineAddressBook | Format-List Name,GUID,AddressLists,GeneratingMailbox,IsDefault,VirtualDirectories,Glob
    alWebDistributionEnabled,ShadowMailboxDistributionEnabled
    Creating a new session for implicit remoting of "Get-OfflineAddressBook" command...
      
      
    Name                             : HKOAB
    Guid                             : 7edac32c-9740-4c4a-b310-76f77678c755
    AddressLists                     : {\Default Global Address List}
    GeneratingMailbox                : company.com/Users/SystemMailbox{bb558c35-97f1-4cb9-8ff7-d53741dc928c}
    IsDefault                        : True
    VirtualDirectories               : {}
    GlobalWebDistributionEnabled     : True
    ShadowMailboxDistributionEnabled : False
    

  2. TI ELVOLCAN 1 Reputation point
    2021-07-23T13:51:28.61+00:00

    hi!

    i have one server exchange 2016 and the same error. I dont found why this error, can you helpme?

    Thx


  3. TI ELVOLCAN 1 Reputation point
    2021-08-06T14:06:35.837+00:00

    hi! sorry for delay. number 4 dont work for this environment.

    [PS] C:\Windows\system32>Get-OabVirtualDirectory -ADPropertiesOnly | fl identity, auth, -autosize

    Identity : EXCHANGE\OAB (Default Web Site)
    BasicAuthentication : False
    WindowsAuthentication : False
    OAuthAuthentication : False
    InternalAuthenticationMethods : {WindowsIntegrated, OAuth}
    ExternalAuthenticationMethods : {WindowsIntegrated, OAuth}

    [PS] C:\Windows\system32>Get-OabVirtualDirectory -ADPropertiesOnly | fl identity, url, -autosize

    Identity : EXCHANGE\OAB (Default Web Site)
    InternalUrl : https://EXCHANGE.company.com/OAB
    ExternalUrl : https://externalname.company.com/OAB

    [PS] C:\Windows\system32>Get-MailboxDatabase

    Name Server Recovery ReplicationType


    Default EXCHANGE False None
    DB1 EXCHANGE False None
    DB2 EXCHANGE False None
    DB3 EXCHANGE False None
    DB4 EXCHANGE False None
    DB5 EXCHANGE False None
    DB6 EXCHANGE False None
    DB7 EXCHANGE False None
    DB8 EXCHANGE False None
    DB9 EXCHANGE False None
    DB10 EXCHANGE False None
    DB11 EXCHANGE False None
    DB12 EXCHANGE False None
    DB13 EXCHANGE False None
    DB14 EXCHANGE False None
    DB15 EXCHANGE False None
    DB16 EXCHANGE False None
    DB17 EXCHANGE False None
    DB18 EXCHANGE False None
    DB19 EXCHANGE False None
    DB20 EXCHANGE False None
    DB21 EXCHANGE False None
    DB22 EXCHANGE False None
    DB23 EXCHANGE False None
    DB24 EXCHANGE False None
    DB25 EXCHANGE False None
    DB26 EXCHANGE False None
    DB27 EXCHANGE False None
    Archive 0 EXCHANGE False None

    [PS] C:\Windows\system32>Get-MailboxDatabase | fl name, book

    Name : Default
    OfflineAddressBook : \Default Offline Address Book

    Name : DB1
    OfflineAddressBook : \Default Offline Address Book

    Name : DB2
    OfflineAddressBook : \Default Offline Address Book

    Name : DB3
    OfflineAddressBook : \Default Offline Address Book

    Name : DB4
    OfflineAddressBook : \Default Offline Address Book

    Name : DB5
    OfflineAddressBook : \Default Offline Address Book

    Name : DB6
    OfflineAddressBook : \Default Offline Address Book

    Name : DB7
    OfflineAddressBook : \Default Offline Address Book

    Name : DB8
    OfflineAddressBook : \Default Offline Address Book

    Name : DB9
    OfflineAddressBook : \Default Offline Address Book

    Name : DB10
    OfflineAddressBook : \Default Offline Address Book

    Name : DB11
    OfflineAddressBook : \Default Offline Address Book

    Name : DB12
    OfflineAddressBook : \Default Offline Address Book

    Name : DB13
    OfflineAddressBook : \Default Offline Address Book

    Name : DB14
    OfflineAddressBook : \Default Offline Address Book

    Name : DB15
    OfflineAddressBook : \Default Offline Address Book

    Name : DB16
    OfflineAddressBook : \Default Offline Address Book

    Name : DB17
    OfflineAddressBook : \Default Offline Address Book

    Name : DB18
    OfflineAddressBook : \Default Offline Address Book

    Name : DB19
    OfflineAddressBook : \Default Offline Address Book

    Name : DB20
    OfflineAddressBook : \Default Offline Address Book

    Name : DB21
    OfflineAddressBook : \Default Offline Address Book

    Name : DB22
    OfflineAddressBook : \Default Offline Address Book

    Name : DB23
    OfflineAddressBook : \Empresa OAB

    Name : DB24
    OfflineAddressBook : \Default Offline Address Book

    Name : DB25
    OfflineAddressBook : \Default Offline Address Book

    Name : DB26
    OfflineAddressBook : \Default Offline Address Book

    Name : DB27
    OfflineAddressBook : \Default Offline Address Book

    Name : Archive 0
    OfflineAddressBook : \Default Offline Address Book

    [PS] C:\Windows\system32> Get-Mailbox -Arbitration | where {$_.PersistedCapabilities -like "OAB"} | ft Name, Servername, Database

    Name ServerName Database


    SystemMailbox{bb558c35-97f1-4cb9-8ff7-d53741dc928c} EXCHANGE Default

    [PS] C:\Windows\system32>Get-OfflineAddressBook | Format-List Name,GUID,AddressLists,GeneratingMailbox,IsDefault,Virtual
    Directories,Glob

    Name : Default Offline Address Book
    Guid : bd6696de-6d6a-4e98-bd10-37cd3812aced
    AddressLists : {\Default Global Address List}
    GeneratingMailbox : company.com/Users/SystemMailbox{bb558c35-97f1-4cb9-8ff7-d53741dc928c}
    IsDefault : True
    VirtualDirectories : {}

    Name : Empresa OAB
    Guid : 1b55bf9d-ee36-42ca-a840-53f90f521277
    AddressLists : {\Empresa}
    GeneratingMailbox : company.com/Users/SystemMailbox{bb558c35-97f1-4cb9-8ff7-d53741dc928c}
    IsDefault : False
    VirtualDirectories : {}

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.