question

Azy1412-2549 avatar image
0 Votes"
Azy1412-2549 asked KaelYao-MSFT commented

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

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@contoso.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@contoso.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@contoso.com reported error (0x80040104) : 'The operation failed. An object cannot be found.'

office-exchange-server-administrationoffice-exchange-server-connectivity
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AndyDavid avatar image
0 Votes"
AndyDavid answered

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AndyDavid avatar image
1 Vote"
AndyDavid answered AndyDavid converted comment to answer
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @AndyDavid thank you for your prompt reply and please excuse the delay.

OAB was created on Exchange 2016 but we've migrated the arbitration mailbox to 2019.
the OAB is present on on the arbitration mailbox. {c0517c85-4f92-4011-9764-1320858a15db}

138164-oab-not-downloading.png



I've created a new OAB {16473332-86e1-4157-8981-e83e38a25e62} as I thought it would be an easier fix, but users are still unable to download the address book with the same error:
Task username@contoso.com reported error (0x80190194) : 'An unexpected error has occurred.'


Will keep you updated.

0 Votes 0 ·
KaelYao-MSFT avatar image
0 Votes"
KaelYao-MSFT answered KaelYao-MSFT commented

Hi @Azy1412-2549

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.



07.png (23.2 KiB)
08.png (16.2 KiB)
09.png (2.7 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @KaelYao-MSFT

138167-oab-url.png

I ran a test of the configuration and it returned the newly created OAB.


I noticed that my user mailbox is able to download the new address book successfully, but I have to modify the hostfile to bypass load balancer and connect to Exchange directly, only then am I able to download the address book.
When I checked the virtual directory of the new OAB it is pointing to Exchange 2019, and our load balancer is pointing to Exchange 2016 servers.

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

could this be causing the issue ?

0 Votes 0 ·
oab-url.png (2.2 KiB)

Hi,

Thanks for the update!

I suppose it may be the possible cause.
Please also run this command to set the VirtualDirectories to null and GlobalWebDistributionEnabled to true :
Set-OfflineAddressBook -Identity "OAB EX2019" -VirtualDirectories $null -GlobalWebDistributionEnabled $true

0 Votes 0 ·
AndyDavid avatar image
0 Votes"
AndyDavid answered Azy1412-2549 commented

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://docs.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

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @AndyDavid

yes, there are files under the OAB dir (screenshot for reference)
138212-files-under-oab.png




I've set the new OAB as default but users are still unable to download OAB:

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

0 Votes 0 ·
files-under-oab.png (85.1 KiB)