We are geeting error when run setup.exe /PrepareAD /IAcceptExchangeServerLicenseTerms in exchange server.

Md. Mahfuzur Rahman 346 Reputation points
2021-03-05T15:05:59.267+00:00

we are try to install exchange CU18, we are facing issue. when we run setup.exe /PrepareAD /IAcceptExchangeServerLicenseTerms, we got bellow error--

e following error was generated when "$error.Clear();
if ($RoleIsDatacenter -eq $false) { install-Container -Name
"Hybrid Configuration" -DomainController $RoleDomainController }

" was run:
"Microsoft.Exchange.Data.Directory.ADObjectAlreadyExistsException: Active Directory operation failed on
CIT01.city The object 'CN=Hybrid Configuration,CN=Cink,CN=Microsoft
Exchange,CN=Services,CN=Configuration,DC=cink,DC=bd' already exists. --->
System.DirectoryServices.Protocols.DirectoryOperationException: The object exists.
at
System.DirectoryServices.Protocols.LdapConnection.ConstructResponse(Int32 messageId, LdapOperation operation, ResultAll
resultType, TimeSpan requestTimeOut, Boolean exceptionOnTimeOut)
at
System.DirectoryServices.Protocols.LdapConnection.SendRequest(DirectoryRequest request, TimeSpan requestTimeout)
at
Microsoft.Exchange.Data.Directory.GuardedDirectoryExecution.Execute[T](String bucketName, Func1 action, Int64& concurrency) at Microsoft.Exchange.Data.Directory.PooledLdapConnection.GuardedSendRequest(String forestName, GuardedDirectoryExecution guardedDirectoryExecution, DirectoryRequest request, TimeSpan timeout, Func3
sendRequestDelegate, Int64& concurrency)
at
Microsoft.Exchange.Data.Directory.PooledLdapConnection.SendRequest(DirectoryRequest request, LdapOperation
ldapOperation, Nullable`1 clientSideSearchTimeout, IADLogContext logContext, Boolean shouldLogLastFilter)
at
Microsoft.Exchange.Data.Directory.ADDataSession.ExecuteModificationRequest(ADObject entry, DirectoryRequest request,
ADObjectId originalId, Boolean emptyObjectSessionOnException, Boolean isSync)

--- End of inner exception stack trace

at Microsoft.Exchange.Data.Directory.ADDataSession.AnalyzeDirectoryError(PooledLdapConnection connection,
DirectoryRequest request, DirectoryException de, Int32 totalRetries, Int32 retriesOnServer, String callerFilePath,
Int32 callerFileLine, String memberName)
at
Microsoft.Exchange.Data.Directory.ADDataSession.ExecuteModificationRequest(ADObject entry, DirectoryRequest request,
ADObjectId originalId, Boolean emptyObjectSessionOnException, Boolean isSync)
at
Microsoft.Exchange.Data.Directory.ADDataSession.Save(ADObject instanceToSave, IEnumerable1 properties, Boolean bypassValidation) at Microsoft.Exchange.Data.Directory.SystemConfiguration.ADConfigurationSession.Save(ADConfigurationObject instanceToSave, String callerFilePath, Int32 callerFileLine, String memberName) at Microsoft.Exchange.Data.Directory.SystemConfiguration.ADConfigurationSession.Microsoft.Exchange.Data.IConfigDataProvider.Save(IConfigurable instance, String callerFilePath, Int32 callerFileLine, String memberName) at Microsoft.Exchange.Configuration.Tasks.SetTaskBase1.InternalProcessRecord()
at
Microsoft.Exchange.Configuration.Tasks.NewTaskBase1.InternalProcessRecord() at Microsoft.Exchange.Configuration.Tasks.NewADTaskBase1.InternalProcessRecord()
at
Microsoft.Exchange.Configuration.Tasks.NewMultitenancyFixedNameSystemConfigurationObjectTask`1.InternalProcessRecord()

at Microsoft.Exchange.Management.Tasks.InstallContainerTaskBase`1.InternalProcessRecord()
at
Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__91_1()
at
Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean
terminatePipelineIfFailed)".

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,487 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Eric Yin-MSFT 4,386 Reputation points
    2021-03-08T07:06:16.177+00:00

    Hi,
    1 Are you installing a new Exchange server or updating CU version for an existing Exchange server?
    2 Are you running the command in administrator CMD?
    3 Make a backup and remove the "CN=Hybrid Configuration,CN=Cink,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=cink" via ADSI.Edit, run the PrepareAD again.
    4 If methods below does not solve the issue, please check the Exchange setuplog and post the error information.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.