Exchange 2010 SP1 Managed Folder Assistant is not running
My managed folder assistant is not running automatically. When I run it manually for individual people it appears to work. my cycle is set to one day but every morning it is never ran. I did upgrade to SP1, so it changed from a schedule to a throttled
processes, anyone else see this?
January 21st, 2011 12:53pm
Hi,
Check managed folder schedule not overlap with another schedule that like online maintenance schedule.
Start-ManagedFolderAssistant check this command and confirm its run on database level
please replySachin Hodge Exchange server admin
Free Windows Admin Tool Kit Click here and download it now
January 21st, 2011 1:02pm
-When I "Start-ManagedFolderAssistant" It wants an identity.
-It should not overlap any schedule because its no longer scheduled in SP1 it is throttled. Correct?
January 21st, 2011 1:05pm
I think you are misunderstanding the cycle concept.
the agent is a throttled agent since SP1, which means it runs continuously.
the cycle is only there to enforce that every object is at least treated once per day and that new objects are added.
I dont know what you are expecting to see in the morning since it aint on a schedule anymore.
Free Windows Admin Tool Kit Click here and download it now
January 21st, 2011 2:02pm
Ok maybe I am. Here's my probelm re-worded.
When I run the managedfolderassistant manually it works as expected. It puts anything older then 5 days old from my deleted items and into the recover deleted items.
If I don't run it manually, then my deleted Items is never cleaned out. What causes this process to run? Its sat for weeks without doing it.
As far as workcyle goes. If I set it to 1 then should it not try to process each item atleast once a day? Thus should it not clear out my deleted items, give or take once a day?
January 21st, 2011 2:21pm
ok, something is wrong :)
You understood it correctly. It should do the job automatically. It's must be failing for some reason.
Guess you need to turn diagnostics to see if any errors show up
Free Windows Admin Tool Kit Click here and download it now
January 21st, 2011 2:55pm
Ok good. I moved my mailbox and restarted the exhange mailbox assistants service. I will give it the weekend.
As far windows logs this is the only strange message from assistants (about every 15 mins)
Log Name: Application
Source: MSExchange Assistants
Date: 1/21/2011 2:01:02 PM
Event ID: 9040
Task Category: Assistants
Level: Information
Keywords: Classic
User: N/A
Computer: server.domain.com
Description:
Service MSExchangeMailSubmission. An exception has been handled on behalf of an assistant. A report will be sent for the following exception: Microsoft.Exchange.Assistants.AIGrayException ---> Microsoft.Exchange.Common.GrayException ---> Microsoft.Mapi.MapiExceptionPartialCompletion: MapiExceptionPartialCompletion: Unable to save watermarks. (hr=0x40680, ec=0)
Diagnostic context:
Lid: 1494 ---- Remote Context Beg ----
Lid: 10804 StoreEc: 0xFFFFF9BF
Lid: 25094
Lid: 13710 StoreEc: 0x89B
Lid: 10804 StoreEc: 0xFFFFF9BF
Lid: 25094
Lid: 13710 StoreEc: 0x89B
Lid: 14672 StoreEc: 0x40680
Lid: 2031 StoreEc: 0x40680
Lid: 18009 StoreEc: 0x40680
Lid: 1750 ---- Remote Context End ----
Lid: 32361 StoreEc: 0x40680
at Microsoft.Mapi.MapiExceptionHelper.ThrowIfErrorOrWarning(String message, Int32 hresult, Boolean allowWarnings, SafeExInterfaceHandle iUnknown, Exception innerException)
at Microsoft.Mapi.MapiEventManager.SaveWatermarks(Watermark[] watermarks)
at Microsoft.Exchange.Assistants.EventAccess.<>c__DisplayClassd.<SaveWatermarks>b__c()
at Microsoft.Exchange.Assistants.EventAccess.CallEventManager(EventManagerFunction function)
at Microsoft.Exchange.Assistants.EventControllerPrivate.UpdateIdleWatermarksForAssistant(Guid[] idleMailboxes, Guid assistantId)
at Microsoft.Exchange.Assistants.EventControllerPrivate.DisposeOfIdleDispatchers()
at Microsoft.Exchange.Assistants.EventController.<UpdateWatermarks>b__4()
at Microsoft.Exchange.Assistants.Util.<>c__DisplayClass1.<CoreCatchMeIfYouCan>b__0()
at Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(TryDelegate tryDelegate, FilterDelegate filterDelegate, CatchDelegate catchDelegate)
--- End of inner exception stack trace ---
at Microsoft.Exchange.Common.GrayException.ExceptionCatcher(Object exception)
at Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(TryDelegate tryDelegate, FilterDelegate filterDelegate, CatchDelegate catchDelegate)
at Microsoft.Exchange.Common.GrayException.MapAndReportGrayExceptions(UserCodeDelegate tryCode)
at Microsoft.Exchange.Assistants.Util.CoreCatchMeIfYouCan(CatchMe function)
at Microsoft.Exchange.Assistants.Util.CatchMeIfYouCan(CatchMe function)
--- End of inner exception stack trace ---
at Microsoft.Exchange.Assistants.Util.TraceAndThrow(CatchMe function, AIException aiException)
at Microsoft.Exchange.Assistants.Util.CatchMeIfYouCan(CatchMe function)
at Microsoft.Exchange.Assistants.Base.CatchMeIfYouCan(CatchMe function).
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="MSExchange Assistants" />
<EventID Qualifiers="16388">9040</EventID>
<Level>4</Level>
<Task>1</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-01-21T20:01:02.000000000Z" />
<EventRecordID>62112</EventRecordID>
<Channel>Application</Channel>
<Computer>server.domain.com</Computer>
<Security />
</System>
<EventData>
<Data>MSExchangeMailSubmission</Data>
<Data>Microsoft.Exchange.Assistants.AIGrayException ---> Microsoft.Exchange.Common.GrayException ---> Microsoft.Mapi.MapiExceptionPartialCompletion: MapiExceptionPartialCompletion: Unable to save watermarks. (hr=0x40680, ec=0)
Diagnostic context:
Lid: 1494 ---- Remote Context Beg ----
Lid: 10804 StoreEc: 0xFFFFF9BF
Lid: 25094
Lid: 13710 StoreEc: 0x89B
Lid: 10804 StoreEc: 0xFFFFF9BF
Lid: 25094
Lid: 13710 StoreEc: 0x89B
Lid: 14672 StoreEc: 0x40680
Lid: 2031 StoreEc: 0x40680
Lid: 18009 StoreEc: 0x40680
Lid: 1750 ---- Remote Context End ----
Lid: 32361 StoreEc: 0x40680
at Microsoft.Mapi.MapiExceptionHelper.ThrowIfErrorOrWarning(String message, Int32 hresult, Boolean allowWarnings, SafeExInterfaceHandle iUnknown, Exception innerException)
at Microsoft.Mapi.MapiEventManager.SaveWatermarks(Watermark[] watermarks)
at Microsoft.Exchange.Assistants.EventAccess.<>c__DisplayClassd.<SaveWatermarks>b__c()
at Microsoft.Exchange.Assistants.EventAccess.CallEventManager(EventManagerFunction function)
at Microsoft.Exchange.Assistants.EventControllerPrivate.UpdateIdleWatermarksForAssistant(Guid[] idleMailboxes, Guid assistantId)
at Microsoft.Exchange.Assistants.EventControllerPrivate.DisposeOfIdleDispatchers()
at Microsoft.Exchange.Assistants.EventController.<UpdateWatermarks>b__4()
at Microsoft.Exchange.Assistants.Util.<>c__DisplayClass1.<CoreCatchMeIfYouCan>b__0()
at Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(TryDelegate tryDelegate, FilterDelegate filterDelegate, CatchDelegate catchDelegate)
--- End of inner exception stack trace ---
at Microsoft.Exchange.Common.GrayException.ExceptionCatcher(Object exception)
at Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(TryDelegate tryDelegate, FilterDelegate filterDelegate, CatchDelegate catchDelegate)
at Microsoft.Exchange.Common.GrayException.MapAndReportGrayExceptions(UserCodeDelegate tryCode)
at Microsoft.Exchange.Assistants.Util.CoreCatchMeIfYouCan(CatchMe function)
at Microsoft.Exchange.Assistants.Util.CatchMeIfYouCan(CatchMe function)
--- End of inner exception stack trace ---
at Microsoft.Exchange.Assistants.Util.TraceAndThrow(CatchMe function, AIException aiException)
at Microsoft.Exchange.Assistants.Util.CatchMeIfYouCan(CatchMe function)
at Microsoft.Exchange.Assistants.Base.CatchMeIfYouCan(CatchMe function)</Data>
</EventData>
</Event>
I am fairly new to exchange (lotus notes) for diagnostic logging what would you recommend to log? Thanks.
January 21st, 2011 3:21pm
verify the following article, it applies to Exchange 2007, but to my knowledge this should also apply to exchange 2010
http://support.microsoft.com/kb/948934
run:
Get-ExchangeServer -ID Servername |FL name, ExchangeLegacyDN
and
Get-Mailbox | FL Displayname, ServerLegacyDN
and verify the legacydn match
Free Windows Admin Tool Kit Click here and download it now
January 24th, 2011 9:45am
Ok, so over the weekend I installed rollup 2 for SP1 and rebooted all of the servers. I did some more investigating and it appears to only be on my mailbox. It's working for the rest of the IT staff. So I'm at a loss it might be better for me to nuke my
mailbox and re-create it. Is there anything else you guys can think of?
-Also the legacyDN are the same.
January 24th, 2011 10:04am
Hi,
Please create a new mailbox database and move your mailbox to this new mailbox. Then test to see if the issue persists.
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. Thanks
Gen Lin-MSFT
Free Windows Admin Tool Kit Click here and download it now
January 25th, 2011 1:44am
So the issues seems to have resolved itself after the reboots.
January 26th, 2011 9:56am
Hi
I`m having exactly the same issue, I have just installed roll up 2. Did you have reboot the server a couple of times after the install?
Free Windows Admin Tool Kit Click here and download it now
January 26th, 2011 10:22am
In my setup I have 2 mailDB's.
I moved my mailbox to the second mailDB
remove the retention policy, restarted the assistants service.
re-added rentention policy, restarted the assistants service.
I can't tell you at what point exatly it started to work. Does yours work manually?
Start-ManagedFolderAssistant -identity <alias> ?
January 26th, 2011 10:26am
Yes it does. I have run Get-Mailbox | Start-ManagedFolderAssistant which manually processes all the mailboxes.Here is the Event viewer output
Service MSExchangeMailboxAssistants. Managed Folder Mailbox Assistant for database Others reached a work cycle checkpoint (Duration: 17:36:53.2276993, Database Completely Healthy During Work Cycle: Yes). 513 mailboxes were successfully processed. 0
mailboxes were skipped due to errors. 186 mailboxes were processed separately. There are 0 mailboxes remaining on this database which will be processed during the next work cycles.
But they are still some old items that have not been deleted some are not even tagged
Thanks
.Moving these mailboxes is not an option.
Free Windows Admin Tool Kit Click here and download it now
January 26th, 2011 11:48am
If it says its processing it manually, but you don't see things ever getting tagged. I can only suggest redoing you retention tags and policy. when I was searching for a solution, alot of people people claimed re-configuring the policies worked, or they
had misconfigs.
January 26th, 2011 3:15pm
I have had a look at a couple of mailboxes and all the items have been tags but not deleted.This article best describes what is happening
http://blogs.technet.com/b/richardroddy/archive/2010/12/14/exchange-2010-sp1-outlook-2010-cached-mode-and-retention-policies-why-do-my-items-show-expired-in-outlook-but-are-not-being-removed-by-exchange.aspx
My other concern is that the mailbox assistant is not running as it should, I beleive it`s not scheduled in SP1 but throttled. If so why do I get the Managed Folder Assistant Schedule when I run
Get-MailboxServer | fl Name,ManagedFolderAssistantSchedule ?
Thanks
Free Windows Admin Tool Kit Click here and download it now
January 27th, 2011 5:24am
I'm having the same problem in regard to the "ManagedFolderAssistantSchedule" I believe it is not running, because when I manually started I can see my deleted items tagged. How can I check to see if the ""ManagedFolderAssistantSchedule" is running
? Also when I use the "Get-Mailbox | Start-ManagedFolderAssistant "
and then check the other mailboxes they all get taggged. I'm running exchange 2010 SP1 with windows server 2008 r2 enterprise
June 15th, 2011 10:00pm