Problem with system and federatedemail mailboxes
I'm in the process of migrating from Exchange 2003 to Exchange 2010 SP1. I had a problem with the mailbox server role on my new server. In order to fix that problem, I had to delete a mailbox database that actually didn't exist (was never created properly) using ADSIEdit. I removed and reinstalled the mailbox server role and everything seems to be OK...mostly. However, I noticed that I'm seeing the following event log error messages related to the AuditLogSearch function: Log Name: Application Source: MSExchange AuditLogSearch Date: 7/24/2012 10:09:25 AM Event ID: 4002 Task Category: General Level: Error Keywords: Classic User: N/A Computer: Server.domain.com Description: A runtime exception occurred in AuditLogSearchServicelet's worker while processing a request. Exception: Microsoft.Exchange.Data.Storage.UserHasNoMailboxException: The user does not have an Exchange mailbox. at Microsoft.Exchange.Data.Storage.ExchangePrincipal..ctor(ADUser user, ADObjectId mdb, DatabaseLocationInfo databaseLocationInfo, RemotingOptions remotingOptions, Boolean asArchive) at Microsoft.Exchange.Data.Storage.ExchangePrincipal.InternalFromADUser(ADUser user, RemotingOptions remotingOptions) at Microsoft.Exchange.Management.SystemConfigurationTasks.AuditLogSearchDataProviderBase.GetMailboxSession(ADUser mailbox, String action) at Microsoft.Exchange.Servicelets.AuditLogSearch.TenantWorker.GetSearchWorker(ADUser arbMbx) at Microsoft.Exchange.Servicelets.AuditLogSearch.TenantWorker.DoWork() Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="MSExchange AuditLogSearch" /> <EventID Qualifiers="49152">4002</EventID> <Level>2</Level> <Task>1</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2012-07-24T14:09:25.000Z" /> <EventRecordID>5927</EventRecordID> <Channel>Application</Channel> <Computer>Grove.ltke.com</Computer> <Security /> </System> <EventData> <Data>Microsoft.Exchange.Data.Storage.UserHasNoMailboxException: The user does not have an Exchange mailbox. at Microsoft.Exchange.Data.Storage.ExchangePrincipal..ctor(ADUser user, ADObjectId mdb, DatabaseLocationInfo databaseLocationInfo, RemotingOptions remotingOptions, Boolean asArchive) at Microsoft.Exchange.Data.Storage.ExchangePrincipal.InternalFromADUser(ADUser user, RemotingOptions remotingOptions) at Microsoft.Exchange.Management.SystemConfigurationTasks.AuditLogSearchDataProviderBase.GetMailboxSession(ADUser mailbox, String action) at Microsoft.Exchange.Servicelets.AuditLogSearch.TenantWorker.GetSearchWorker(ADUser arbMbx) at Microsoft.Exchange.Servicelets.AuditLogSearch.TenantWorker.DoWork()</Data> </EventData> </Event> After doing some searching, I checked the system and federated email mailboxes using the "get-mailbox -arbitration command. The results are that there are two SystemMailbox objects and a FederatedEmail object and they all show the error: "WARNING: Database is mandatory on UserMailbox." I checked in AD, and the users exist in the standard Users container in AD as disabled user accounts. The articles I've read related to these errors all seem to say to rerun AdPrep, but only if the mailboxes are actually missing, which they aren't, so I'm not sure that to do. Can I somehow just remove and then recreate mailboxes for these user? Any help would be appreciated. Deb
July 24th, 2012 12:45pm

I've seen that. This post describes how to deal with the issue. It's not exactly your issue, but the idea is the same. http://www.paulbrown.us/blog/2009/12/16/adding-a-mailbox-server-role-to-exchange-2010-database-is-mandatory-on-usermailbox/Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
Free Windows Admin Tool Kit Click here and download it now
July 24th, 2012 12:51pm

Perfect! Worked like a charm - after entering the correct parameters for the HomeMDB for each user, I reran the get-mailbox -arbitration command and all three mailboxes show with no errors. I'll have to wait a bit to see if that eliminates the AuditLogSearch errors, but I'm pretty sure it will. Thanks for your help. Cheers, Deb
July 24th, 2012 1:23pm

You're welcome. Happy to have helped.Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
Free Windows Admin Tool Kit Click here and download it now
July 24th, 2012 3:53pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics