Microsoft 365 Administrator Expert MS-102 Practice Question
You administer a hybrid identity environment that uses Microsoft Entra Connect Sync to synchronize an on-premises Active Directory forest to a Microsoft Entra tenant. New users created yesterday in Active Directory are not present in Entra ID. In Synchronization Service Manager on the Azure AD connector, the export step shows several objects with status Error and the message "ConstraintViolationError: attributeValueMustBeUnique (mail)". You need to restore successful synchronization with the least administrative effort. Which action should you perform first?
Create a custom Azure AD Connect outbound synchronization rule to stop exporting the mail attribute.
Start a full synchronization cycle by running Start-ADSyncSyncCycle -PolicyType Initial on the Azure AD Connect server.
Run the IdFix tool against Active Directory and correct any duplicate mail or proxyAddresses values.
Enable staging mode on the current Azure AD Connect server and build a new production server for a fresh full sync.
The attributeValueMustBeUnique error indicates that one or more objects about to be exported contain a mail-related value (mail or proxyAddresses) that is already in use by a different object in the Microsoft Entra directory. Azure AD Connect blocks the export until the duplicate values are removed. IdFix is the Microsoft-provided utility designed to scan on-premises Active Directory, identify such duplicate or invalid attribute values, and assist with their remediation. After running IdFix and correcting the duplicates, the next synchronization cycle will export the affected objects successfully.
Excluding the mail attribute or creating custom sync rules does not address the underlying duplicate data and can create additional issues. Switching to staging mode and rebuilding the server is unnecessary overhead when the problem is data quality. Forcing a full synchronization without fixing the duplicates will simply reproduce the same export errors.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is IdFix, and how does it help resolve attribute value issues?
Open an interactive chat with Bash
What is the ConstraintViolationError with attributeValueMustBeUnique (mail)?
Open an interactive chat with Bash
Why can’t the mail attribute simply be excluded from synchronization to fix this issue?
Open an interactive chat with Bash
Microsoft 365 Administrator Expert MS-102
Implement and manage Microsoft Entra identity and access
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .