SharePoint User Profile - More than one DN specified for the same profile error in miislcient

Marc Cumos 126 Reputation points
2020-11-12T17:05:57.017+00:00

Hi All,

I ran the full user profile synch last night and after completion checked the logs and found the below

----------

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.AggregateException: One or more errors occurred. ---> System.InvalidOperationException: More than one DN specified for the same profile.  
   at Microsoft.Office.Server.UserProfiles.ProfileImportExportService.AddDNLookupTable(UserProfileApplicationProxy upaProxy, Guid partitionID, Int64 recordId, String objectType, String distinguishedName)  
   at Microsoft.Office.Server.UserProfiles.ProfileImportExportService.<>c__DisplayClass26.<UpdateWithProfileChangeData>b__24(Int32 idx)  
   at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1()  
   at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)  
   at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>)  
   --- End of inner exception stack trace ---  
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)  
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)  
   at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)  
   at System.Threading.Tasks.Parallel.For(Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body)  
   at Microsoft.Office.Server.UserProfiles.ProfileImportExportService.UpdateWithProfileChangeData(Int64 importExportId, ProfileChangeData[] profileChangeData)  
   --- End of inner exception stack trace ---  
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)  
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)  
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)  

----------

I went into the

miisclient and found the profile that was causing the problem.

39299-image.png

I'm not entirely sure how to proceed from here.

Should I delete this user's user profile in the UPSA?

or does this require an AD account delete?

Any help would be appreciated.

Might or might not be related to an issue i'm seeing with (Failure trying to synch web application 7dfbb1f4-9223-43c3-b817-249f5d9ffc2e, ContentDB 4f8566fb-77bc-43e4-9bad-05be4df5f0e2 Exception message was System.ArgumentException: An item with the same key has already been added.)

stsadm -o sync -listolddatabases 0

showing 1/1/0001 on all my web apps

SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,949 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sharath Kumar Aluri 3,071 Reputation points
    2020-11-12T18:51:02.083+00:00

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.