none
MoveAllReplicas.ps1 script moves all public folders except for some System folders

    Question

  • EX:o=PREFERRED/ou=Exchange Administr...

    EX:/O=PREFERRED/OU=SERVER

    OAB Version 2

    OAB Version 3a

    OAB Version 4

    All other folders migrated.  In the Queue Viewer I have a message listed from "FublicFolders.edb"  yes that is an F instead of a P - odd thing is - there is no FublicFolders.edb.  The Subject is "Hierarchy" and it says it was successful (Error 250) but it never goes away.  Get-PublicFolderStatistics -Server OldMailServer keeps showing the same 5 folders for over 1 week now.

    In the event viewer i get 2 messages:

    Log Name:      Application
    Source:        MSExchange Store Driver
    Date:          12/15/2010 3:30:31 PM
    Event ID:      1020
    Task Category: MSExchangeStoreDriver
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      mx01.mydomain.com
    Description:
    The store driver couldn't deliver the public folder replication message "Hierarchy (FublicFolders.edb@MyDomain.com)" because the following error occurred: Cannot open mailbox ..  (Happens every 5 minutes)
    and

    Log Name:      Application
    Source:        MSExchangeMailboxAssistants
    Date:          12/15/2010 3:40:02 PM
    Event ID:      14031
    Task Category: FreeBusy Assistant
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      mx01.MyDomain.com

    Description:
    Unable to find freebusy public folder: EX:/o=PREFERRED/ou=Exchange Administrative Group (FYDIBOHF23SPDLT) on the server: OldMailServer.MyDomain.com for the user: Jane M. Doe:01899145-89f2-4377-adae-da4cae2e5406:52722494-e6ac-4781-a155-8eed1a44b8e1:MX01.MyDomain.com with legacy DN: /o=PREFERRED/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=jane.doe

    Note that the o=preferred and OU=SERVER are old and have been migrated from Exchange 5.5 to 2000, 2007 and now 2010.  I'd like to clean them out if anyone has any suggestions.  That being said, my primary objective is to decommission the Exchange 2007 server which I cannot do until the Public Folder replicas are gone.

    Thanks Steve


    SteveH
    Wednesday, December 15, 2010 9:50 PM

Answers

  • “PublicFolderDB1” is the public folder database on the exchange 2010 server, right? If so, it indicates that the replicas has been moved to exchange 2010 correctly, you should be able to remove public folder database on the old exchange 2007 server now

    Please try to remove public folder database on the old exchange 2007 server

    If you still can’t remove the public folder database, please try the steps below to remove the public folder database entry from AD directly, which have been used in the similar symptom:

    Please take AD (System State) Backup on any DCs, and then remove the old server’s public folder database entry from ADSI Editor

    1.       Open ADSIEDIT.msc

    2.       Expand Configuration Partition | Expand CN=Configuration | CN=Services | CN=Microsoft Exchange | CN=<Organization Name> | CN=<Administrative Group> | CN=Servers | CN=Information Store | CN=<Storage Group Name>

    3.       Then on the right hand pane, you can highlight the Public Folder database and Delete it


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Monday, December 20, 2010 2:40 AM

