Managed Folder Assistant not running on schedule

Our e-mail server is Exchange 2007.  I have configured the Deleted Items to delete every 3 days via the New Managed Default Folders.  I configured the Message type for "All Mailbox Content", Length of retention period is set to 3, Retention period starts when item is moved to the folder.  The action to be taken is to Permanently Delete.

Next, I created a Managed Folder Mailbox Policy named Mailbox Delete Policy and added the Deleted Items folder to the policy.

After creating the Managed Folder Mailbox Policy, I went to Server Configuration--Selected Mailbox--Selected the properties of the Mailbox server and set a custom schedule  from 6--8 pm.

The scheduled task never seems to run.  I checked by going to the Deleted Items in Outlook and adding a column for modify date to verify that the e-mails modified datestamp was older than 3 days.  

I ran the process manually by using Start--ManagedFolderAssistant -Mailbox 'mailbox name'.  The process ran manually on one mailbox.  I also tried running the process on multiple mailboxes by using Start-ManagedFolderAssistant.  The process did not run on the mailboxes that I reviewed to determine if the process worked.
ExpertAssistAsked:
Who is Participating?
 
gemartiConnect With a Mentor Commented:
I think I mentioned that to you have to use the command:

Get-Mailbox | Start-ManagedFolderAssistant

to run the cmdlet on multiple mailboxes. I'm gathering from your last comment that you are still just running Start-ManagedFolderAssistant which from my understanding of the documentation only runs on a single mailbox. You may want to press the "Attention Required" link in the bottom right corner of the original question to get some more experts in here to help you out.

Thanks.
0
 
gemartiCommented:
... I also tried running the process on multiple mailboxes by using Start-ManagedFolderAssistant.  The process did not run on the mailboxes that I reviewed to determine if the process worked.  ...


I think you want to run the following command to process all mailboxes for a specific Department Name:

Get-User -Filter {department -eq "DepartmentName" -and RecipientType -eq "UserMailbox"} | Get-Mailbox | Start-ManagedFolderAssistant
0
 
gemartiCommented:
Or just...

Get-Mailbox | Start-ManagedFolderAssistant

This cmdlet will run on multiple mailboxes

0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
ExpertAssistAuthor Commented:
In my case, I wanted to process all mailboxes.  Can I use Start-ManagedFolderAssistant to process all?
0
 
ExpertAssistAuthor Commented:
I am starting to wonder if the process is working now.  I just checked several mailboxes and it appears that the e-mails have been deleted.  I may need to check back in with an update on Monday.  I'm not sure if the manual process that I ran worked and the scheduled task is still not working.  On Monday, I should be able to see if the scheduled process is now running.  I will need to update you then.
0
 
gemartiCommented:
Pretty sure you have to use:

Get-Mailbox | Start-ManagedFolderAssistant

for all mailboxes. Start-ManagedFolderAssistant only runs on one mailbox manually
0
 
ExpertAssistAuthor Commented:
Ok, I will give that a try if the schedule doesn't work by Monday.  I'm curious if the scheduled task is actually working now.  Update on Monday.
0
 
ExpertAssistAuthor Commented:
The Managed Folder Assistant is not working.  I noticed this morning that the modify dates are changed in the deleted items folder.  It appears that everytime the Managed Folder Assistant runs, it is changing the modify date.  At 4:11 each day, the modify date is changed to the current date.  The Managed Folder Assistant is running at that time.  So in other words, the modify date on items from April 21 is changed to April 22, the items on April 22nd are changed to April 23 etc.  Items from the 22nd should be deleted, but they aren't.  Items from the 23rd should be deleted around 4:11 today.  Should the modify date be changing when the Managed Folder Assistant scans the Deleted Items?
0
 
gemartiCommented:
...Should the modify date be changing when the Managed Folder Assistant scans the Deleted Items?...

I would think that the assistant needs to somehow mark the folder and its contents with a "bit" that indicates the contents were scanned; if this is so then yes the date modified does change. I know that this is how backup applications such as Backup exec operate.

0
 
ExpertAssistAuthor Commented:
At this time, I am only using the schedule to run the ManagedFolderAssistant.  I wanted to determine if the automatic process is running.  I don't want to keep dragging this out, but I need to wait until tonight to see the results.  Since I only deleted messages from last week on Monday, I don't think they have processed yet.  If I knew that I could set the schedule for earlier today without affecting the performance of the server during the middle of day, I would.  I will check in tomorrow.  Thank you gemarti.  You have been very helpful so far.
0
 
ExpertAssistAuthor Commented:
Thank you gemarti.  The information you provided was very helpful in troubleshooting the issue.  I graded the solution as a B, because I am not sure what fixed the issue.  The process just started working.  The grade certainly isn't a reflection of the help I received from you.  Your information deserves an A.   Thanks again gemarti.

Although the issue seems to have resolved itself, I am adding this question to the Knowledge Base, because there is some very useful information in the discussion.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.