locked
Troubleshooting Managed Folder Assistant RRS feed

  • Question

  • I'm running an on-premise Exchange 2010 SP2 server that uses Office 365 hosted Personal Archiving.  I've set up 5 users so far that work beautifully.  We apply retention policies to the folders in the mailbox and it works as it should.  I've added a 6th user in exactly the same manner as the first 5 and everything seems to be setup to succeed.  However, mail is never moved to the archive from this individual's mailbox.  They see the archive through Outlook 2010 and OWA 2010, but it remains empty. 

    What I'd like to do is see why exactly the Managed Folder Assistant is skipping over this user's mailbox.  Is there any way to monitor the activity?  Without that, there's no real way for me to troubleshoot this situation.


    pk

    Thursday, May 17, 2012 7:45 PM

All replies

  • Try running the following command and then examine the entries in the application event log on the user's mailbox server:

    Start-ManagedFolderAssistant -Identity MyUser


    Tony www.activedir.org blog:www.open-a-socket.com

    Thursday, May 17, 2012 7:54 PM
  • Thanks for replying Tony.

    I've run that command on the user's box and it doesn't seem to do anything at all.  If I run it on other users' mailboxes, I can watch the mailbox size drop if I use Get-MailboxStatistics.  I've appended the -Verbose tag, but the output looks the same as if I run it on my own mailbox.  The application log doesn't show any activity at all.

    [PS] C:\Windows\system32>Start-ManagedFolderAssistant -Identity jdoe -Verbose
    VERBOSE: [20:07:33.712 GMT] Start-ManagedFolderAssistant : Active Directory session settings for
    'Start-ManagedFolderAssistant' are: View Entire Forest: 'False', Default Scope: 'mydomain.local', Configuration
    Domain Controller: 'dc1.mydomain.local', Preferred Global Catalog: 'dc2.mydomain.local', Preferred Domain
    Controllers: '{ dc2.mydomain.local }'
    VERBOSE: [20:07:33.743 GMT] Start-ManagedFolderAssistant : Runspace context: Executing user:
    mydomain.local/Users/Administrator, Executing user organization: , Current organization: , RBAC-enabled: Enabled.
    VERBOSE: [20:07:33.743 GMT] Start-ManagedFolderAssistant : Beginning processing &
    VERBOSE: [20:07:33.743 GMT] Start-ManagedFolderAssistant : Instantiating handler with index 0 for cmdlet extension
    agent "Admin Audit Log Agent".
    VERBOSE: [20:07:33.868 GMT] Start-ManagedFolderAssistant : Current ScopeSet is: { Recipient Read Scope: {{, }},
    Recipient Write Scopes: {{, }}, Configuration Read Scope: {{, }}, Configuration Write Scope(s): {{, }, }, Exclusive
    Recipient Scope(s): {}, Exclusive Configuration Scope(s): {} }
    VERBOSE: [20:07:33.868 GMT] Start-ManagedFolderAssistant : Searching objects "jdoe" of type "ADUser" under the root
    "$null".
    VERBOSE: [20:07:33.900 GMT] Start-ManagedFolderAssistant : Previous operation run on domain controller
    'dc2.mydomain.local'.
    VERBOSE: [20:07:33.900 GMT] Start-ManagedFolderAssistant : Processing object "mydomain.local/User
    Accounts/ABCD/John Doe".
    VERBOSE: [20:07:33.900 GMT] Start-ManagedFolderAssistant : Admin Audit Log: Entered Handler:Validate.
    VERBOSE: [20:07:33.900 GMT] Start-ManagedFolderAssistant : Admin Audit Log: Exited Handler:Validate.
    VERBOSE: Starting Managed Folder Assistant.
    VERBOSE: [20:07:33.900 GMT] Start-ManagedFolderAssistant : Resolved current organization: .
    VERBOSE: [20:07:33.900 GMT] Start-ManagedFolderAssistant : Searching objects "jdoe" of type "ADRecipient" under the
    root "$null".
    VERBOSE: [20:07:33.915 GMT] Start-ManagedFolderAssistant : Previous operation run on global catalog server
    'dc2.mydomain.local'.
    VERBOSE: [20:07:33.962 GMT] Start-ManagedFolderAssistant : Admin Audit Log: Entered Handler:OnComplete.
    VERBOSE: [20:07:33.993 GMT] Start-ManagedFolderAssistant : Admin Audit Log: Exited Handler:OnComplete.
    VERBOSE: [20:07:33.993 GMT] Start-ManagedFolderAssistant : Ending processing &



    pk

    Thursday, May 17, 2012 8:12 PM
  • Hi pk

    Does the mailbox also have a ManagedFolderMailboxPolicy?  From what I understand, retention policies and managed folder policies are mutually exclusive.

    get-mailbox MyUser| fl *policy

    Tony www.activedir.org blog:www.open-a-socket.com

    Thursday, May 17, 2012 11:11 PM
  • Yes, please follow Tony's suggestion to check the policy setting on your mailbox.

    Thanks,

    Evan


    Evan Liu

    TechNet Community Support

    Friday, May 18, 2012 9:02 AM
  • It does not have a ManagedFolderMailboxPolicy set.  Does logging only work with ManagedFolderMailboxPolicy set?  If so, Microsoft dropped the ball here.

    [PS] C:\Windows\system32>get-mailbox $username | fl *policy

    ManagedFolderMailboxPolicy :
    RetentionPolicy            : Default Company Archive and Retention Policy
    AddressBookPolicy          :
    ThrottlingPolicy           :
    RoleAssignmentPolicy       : Default Role Assignment Policy
    SharingPolicy              : Default Sharing Policy
    RemoteAccountPolicy        :




    pk

    Friday, May 18, 2012 3:06 PM