Hi @Anonymous ,
This issue occurs if there are duplicate UPNs. To resolve this issue, find the users who have duplicate UPNs, and then change the UPNs so that they are unique. You can follow the steps outlined in the troubleshooting guide for this exact issue:
Step 1: Check your local directory
Use the IdFix DirSync Error Remediation Tool to identify duplicate or invalid attributes.
To resolve duplicate attributes by using the IdFix Tool, see "Duplicate" is displayed in the ERROR column.
For more information about the IdFix tool, go to IdFix DirSync Error Remediation Tool.
Step 2: Check Azure AD
You can use the Office 365 portal or the Azure Active Directory Module for Windows PowerShell to check Azure AD for duplicate attributes.
If you know that you have a duplicate account you can also just delete the duplicate and keep the real account. You can refer to the conversation on this page to avoid such issues in the future.