Unable to download OAB after migration (Exchange 2016 -> 2019). Error:0x80190194

Azy1412 211 Reputation points
2021-10-05T13:40:44.99+00:00

Hello,

We're in the process of migrating our users from Exchange 2016 to 2019.
after we've moved some mailboxes to 2019, we noticed that some users are unable to download OAB.
When they try to download the address book, they get the following:
Task username@Company portal .com reported error (0x80190194) : 'An unexpected error has occurred.'

I ran the following command since GlobalWebDistribution was not enabled: Set-OfflineAddressBook -Identity "Default Offline Address Book" -VirtualDirectories $null -GlobalWebDistributionEnabled $true

now a new error occurred:

Task username@Company portal .com reported error (0x80040104) : 'The operation failed. An object cannot be found.'

I ran the following command: Get-Mailbox -Arbitration | where {$_.PersistedCapabilities -like "oab"}
it didn't return any result.

I ran Get-Mailbox -Arbitration.

[PS] C:\Windows\system32>Get-Mailbox -Arbitration

Name Alias ServerName ProhibitSendQuota
---- ----- ---------- -----------------
SystemMailbox{bb558c35... SystemMailbox{bb5... LON-EX2019 Unlimited
SystemMailbox{1f05a927... SystemMailbox{1f0... LON-EX2019 Unlimited
FederatedEmail.4c1f4d8... FederatedEmail.4c... LON-EX2019 1 MB (1,048,576 bytes)
SystemMailbox{e0dc1c29... SystemMailbox{e0d... LON-EX2019 Unlimited
SystemMailbox{D0E409A0... SystemMailbox{D0E... LON-EX2019 Unlimited
SystemMailbox{2CE34405... SystemMailbox{2CE... LON-EX2019 Unlimited
Migration.8f3e7716-201... Migration.8f3e771... LON-EX2019 300 MB (314,572,800 bytes)

the mailbox for OAB creation is present and mapped to all the databases.

We appreciate any feedback to this issue

Regards,

Edit: after I've restarted Exchange server, users are now getting the first error.

Task username@Company portal .com reported error (0x80040104) : 'The operation failed. An object cannot be found.'

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,345 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andy David - MVP 141.5K Reputation points MVP
    2021-10-06T13:10:27.4+00:00

    Well, the load balancer should include all the servers. You can actually have the 2019 and 2016 servers in the same pool. I would do that.

    Also - the new 2019 OAB you created is not set to the default, I would set that as well if you want to use it going forward. You dont have to change any other setting at this point.

    Name : OAB EX2019
    Guid : 16473332-86e1-4157-8981-e83e38a25e62
    AddressLists : {\Default Global Address List}
    GeneratingMailbox : Contoso.local/Users/SystemMailbox{bb558c35-97f1-4cb9-8ff7-d53741dc928c}
    IsDefault : False
    VirtualDirectories : {LON-EX2019\OAB (Default Web Site), LON-EX2019\OAB (Default Web Site), LON-EX2019\OAB
    (Exchange Back End)}
    GlobalWebDistributionEnabled : False
    ShadowMailboxDistributionEnabled : False

    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Andy David - MVP 141.5K Reputation points MVP
    2021-10-05T14:03:53.257+00:00
    1 person found this answer helpful.

  2. Kael Yao-MSFT 37,496 Reputation points Microsoft Vendor
    2021-10-06T07:42:32.547+00:00

    Hi @Azy1412

    As Andy suggested, please check if the OAB folder is present under the path: %ExchangeInstallPath%ClientAccess\OAB\<OAB GUID>.

    If the folder wan't generated, please restart the "Microsoft Exchange Mailbox Assistant" service on the Exchange 2019 server and run this following command in EMS to force the process:

    Update-OfflineAddressBook "default offline address book"  
    

    If the guid folder is generated correctly, please retry manually download OAB in Outlook.
    If it still fails, please run a Test E-mail Autoconfiguration via Outlook and see if the correct OAB url is returned in the result.
    It should be the OAB virtual directory url plus the OAB guid.
    137919-07.png

    OAB virtual directory url in EAC:
    138073-08.png
    OAB guid:
    138092-09.png


    It the guid folder isn't generated, please check event viewer>application log to see if you can find event 17001 and event 17004 generated in the log after running the Update-OfflineAddressBook command.


    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. Andy David - MVP 141.5K Reputation points MVP
    2021-10-06T11:55:46.43+00:00

    Are there actual files there under that OAB dir?

    Also, make sure the new OAB is set as the default and no other OABs are assigned to the databases:
    https://learn.microsoft.com/en-us/exchange/email-addresses-and-address-books/offline-address-books/oab-procedures?view=exchserver-2019#assign-offline-address-books-to-mailbox-databases