OfflineAddressBook, PublicFolderDatabase still points to old server

After migrating your Exchange server (I’ve seen this in transition to exchange 2007 and 2010) the PublicFolderDatabase for your OfflineAddressBook is still pointing to the old servers public folder store.

When you run the get-OfflineAddressBook | fl command in a exchange management shell on your new server, you get a result like this:

At Server you see the new servername and the PublicFolderDatabase is still pointing to your old server. Public folder replica’s and offline address book generation server are already moved to the new server.

Solution: I found if you do the following steps you can change the PublicFolderDatabase.
First start adsiedit and browse to CN=Configuration, CN=Services, CN=Microsoft Exchange, CN=First Organization, CN=Address Lists Container, CN=Offline Address Lists and open the properties of CN=Default Offline Address List

Look for the siteFolderServer attribute, here you will see the old public folder store. Choose clear and close with ok, now you may close adsiedit.

Now go to the exchange management console, Organization Configuration, Mailbox, Offline Address Book open the properties of the Default Offline Address List and go to the tab distribution.

Uncheck “Outlook version 2 and 3” at client support and “Enable public folder distribution”. Make sure “Web-based distribution” is enabled. Choose apply and ok, then right click on Default Offline Address List and choose update. After that go back to properties and distribution and check “Outlook client support version 2 and 3” and “Enable public folder distibution”. Again choose apply and ok and right click and choose update.

When you go back to the exchange management shell and repeat get-OfflineAddressBook | fl you now will see the public folder store on your new server.

Posted in Blog, Exchange 2007, Exchange 2010 by ronnypot at September 8th, 2010.
Tags: , , ,

