Link to home
Create AccountLog in
Avatar of SimonBrook
SimonBrook

asked on

OAB not generating, error in event viewer. DiscoveryMailbox?

Hi,

We are having issues with our OAB/GAL. If I try to "update" our OAB using the EMC, no errors appear but checking the event viewer I see.

Failed to save admin audit log for this cmdlet invocation. 
Organization:  
Log content:
Subject: PVI.local/MyBusiness/Users/SBSUsers/Caddington Users/Simon Brooker : Update-OfflineAddressBook
Body: 
Cmdlet Name: Update-OfflineAddressBook
Object Modified: \Default Offline Address List
Parameter: Identity = \Default Offline Address List
Caller: PVI.local/MyBusiness/Users/SBSUsers/Caddington Users/Simon Brooker
Succeeded: True
Error: None
Run Date: 2013-04-07T14:34:23
OriginatingServer: PVIEX01 (14.03.0123.002)
 
Error:
Exception thrown during AdminLogProvisioningHandler.Validate: Microsoft.Exchange.Data.Storage.ObjectNotFoundException: The discovery mailbox, a hidden default mailbox that is required to search mailboxes, can't be found. It may have been inadvertently deleted. This mailbox must be re-created before you can search mailboxes.
   at Microsoft.Exchange.Data.Storage.Infoworker.MailboxSearch.MailboxDataProvider.GetDiscoveryMailbox(ADRecipientSession session)
   at Microsoft.Exchange.Management.SystemConfigurationTasks.AdminAuditLogHelper.CheckArbitrationMailboxStatus(OrganizationId organizationId, ADUser& user, ExchangePrincipal& principal, String& errorMessage) 

Open in new window


Searching online I found this article http://closedrelay.blogspot.co.uk/2012/01/disovery-mailbox-cant-be-found.html.

When I run

Enable-Mailbox -Identity "SystemMailbox{e0dc1c29-89c3-4034-b678-e6c29d823ed9}" -Arbitration

Open in new window


I get the following error

The object is read-only because it was created in a version of Exchange later than Exchange 1.1 (15.0.0.0). Current sup
ported version is 1.0 (14.0.0.0).
    + CategoryInfo          : NotSpecified: (0:Int32) [Enable-Mailbox], InvalidObjectOperationException
    + FullyQualifiedErrorId : 7E7CC946,Microsoft.Exchange.Management.RecipientTasks.EnableMailbox
    + PSComputerName        : pviex01.pvi.local

Open in new window


I believe it's something to do with someone in the company installing an exchange 2013 box. When I run the setup /adprepare from Exchange 2010 sp3 media it tells me

C:\Users\simon.brooker\Desktop\sp3>setup /preparead

Welcome to Microsoft Exchange Server 2010 Unattended Setup

Preparing Exchange Setup

    Copying Setup Files                           COMPLETED

No server roles will be installed

Performing Microsoft Exchange Server Prerequisite Check

    Organization Checks                                       FAILED
     Setup encountered a problem while validating the state of Active Directory:
 The Active Directory organization configuration version (15449) is higher than
Setup's version(14322). Therefore, PrepareAD can't be executed.

     A reboot from a previous installation is pending. Please restart the system
 and rerun setup.


The Exchange Server setup operation didn't complete. More details can be found
in ExchangeSetup.log located in the <SystemDrive>:\ExchangeSetupLogs folder.

Exchange Server setup encountered an error.

Open in new window


Thanks,
Avatar of Manpreet SIngh Khatra
Manpreet SIngh Khatra
Flag of India image

Did you prepare forest for Exchange 2013 ?
What account is "Simon Brooker" ? Is this enabled with Mailbox or not ? Try enabling it

- Rancy
Avatar of SimonBrook
SimonBrook

ASKER

someone did yes. now If I run 2010 sp3 setup /preparead it wont allow me.

I succesfully ran the /preparead from the 2013 media and then ran the command

Enable-Mailbox -Identity "SystemMailbox{e0dc1c29-89c3-4034-b678-e6c29d823ed9}" -Arbitration

Open in new window


But I get

The object is read-only because it was created in a version of Exchange later than Exchange 1.1 (15.0.0.0). Current sup
ported version is 1.0 (14.0.0.0).
    + CategoryInfo          : NotSpecified: (0:Int32) [Enable-Mailbox], InvalidObjectOperationException
    + FullyQualifiedErrorId : 7E7CC946,Microsoft.Exchange.Management.RecipientTasks.EnableMailbox
    + PSComputerName        : pviex01.pvi.local

Open in new window


That user is me. With mailbox yes.
Considering you've already run prepareAD with E2013, you'd need to delete the mailbox FIRST and then recreate it using E2010 creds.