All replies

  • Does the full description look like below in the event 1020?

    The store driver couldn't deliver the public folder replication message "xxx" because the following error occurred: Cannot open mailbox /o=MS/ou=First Administrative Group/cn=Configuration/cn=Servers/cn=xxx/cn=Microsoft System Attendant..

    If you are running exchange 2010 RTM version, this error event can occur every 5 to 10 minutes. Please update the server to SP1, which has fixed this issue

    Quote: “Get-PublicFolderStatistics -Server OldMailServer keeps showing the same 5 folders for over 1 week now”

    Please check item size and count on the OldMailServer, is there anything on the folders?

    Please also check the current status of replica list on these public folders

    GetPublicFolder \ NON_IPM_SUBTREE -Recurse –Server ServerName | fl Name,Replicas > pf-system-replicas.txt

    Is there any outlook client version lower than outlook 2007? If not, you can remove the OAB and free/busy public folder data, since outlook 2007 and 2010 can leverage the availability service to download data instead of using public folder

    Please increase the diagnostic logging level on the public folder replication component on the both sides, remove/add the replicas, and then monitor the incoming/outgoing public folder replication events on the both sides for troubleshooting

    And, as you have exchange 5.5 in the organization before, so please aware the issue that mentioned in the blog below

    Exchange 2010 (RTM) public folder replica lists could be modified in unexpected ways if public folder was created when Exchange 5.5 was in the organization

    Resources:

    Public Folder Replication Troubleshooting

    James Luo

    TechNet Subscriber Support in forum

    If you have any feedback on our support, please contact tngfb@microsoft.com  


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Thursday, December 16, 2010 6:10 AM
  • I upgraded to SP1 - now the error is more specific to what you describe above.  Before, it was the same error number but with very little detail.

    Log Name:      Application
    Source:        MSExchange Store Driver
    Date:          12/16/2010 11:32:42 AM
    Event ID:      1020
    Task Category: MSExchangeStoreDriver
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Ex2010svr.MyDomain.com
    Description:
    The store driver couldn't deliver the public folder replication message "Hierarchy (FublicFolders.edb@MyDomain.com)" because the following error occurred: Cannot open mailbox /o=PREFERRED/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=Ex2007Svr/cn=Microsoft System Attendant..
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="MSExchange Store Driver" />
        <EventID Qualifiers="49156">1020</EventID>
        <Level>2</Level>
        <Task>1</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2010-12-16T17:32:42.000000000Z" />
        <EventRecordID>90960</EventRecordID>
        <Channel>Application</Channel>
        <Computer>mx01.MyDomain.com</Computer>
        <Security />
      </System>
      <EventData>
        <Data>"Hierarchy (FublicFolders.edb@MyDomain.com)"</Data>
        <Data>Cannot open mailbox /o=PREFERRED/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=Ex2007Svr/cn=Microsoft System Attendant.</Data>
      </EventData>
    </Event>

    I tried to delete the OFFLINE ADDRESS BOOK public folder from the EX2007 server but it errors with

    --------------------------------------------------------
    Microsoft Exchange Error
    --------------------------------------------------------
    Action 'Remove' could not be performed on object '/o=PREFERRED/cn=addrlists/cn=oabs/cn=MyDomain Offline Address List'.

    /o=PREFERRED/cn=addrlists/cn=oabs/cn=MyDomain Offline Address List
    Failed
    Error:
    The folder '000000001A447390AA6611CD9BC800AA002FC45A030038CAF9D21D02444F9ECFC41B15AFE9D50000000000080000' or some of its subfolder(s) encountered errors and could not be deleted.

    MapiExceptionPartialCompletion: Unable to delete folder. (hr=0x40680, ec=0)
    Diagnostic context:
        Lid: 40487   EMSMDBMT.EcDoRpcExt2 called [length=61]
        Lid: 56871   EMSMDBMT.EcDoRpcExt2 returned [ec=0x0][length=173][latency=0]
        Lid: 23226   --- ROP Parse Start ---
        Lid: 27962   ROP: ropDeleteFolder [29]
        Lid: 17082   ROP Error: 0x80070005
        Lid: 19297 
        Lid: 21921   StoreEc: 0x80070005
        Lid: 27962   ROP: ropExtendedError [250]
        Lid: 1494    ---- Remote Context Beg ----
        Lid: 26426   ROP: ropDeleteFolder [29]
        Lid: 4887    StoreEc: 0x80070005
        Lid: 1750    ---- Remote Context End ----
        Lid: 26849 
        Lid: 21817   ROP Failure: 0x80070005
        Lid: 24721 
        Lid: 20625   StoreEc: 0x80070005

    I still am trying to figure out where FublicFolders.edb is located.  As far as I can tell there is no such database.


    SteveH
    Thursday, December 16, 2010 5:48 PM
  • Error 1020 should be fixed in the SP1, I’ll report this issue, and post at here when I got further update

    Does the all content have been replicated into exchange 2010?

    For deleting OAB subfolders, please confirm the current replica status with the cmdlet above

    Please check if there’s any error event in the application log after the public folder has failed to be removed


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Friday, December 17, 2010 10:18 AM
  • Results of Get-PublicFolder \NON_IPM_SUBTREE -Recurse -Server....

    On the new server:

    Name     : NON_IPM_SUBTREE
    Replicas : {}

    Name     : EFORMS REGISTRY
    Replicas : {}

    Name     : Events Root
    Replicas : {PublicFolderDB1}

    Name     : OFFLINE ADDRESS BOOK
    Replicas : {}

    Name     : /o=PREFERRED/cn=addrlists/cn=oabs/cn=MyDomain Offline Address List
    Replicas : {PublicFolderDB1}

    Name     : OAB Version 2
    Replicas : {PublicFolderDB1}

    Name     : OAB Version 3a
    Replicas : {PublicFolderDB1}

    Name     : OAB Version 4
    Replicas : {PublicFolderDB1}

    Name     : EX:/O=PREFERRED/OU=SERVER
    Replicas : {PublicFolderDB1}

    Name     : OWAScratchPad{F1EC6C7C-5B62-49DA-B682-E624750B53B2}
    Replicas : {PublicFolderDB1}

    Name     : OWAScratchPad{FFA1D91F-3013-4FD3-AF49-9DA7AC28EEBA}
    Replicas : {PublicFolderDB1}

    Name     : SCHEDULE+ FREE BUSY
    Replicas : {}

    Name     : EX:/o=PREFERRED/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)
    Replicas : {PublicFolderDB1}

    Name     : EX:/O=PREFERRED/OU=SERVER
    Replicas : {PublicFolderDB1}

    Name     : schema-root
    Replicas : {PublicFolderDB1}

    Name     : Default
    Replicas : {PublicFolderDB1}

    Name     : microsoft
    Replicas : {PublicFolderDB1}

    Name     : exchangeV1
    Replicas : {PublicFolderDB1}

    Name     : StoreEvents{F1EC6C7C-5B62-49DA-B682-E624750B53B2}
    Replicas : {PublicFolderDB1}

    Name     : globalevents
    Replicas : {PublicFolderDB1}

    Name     : internal
    Replicas : {PublicFolderDB1}

    Name     : StoreEvents{FFA1D91F-3013-4FD3-AF49-9DA7AC28EEBA}
    Replicas : {PublicFolderDB1}

    Name     : globalevents
    Replicas : {PublicFolderDB1}

    Name     : internal
    Replicas : {PublicFolderDB1}

    No Errors

    On the old system:

    Name     : NON_IPM_SUBTREE
    Replicas : {}

    Name     : EFORMS REGISTRY
    Replicas : {}

    Name     : Events Root
    Replicas : {PublicFolderDB1}

    Name     : OFFLINE ADDRESS BOOK
    Replicas : {}

    Name     : /o=PREFERRED/cn=addrlists/cn=oabs/cn=MyDomain Offline Address List
    Replicas : {PublicFolderDB1}

    Along with error:

    MapiExceptionObjectDeleted:  Unable to open entry ID, <hr-0x8004010a, ec=-2147221238>

    and then some diagnostic information.

    It looks to me like the Public Folders have all replicated.  Because all of my clients are either Outlook 2007 or 2010 i should not require these folders any longer.  but it will not let me delete them from the old server.  Do I need to do it from the new server?

    Thanks

    Steve


    SteveH
    Friday, December 17, 2010 3:26 PM
  • “PublicFolderDB1” is the public folder database on the exchange 2010 server, right? If so, it indicates that the replicas has been moved to exchange 2010 correctly, you should be able to remove public folder database on the old exchange 2007 server now

    Please try to remove public folder database on the old exchange 2007 server

    If you still can’t remove the public folder database, please try the steps below to remove the public folder database entry from AD directly, which have been used in the similar symptom:

    Please take AD (System State) Backup on any DCs, and then remove the old server’s public folder database entry from ADSI Editor

    1.       Open ADSIEDIT.msc

    2.       Expand Configuration Partition | Expand CN=Configuration | CN=Services | CN=Microsoft Exchange | CN=<Organization Name> | CN=<Administrative Group> | CN=Servers | CN=Information Store | CN=<Storage Group Name>

    3.       Then on the right hand pane, you can highlight the Public Folder database and Delete it


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Monday, December 20, 2010 2:40 AM