Getting error while installing Exchange on new server in Existing Exchange environment

I am installing Exchange 2016 CU8 in exisiting Exchange environment ( Existing Exchange servers  running with Exchange 2016 CU1). However, I am getting below error at first step of Exchange installation. Can any one please guide.

The following error was generated when "$error.Clear();
          $arbMbxname = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]::DiscoveryMailboxUniqueName;
          $arbMbxLastName = "MsExchDiscoveryMailbox D919BA05-46A6-415f-80AD-7E09334BB852";
          $arbUser = @(Get-User -Filter {LastName -eq $arbMbxLastName} -IgnoreDefaultScope -ResultSize 1);
          if ($arbUser.Length -eq 0)
            Install-UserAccount -Name $arbMbxname -LastName $arbMbxLastName;
        " was run: "Microsoft.Exchange.Data.Directory.ADConstraintViolationException: An Active Directory Constraint Violation error occurred on Additional information: The operation failed because UPN value provided for addition/modification is not unique forest-wide.
Active directory response: 000021C8: AtrErr: DSID-03200BF3, #1:
      0: 000021C8: DSID-03200BF3, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 90290 (userPrincipalName)
 ---> System.DirectoryServices.Protocols.DirectoryOperationException: A value in the request is invalid.
   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, Func`1 action, Int64& concurrency)
   at Microsoft.Exchange.Data.Directory.PooledLdapConnection.GuardedSendRequest(String forestName, GuardedDirectoryExecution guardedDirectoryExecution, DirectoryRequest request, TimeSpan timeout, Func`3 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)
Muhammad AsifSenior Solutions ArchitectAsked:
Who is Participating?
Muhammad AsifConnect With a Mentor Senior Solutions ArchitectAuthor Commented:
I have managed to resolve this case. The issue was comming due to discover mailbox object with name "MsExchDiscoveryMailbox D919BA05-46A6-415f-80AD-7E09334BB852 " in AD.

I have renamed the object and UPN of it in AD and after that Exchange setup was completed successfully.
Todd NelsonConnect With a Mentor Systems EngineerCommented:
Muhammad AsifSenior Solutions ArchitectAuthor Commented:
HI Todd,

Thanks for providing me the link. I have gone through the link but not able to grab it . Can you please let me know what and which duplicate entries cause this issue?
Muhammad AsifSenior Solutions ArchitectAuthor Commented:
I have managed to resolve this case by myself.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.