Error Extending 2012 R2 AD Schema for Exchange 2013 RTM-CU6 (for Office 365 attributes)

Hello all,

I am a sysadmin at a 3 campus school, and am trying to extend our AD schema to include Exchange 2013 attributes so that we can configure groups synced to Office 365 using DirSync. However it keeps failing at the same point each time.

I have tried with RTM first, and then CU6, but I keep getting the same error and am unsure how to fix it.

"repadmin /showrepl" says that our 3 DCs are replicating with no issues, and I'm trying to extend the schema using an "Enterprise Admin"/"Schema Admin" account on our schema master DC.

Our domain/forest functional level is Server 2008R2, and we do not have an Exchange server set up already - if that helps.

The PowerShell error is:

PS C:\Users\rbbr\Desktop\Exchange> .\setup /PrepareSchema /IAcceptExchangeServerLicenseTerms

Welcome to Microsoft Exchange Server 2013 Cumulative Update 6 Unattended Setup
Copying Files...
File copy complete. Setup will now collect additional information needed for installation.

Performing Microsoft Exchange Server Prerequisite Check

    Prerequisite Analysis                                                                             COMPLETED

Configuring Microsoft Exchange Server

    Extending Active Directory schema                                                                 FAILED
     The following error was generated when "$error.Clear();
        install-ExchangeSchema -LdapFileName ($roleInstallPath + "Setup\Data\"+$RoleSchemaPrefix + "schema89.ldf")

" was run: "Microsoft.Exchange.Configuration.Tasks.TaskException: There was an error while running 'ldifde.exe' to impor
t the schema file 'C:\Windows\Temp\ExchangeSetup\Setup\Data\schema89.ldf'. The error code is: 8245. More details can be
found in the error file: 'C:\Users\rbbr\AppData\Local\Temp\ldif.err'
   at Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory, Object ta
rget, String helpUrl)
   at Microsoft.Exchange.Management.Deployment.InstallExchangeSchema.ImportSchemaFile(String schemaMasterServer, String
schemaFilePath, String macroName, String macroValue, WriteVerboseDelegate writeVerbose)
   at Microsoft.Exchange.Management.Deployment.InstallExchangeSchema.InternalProcessRecord()
   at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
   at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePip
elineIfFailed)".


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

And ldif.err says:

Entry DN: CN=ms-DS-GeoCoordinates-Altitude,CN=Schema,CN=Configuration,DC=kurnai,DC=lan
Add error on entry starting on line 452: Unwilling To Perform

The server side error is: 0x20bb Schema update failed: duplicate OID.

The extended server error is:

000020BB: SvcErr: DSID-032603C0, problem 5003 (WILL_NOT_PERFORM), data 8379


An error has occurred in the program

The schema attribute "CN=ms-DS-GeoCoordinates-Altitude,CN=Schema,CN=Configuration,DC=kurnai,DC=lan" does exist in the schema, but I don't know what to do or where to go from here.

Any assistance would be greatly appreciated.

  • Moved by Mahdi Tehrani Friday, March 20, 2015 4:30 AM related to Exhange
March 19th, 2015 11:52pm

using setup.exe /preparead? yea, i tried that and it failed too. Same error I think, but I can try again on Monday.
Free Windows Admin Tool Kit Click here and download it now
March 21st, 2015 4:07am

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

Other recent topics Other recent topics