. If Discovery System Mailbox has been deleted then you will need to recreate it (Will not stop mail flow and will require no downtime)
Make sure the Mailbox SystemMailbox{e0dc1c29-89c3-4034-b678-e6c29d823ed9} is not present if it is you can delete it.
Install the Exchange media into a Domain Controller and run Setup /PrepareAD
Enable the mailbox using EMC - Enable-Mailbox -Identity "SystemMailbox{e0dc1c29-89c3-4034-b678-e6c29d823ed9}" -Arbitration

There is no way out.

Regards,
Exchange_Geek
I agree with Exchange_Geek ... you can try that first ... if not will suggest as dont want to create havoc with just suggestions

- Rancy
Please elaborate. How do I recreate it using 2010 creds?

If I delete it and run setup /preparead (using 2010 sp3 media) I get an error saying that it's at 2013 level. If I delete it and run setup /preparead using 2013 media the preparead runs fine, but within exchange 2010 EMC running

Enable-Mailbox -Identity "SystemMailbox{e0dc1c29-89c3-4034-b678-e6c29d823ed9}" -Arbitration

Open in new window



I get

The object is read-only because it was created in a version of Exchange later than Exchange 1.1 (15.0.0.0). Current sup
ported version is 1.0 (14.0.0.0).
    + CategoryInfo          : NotSpecified: (0:Int32) [Enable-Mailbox], InvalidObjectOperationException
    + FullyQualifiedErrorId : 7E7CC946,Microsoft.Exchange.Management.RecipientTasks.EnableMailbox
    + PSComputerName        : pviex01.pvi.local

Open in new window


Where can I run the command on 2013?
Are you deleting the mailbox ONLY - if yes, then delete the user account along with it.

Then follow my steps again.

Regards,
Exchange_Geek
Both are deleted and its setup /preparead (2013) that creates the DiscoveryMailbox/User. As said, 2010 media won't allow me to preparead. So it is always 2013 that recreate the mailbox and user.
Tried recreating mailbox manually. Attached error.
mailbox.jpg
What error do you get when you run /prepareAd from Exchange 2010 SP3 Files ?

- Rancy
This is SBS 2011 ??
C:\Users\simon.brooker\Desktop\sp3>setup /preparead

Welcome to Microsoft Exchange Server 2010 Unattended Setup

Preparing Exchange Setup

    Copying Setup Files                           COMPLETED

No server roles will be installed

Performing Microsoft Exchange Server Prerequisite Check

    Organization Checks                                       FAILED
     Setup encountered a problem while validating the state of Active Directory:
 The Active Directory organization configuration version (15449) is higher than
Setup's version(14322). Therefore, PrepareAD can't be executed.

     A reboot from a previous installation is pending. Please restart the system
 and rerun setup.


The Exchange Server setup operation didn't complete. More details can be found
in ExchangeSetup.log located in the <SystemDrive>:\ExchangeSetupLogs folder.

Exchange Server setup encountered an error.

Open in new window

A reboot from a previous installation is pending. Please restart the system and rerun setup
This also states after the upgrade till restart isnt done you cant do much this will be an issue

Look there is a catch that i saw someone use if you want i can let you know but i am not sure how that can affect ? Do let me know

- Rancy
Thanks,

will try reboot. but not sure the issue is related as per

Setup encountered a problem while validating the state of Active Directory:
 The Active Directory organization configuration version (15449) is higher than
Setup's version(14322). Therefore, PrepareAD can't be executed.

Open in new window

Ohk the catch is that there is an Attribute that has the Value assigned which Exchange reads and works .... changing that manually takes care of this issue and error

Exchange Schema Versions – Common Questions & Answers
http://social.technet.microsoft.com/wiki/contents/articles/2772.exchange-schema-versions-common-questions-answers.aspx

- Rancy
looks dangerous... I can't say I'm keen
rebooted same error without the request for reboot.

C:\Users\simon.brooker\Desktop\sp3>setup /preparead

Welcome to Microsoft Exchange Server 2010 Unattended Setup

Preparing Exchange Setup

    Copying Setup Files                           COMPLETED

No server roles will be installed

Performing Microsoft Exchange Server Prerequisite Check

    Organization Checks                                       FAILED
     Setup encountered a problem while validating the state of Active Directory:
 The Active Directory organization configuration version (15449) is higher than
Setup's version(14322). Therefore, PrepareAD can't be executed.


The Exchange Server setup operation didn't complete. More details can be found
in ExchangeSetup.log located in the <SystemDrive>:\ExchangeSetupLogs folder.

Exchange Server setup encountered an error.

C:\Users\simon.brooker\Desktop\sp3>

Open in new window

Try with RunAs Administrator .... thats the utmost if not not sure how that error can be skipped and do you take SystemState backup

- Rancy
been runas administrator throughout.
Quick question, why are you running prepareAD ?

Regards,
Exchange_Geek
ASKER CERTIFIED SOLUTION
Avatar of SimonBrook
SimonBrook

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Had to log a call with MS.