question

JackChuong-8462 avatar image
0 Votes"
JackChuong-8462 asked ·

Exchange 2013 - cannot download offline address book

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 ?



office-exchange-server-administration
1.png (33.8 KiB)
10 |1000 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.

LucasLiu-MSFT avatar image
0 Votes"
LucasLiu-MSFT answered ·

Hi @JackChuong-8462 ,
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.





·
10 |1000 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.

HimanshuAhuja-6670 avatar image
0 Votes"
HimanshuAhuja-6670 answered ·

 Open the Exchange Management Shell.
 Run the Get-OfflineAddressBook cmdlet to obtain a list of available offline address books.
 Run the Set-MailboxDatabase cmdlet to configure the offline address book for the database.
·
10 |1000 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.

JackChuong-8462 avatar image
0 Votes"
JackChuong-8462 answered ·

I have only 1 Default Offline Address Book and it is configured for all mailbox databases

 Get-OfflineAddressBook
    
 Name                                    Versions                                AddressLists
 ----                                    --------                                ------------
 Default Offline Address Book            {Version4}                              {\Default Global Address List}

 Get-MailboxDatabase | fl *iden*,*address*
    
 Identity           : Mailbox Database 1
 OfflineAddressBook : \Default Offline Address Book
    
 Identity           : Mailbox Database 2
 OfflineAddressBook : \Default Offline Address Book
    
 Identity           : Mailbox Database 3
 OfflineAddressBook : \Default Offline Address Book
    
 Identity           : Mailbox Database 4
 OfflineAddressBook : \Default Offline Address Book
    
 Identity           : Mailbox Database 5
 OfflineAddressBook : \Default Offline Address Book
    
 Identity           : Mailbox Database 6
 OfflineAddressBook : \Default Offline Address Book
    
 Identity           : Mailbox Database 7
 OfflineAddressBook : \Default Offline Address Book
·
10 |1000 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.

JackChuong-8462 avatar image
0 Votes"
JackChuong-8462 answered ·

I tried :
set oab virtualdirectory url
Get-OabVirtualDirectory | fl Identity,url

 Identity    : ex01\OAB (Default Web Site)
 InternalUrl : https://webmail.mydomain.com/OAB
 ExternalUrl : https://webmail.mydomain.com/OAB
    
 Identity    : ex02\OAB (Default Web Site)
 InternalUrl : https://webmail.mydomain.com/OAB
 ExternalUrl : https://webmail.mydomain.com/OAB
    
 Identity    : ex03\OAB (Default Web Site)
 InternalUrl : https://webmail.mydomain.com/OAB
 ExternalUrl : https://webmail.mydomain.com/OAB

Restart IIS website , recycle MSExchangeOABAppPool on 3 exchange servers
Try Updating OAB using the cmdlet: Update-OfflineAddressBook “Default Offline Address Book” on 3 exchange servers
Try restart Microsoft Exchange Mailbox Assistant service on 3 exchange servers
Nothing works.

Remains solutions :
Use cmdlet "Set-OfflineAddressBook" to set "GlobalWebDistributionEnabled" , "WebDistributionEnabled"
Create a new Offline address book and assign it to all the databases
Please give me some advice, thank you very much.

·
10 |1000 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.

JackChuong-8462 avatar image
0 Votes"
JackChuong-8462 answered ·

Hi Lucas,
I tried command to generation of OAB and verified the OAB generation is normal under the path %ExchangeInstallPath%\ClientAccess\OAB\<ObjectGuid>
76996-3.png


![76977-4.png][2]


This happen to all users, not specific user.
I will try “GlobalWebDistributionEnabled” and “VirtualDirectories” and feedback later , but I have a concern about Autodiscover virtual directory url , here is my settings :

 Get-ClientAccessServer | FL *iden*,*uri*
    
 Identity                       : ex01
 AutoDiscoverServiceInternalUri : https://webmail.mydomain.com/Autodiscover/Autodiscover.xml
    
 Identity                       : ex02
 AutoDiscoverServiceInternalUri : https://webmail.mydomain.com/Autodiscover/Autodiscover.xml
    
 Identity                       : ex03
 AutoDiscoverServiceInternalUri : https://webmail.mydomain.com/Autodiscover/Autodiscover.xml

 Get-AutoDiscoverVirtualDirectory | fl identity,internalurl,externalurl
    
 Identity    : ex01\Autodiscover (Default Web Site)
 InternalUrl :
 ExternalUrl :
    
 Identity    : ex02\Autodiscover (Default Web Site)
 InternalUrl :
 ExternalUrl :
    
 Identity    : ex03\Autodiscover (Default Web Site)
 InternalUrl :
 ExternalUrl :

Should I Set-AutoDiscoverVirtualDirectory interal and external url for 3 exchange servers ? I read some docs said that they shoud be null by default.


3.png (23.1 KiB)
4.png (82.5 KiB)
· 1 ·
10 |1000 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 @JackChuong-8462 ,
1.I run the same commands in my lab environment, I get the same result. So I don’t think it needs to be set now.
77201-2.png

2.You could also create a new OAB and apply it to all mailbox databases. Then restart MSExchangeMailboxAssistants on all servers. Recycled the Application Pool MSExchangeAutodiscoverAppPool in IIS on all servers. Finally try to download OAB again.



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.




1 Vote 1 ·
2.png (10.2 KiB)
JackChuong-8462 avatar image
0 Votes"
JackChuong-8462 answered ·

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



5.png (10.6 KiB)
·
10 |1000 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.

JackChuong-8462 avatar image
0 Votes"
JackChuong-8462 answered ·

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


·
10 |1000 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.

JackChuong-8462 avatar image
0 Votes"
JackChuong-8462 answered ·

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

· 1 ·
10 |1000 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 @JackChuong-8462 ,
I am glad to hear that your issue has been resolved.

Thank you very much for sharing the specific solution.



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 Votes 0 ·