• Home
  • Topics
    • Office 365
    • Teams
    • SharePoint Online
    • Exchange 2019
    • Exchange 2016
    • Exchange 2013
    • Hybrid
    • Certificates
    • PowerShell
    • Migration
    • Security
    • Azure
  • Blog
  • Podcast
  • Webinars
  • Books
  • About
  • Videos
    • Interview Videos
    • How To Guide Videos
  • Subscribe
    • Facebook
    • Twitter
    • RSS
    • YouTube

Practical 365

You are here: Home / Exchange Server / Optimizing Offline Address Book Schedules in Exchange Server 2010

Optimizing Offline Address Book Schedules in Exchange Server 2010

January 30, 2014 by Paul Cunningham 11 Comments

In an Exchange Server 2010 organization it is normal for there to be some delay before administrative changes appear in the address book for Outlook users.

For example, a staff member changes surnames and the help desk updates their Active Directory account with the new name. The staff member may notice that when the address book is viewed in Outlook their name remains unchanged, and may do so for 24-48 hours.

A common reason for this is the offline address book (OAB) schedules that are in place for the environment.

Consider the following process:

  1. A change is made in Active Directory (eg, the user’s surname)
  2. The OAB generation process occurs (5am daily by default)
  3. The OAB file distribution process runs (every 8 hours by default)
  4. The OAB is downloaded to the Outlook client (at startup)

exchange-2010-oab-distribution

So in real world conditions that process may actually look like this.

  1. At 9am the help desk changes the user’s surname
  2. At 5am the next day the OAB generation process runs
  3. Up to 8 hours later (ie as late as 1pm) the OAB file distribution process runs
  4. The OAB is updated at next Outlook startup the day after that

So it is easy to understand why changes may not appear in the address book for cached-mode Outlook users for 24-48 hours after the change is actually made.

Note: a good way to verify whether an inconsistency is OAB-related or not is to use Outlook Web App to look up the person in the address book. If OWA shows the correct details, and cached-mode Outlook does not, then it is likely an OAB-related issue whether that is simply a normal delay as shown above, or possibly an OAB problem of some kind.

So what can we do to optimize this process?

Well first of all, consider whether you should take any action at all. A delay for changes appearing in the OAB may be perfectly acceptable to some organizations. And additional load from OAB generation and distribution cycles running more frequently may be undesirable to some administrators.

But, assuming you do want to improve this situation in your environment, here is what you can do about it.

Modify the OAB Generation Schedule

The first item to consider is a change to the OAB generation schedule. If you know that your administrators are only making changes up until 6pm each day, then waiting until 5am the next day to update the OAB is probably unnecessary.

In the Exchange Management Console navigate to Organization Configuration -> Mailbox and select the Offline Address Book tab.

exchange-2010-oab-generation-01

Open the Properties of the OAB you want to modify and look at the Update Schedule.

exchange-2010-oab-generation-02

The default schedule runs daily at 5am, and there are some other pre-configured schedules you can choose as well. If none of those suit your needs you can choose a custom schedule and then customize it to run at one more times on each day.

exchange-2010-oab-generation-03

Modify the OAB File Distribution Schedule

OAB files are distributed to Exchange Server 2010 Client Access servers where they are made available for web-distribution to Outlook clients.

exchange-2010-oab-distribution-02

Each OAB virtual directory included in the web-distribution list for an OAB polls for changes on a configurable interval. The default is 480 minutes (8 hours).

exchange-2010-oab-distribution-03

I find PowerShell to be a little easier to use for managing this setting.

1
2
3
4
5
6
7
[PS] C:\>Get-OabVirtualDirectory | Select Server,Name,PollInterval
 
Server        Name                   PollInterval
------        ----                   ------------
BR-EX2010-MB  OAB (Default Web Site)          480
HO-EX2010-MB2 OAB (Default Web Site)          480
HO-EX2010-MB1 OAB (Default Web Site)          480


If you want to ensure that the OAB web-distribution points are updated before most Outlook users begin logging on in the morning then you would may need to change this polling interval.