47 Responses to “OfflineAddressBook, PublicFolderDatabase still points to old server”

  1. Robert says:

    You’re a life saver! I’ve been ironing out some bugs in an Exchange 2003-2007 migration, and an 0x8004010F synchronization error has been bugging me for the last 36 hours till I found this, so thanks very much!

  2. Jim says:

    Hello, Question, will this same procedure work with a 2003 exchange server migrating to a 2007 Exchange server?

  3. winga says:

    I have the same problem in 2003 and tried the steps above.
    but when i retick the distribution tabs, i get this message.
    Microsoft Exchange Warning
    The following warning(s) occurred while saving changes:


    Do not move offline address book “Default Offline Address List” before it is generated. Failing to do so will lead to a full Offline Address Book download for all users associated with this Offline Address Book.

    Before building this offline address book, wait for the next scheduled site folder maintenance task or the next dismount or mount of the public folder database on server “NSWIDCEXCV01”.


    nswidcexcv01 is our 2003 exchange server.
    ive moved all the replicas and still have this probem.

    please help…

  4. lukval says:

    A very helpfull article ! Thanks.

  5. Sven says:

    Nice solution thank you very much!!!

  6. Ed Swindelles says:

    Thank you, this resolved the problem for me as well.

  7. Jeff says:

    I did all the steps, now the PublicFolderDatabase attribute stays empty when Get-OfflineAddressBook | fl

    • ronnypot says:

      Solutionwas: also to uncheck the “enable public folder distribution”. It looks a little curious, maybe I should clarify it.

  8. Martin says:

    I’ve been looking for that solution for hours!


    Thanks a lot!!

  9. Claes Abrahamsson says:

    Hi, I´ve tried clearing the siteFolderServer attribute. Works fine until I hit “Update” on the Address book on the Exchange 2010 server. When I check ADSI-edit I discover that the siteFolderServer attribute has reverted back to the old value (first storage group \old Exchange Server). Same result when i check get-offlineAddressBook | fl . Also: changing the HomeDB attribute has no effect whatsoever. Any suggestions?

  10. Claes Abrahamsson says:

    Hi, I´ve tried these steps but the value for PublicfolderDataBase reverts back to the old server as soon as i uopdate the OAB. I´ve also tried creating a new OAB, making it the default one. Still the same result.
    Any suggestions?

    • ronnypot says:

      An update received from Claes after troubleshooting with Microsoft, maybe useful for someone else.

      Hi, After a lot of troubleshooting together with Microsoft, we finally managed to get rid of the old Ex 2003. Here are the key points:

      RESOLUTION: Mount a Blank PF db on Exchange server 2003 – still have 3 folders in the PF instance folder.
      Ran Get-PublicFolderStatistics – a few system folders listed

      Add the replica on E2k10:
      addreplicatopfrecursive.ps1 -server “ex07” -toppublicfolder “\NON_IPM_SUBTREE” -servertoadd “ex07”

      Get-PublicFolder “\” | Update-PublicFolder -Server “ex07” – ok

      run moveallreplicas on E2k10.
      Moveallreplicas.ps1 -server-newserver
      dismount the PF on E2k3
      dismount and mount it back PF on e2k10.
      Get-PublicFolder -recurse \non_ipm_subtree |fl name, replicas – only “ex07” is listed.

      ran a system stated backup on DC01
      delete the PF DB from adsiedit.
      Configuration Partition> Sevices > Microsoft Exchange>
      Organization name> Administrative Group> First Admin Group> Server> Exchange Server 2003> First Storage Group> Delete Public Folder Store

      Dismount and mount back the PF DB on the E2k10
      uninstalled Exchange server 2003

      Claes Abrahamsson

  11. […] http://blog.ronnypot.nl/?p=212 Tagged with: Exchange 2007 • Exchange 2010 • Migration • Publicfolder  If […]

  12. Rob says:

    Finally a solution that worked for me. Thanks!

  13. Tomy says:

    Thank you very much!

  14. Scott says:

    Worked as advertised, thanks!

  15. SB says:

    In our Exchange2007 environment we don’t have the option: “Web-based distribution” enabled. Could this give us any problems while unchecking “Enable public folder distribution”?

    • ronnypot says:

      Exchange 2007 should have web based distribution, I just checked our Exchange 2007 servers and all have the Web-based distribution option available.

      Can you do Get-OfflineAddressBook “Default Offline Address List” | fl on a exchange management shell and see if the WebDistributionEnabled value is set to true. If so than it is enabled and you should be fine turning of public folder distibution, please note that if you still have users running outlook 2003 or before you need the public folder distribution.

      • SB says:

        Just checked the settings with Get-OfflineAddressBook. The value WebDistributionEnabled is set to false.

        • ronnypot says:

          Well you should turn it on before you turn off public folder distribution, you need at least one type of distribution.

          • SB says:

            To be clear: We should configure webdistribution first and enable it in the Offline Address Book distribution.
            After that we can disable and re-enable the Public Folder Distribution?

  16. ronnypot says:

    Indeed, and if you do not have clients running outlook 2003 or before, the web-based distribution is preferrable

  17. Jeremy says:

    This saved me hours of frustration! Thank you Thank you Thank you!

    I followed your steps exactly RonnyPot… and ended up with an empty value for Public Folder Database when running get-OfflineAddressBook | fl

    The trick for me was to uncheck Enable public folder distribution, version 2 and 3 on the distribution tab of the Default Offline Address List Properties. Apply. Update it, let it complete and then re-check the Enable public folder distribution, version 2 and 3. Apply. This will fix the empty public folder database value when running the get-OfflineAddressBook | fl command across the EMS.

  18. Rajeesh says:

    Nice solution and worked like a charm.


  19. […] After the decommissioning of Exchange 2003, I found an error in the Offline Address List http://blog.ronnypot.nl/?p=212 […]

  20. John says:

    First google hit when I searched, thanks for the writeup. Saved me more digging.

  21. HI, thanks for this article, !

  22. Jerami Robinson says:

    Great write up!! It was spot on!
    Thank you. Thank you.

  23. senthil says:

    good Its working thanks for sharing

  24. senthil says:

    can u share the poweshell command to apply these changes.

  25. Chris Dague says:

    Been wrestling with this for a few days…thanks for the help!

  26. snafumaster says:

    Worked as described.
    Nice job; thanks!


  27. Cesar says:

    Great article man!!! It works. Thank you for sharing!!!

  28. […] This property should be fixed as soon as possible.   Solution: This worked for me http://blog.ronnypot.nl/?p=212   This entry was posted in Exchange 2007, Exchange 2010, Microsoft Exchange. Bookmark […]

  29. The Mwila says:

    Great piece of information. it fixed my issues

  30. Undertaker says:

    Big rescpect to you.exaktly what i need.
    bless you

  31. h says:

    Following my pre-posters this detailed blogentry solved my issues as well. Thanks for sharing it!

  32. John says:

    Top! Werkte in 1 keer en nu staat de PublicFolderDatabase / OfflineAddressBook goed. Veel dank!

  33. Henk says:

    Exch2003 to 2010 migration and had the issue. Fix worked. Thx!

  34. Ptochos says:

    Outstanding! Very clear instructions that fixed my problem perfectly.

    Thank you, and God Bless!

  35. Steve says:

    Thanks for the article, fixed my problem. I already had version2/3 unticked so only unticked the ‘public folder distribution’ box, updated OAB then reticked it and updated again – that was enough.

  36. John says:

    Thank you very much.

    Got the problem fixed.

  37. Juan says:

    Excelente, muchas gracias!

Leave a Reply

Sharing Buttons by Linksku