Let’s look at two examples:

  1. With the OAB generation schedule modified earlier to also run at 7pm an OAB file distribution interval of  8 hours means the web-distribution points will likely be up to date at 3am. So in this case there may be no need to make a change.
  2. With the default OAB generation schedule of 5am daily you may want to lower the polling interval to 1 or 2 hours so that the web-distribution point is up to date by 7am.

For that second scenario we can update the interval either via the OAB virtual directory properties (shown above) or using Set-OABVirtualDirectory.

1
2
3
4
5
6
7
8
9
[PS] C:\>Get-OabVirtualDirectory | Set-OabVirtualDirectory -PollInterval 120
 
[PS] C:\>Get-OabVirtualDirectory | Select Server,Name,PollInterval
 
Server        Name                   PollInterval
------        ----                   ------------
BR-EX2010-MB  OAB (Default Web Site)          120
HO-EX2010-MB2 OAB (Default Web Site)          120
HO-EX2010-MB1 OAB (Default Web Site)          120

Summary

The default OAB generation and distribution schedules work just fine for many organizations, but some will find they are not suitable and are causing support issues when changes are made that do not appear in the address book until 24-48 hours later.

In those cases the Exchange Server administrator can consider making adjustments to the OAB generation and distribution schedules to suit their environment better.

Exchange Server Exchange 2010, OAB, Offline Address Book

Comments

  1. Naeem Khan says

    May 22, 2016 at 6:30 pm

    Hi Paul,

    Thank you for share the article.

    How we can Optimizing Offline Address Book Schedules in Exchange Server 2013 ?

    Reply
  2. Derrell says

    December 13, 2014 at 8:17 am

    Nice information. Do you have similar directions for a hosted Exchange environment in Office 365?

    Reply
    • Paul Cunningham says

      December 18, 2014 at 11:22 am

      Office 365 doesn’t give you any controls for the OAB.

      Reply
  3. Koay says

    May 10, 2014 at 12:31 am

    Great article, Paul.

    Always explain in plain English and present via easy-to-understand diagrams with well explanation. Keep good works on Paul.

    Reply
  4. iMedia Designs says

    February 11, 2014 at 3:55 pm

    Again an interesting article, thanks Paul.

    Reply
  5. Manuel Guedes says

    February 6, 2014 at 8:39 pm

    Thank you, Paul.

    Can step 3 be forced by manually restarting the Microsoft Exchange File Distribution service?

    Reply
    • Paul Cunningham says

      February 6, 2014 at 9:01 pm

      Yes it can.

      Reply
  6. Steen says

    January 31, 2014 at 5:15 pm

    Once again an interesting article, thanks.

    When the users call 8 o’clock about missing details in the OAB, then I should give them an answer like “after 12 o’clock you can restart Outlook and the addressbook will be updated”. 🙂

    Then there are the users never restarting Outlook, they have to wait 24 hours or learn how to manual download the OAB.

    Reply
    • Paul Cunningham says

      February 1, 2014 at 1:00 pm

      If I was getting a lot of support calls for OAB info being out of date I would adjust my schedules so that it was updated well before 8am to minimise those support calls.

      Reply
  7. Leng says

    January 31, 2014 at 4:44 pm

    Thanks Paul,another great article! Always a pleasure to read your posts 🙂

    Reply
  8. itworkedinthelab says

    January 31, 2014 at 10:49 am

    Great article
    Thanks

    Reply

Leave a Reply Cancel reply

You have to agree to the comment policy.

Recent Articles

  • Turn On MFA: Real-World Example of Fraud, Domain Stealing, and the Nearly Lost House Deposit
  • Changes in Microsoft 365 Apps Channels and Why You Should Care
  • A New Tool to Manage Exchange-related Attributes Without Exchange Server
  • Microsoft Launches Group Ownership Governance Policy
  • Making the Case for Identity Governance in Azure Active Directory

Copyright © 2022 Quadrotech Solutions AG · Disclosure · Privacy Policy
Alpenstrasse 15, 6304 Zug, Switzerland