Fix it now
Entra ID rejected an object because an attribute broke a size, length or count limit in its schema. Microsoft names the usual offenders: userCertificate, userSMIMECertificate, thumbnailPhoto and proxyAddresses. The object stops synchronising while everything else carries on, which is why these go unnoticed for months.
Start-ADSyncSyncCycle -PolicyType Delta
- On the synchronisation server, open Synchronization Service Manager, select Operations and open the failed export to find which object and which attribute is at fault.
- Check the certificate attribute first. Microsoft documents a hard limit of 15 certificates in userCertificate, and nothing on-premises objects to the pile growing past it.
- Check proxyAddresses next. The documented limit is approximately 300 SMTP addresses, varying with what else is populated on the object.
- Export the current values of the offending attribute to a file before you change anything, so the change can be undone.
- Remove what is no longer required at source in Active Directory – revoked or expired certificates, outdated SMTP, X.400, X.500, MSMail or CcMail addresses – or exclude the attribute from synchronisation if no cloud service reads it.
- Run the delta cycle above and confirm that object now exports cleanly.
If the export clears, you are done. If the failure is a validation error rather than a size one, the next section explains the difference, because they need different fixes.
Why it happens
Microsoft documents LargeObject and ExceededAllowedLength together: the error occurs when an attribute exceeds the allowed size limit, length limit or count limit set by the Entra schema, and it typically occurs for userCertificate, userSMIMECertificate, thumbnailPhoto or proxyAddresses. Three specific limits are published – a hard limit of 15 certificates in userCertificate, an approximate limit of 300 SMTP addresses in proxyAddresses that varies with the other attributes populated on the object, and up to 100 directory extensions of at most 250 characters each.
Certificates are the common one because nothing prunes them. Every smart card renewal, mail signing certificate and network authentication certificate can add another value to the user object, and Active Directory stores the pile happily. The cloud object has a ceiling, so at some point an export that worked last month stops working with no change anybody made deliberately. Photographs are the second: thumbnailPhoto is named for what it is meant to hold, and a bulk import that writes full-resolution portraits into it produces exactly this failure across a batch of people. Address lists are the third, accumulating through migrations, address policies and renamings.
The validation family sits alongside these and needs a different fix. Microsoft documents IdentityDataValidationFailed and DataValidationFailed as Entra ID enforcing data restrictions before allowing data to be written, with three common scenarios: the userPrincipalName has invalid or unsupported characters, the userPrincipalName does not follow the required format, or onPremisesObjectIdentifier changed as the result of a hard match operation. Those are shape problems, not size problems – trimming an attribute will not help, and the last of the three points back at a matching operation rather than at the object.
Certificates have accumulated on the user object
You have this one if The export names the certificate attribute, on somebody who has held a smart card or a signing certificate for years.
- Export the existing values to a file as a backup.
- Remove revoked or expired certificates at source, keeping any still in use, and bring the count under 15.
- If no cloud service reads the attribute, exclude it from synchronisation rather than pruning it every year.
A full-size photograph is in the thumbnail attribute
You have this one if The failure appeared after a bulk photograph import and affects the people who were in it.
- Replace the value with a genuinely small image, or clear it.
- Set profile photographs in the cloud service instead, where the size handling is designed for it.
- Check whether the import script that caused it is scheduled to run again.
The address list has grown too large
You have this one if The export names proxyAddresses, on a long-lived object that has been through migrations or renamings.
- List the addresses and identify which are still receiving mail.
- Remove outdated or unnecessary addresses – SMTP, X.400, X.500, MSMail and CcMail all count towards the object.
- Warn the mailbox owner before removing an address, because deliveries to it will start failing.
Removing an address that is still in use produces bounced mail rather than a visible error, so this is worth checking rather than assuming.
The user principal name is the wrong shape
You have this one if IdentityDataValidationFailed or DataValidationFailed with no size complaint, often on a newly created or recently edited account.
- Check the userPrincipalName for unsupported characters and for the required format.
- Correct it at source in Active Directory rather than in the cloud copy.
- Run the same check across the organisational unit, because whatever created one bad value usually created several.
The failure followed a hard match
You have this one if A validation failure where onPremisesObjectIdentifier changed as a result of a hard match operation.
- Treat it as a matching problem, not an attribute problem.
- Follow the documented hard match recovery paths rather than editing attributes on the object.
- Confirm which object was meant to own the identity before rerunning the cycle.
Full reference
The published limits, in one place
| Attribute | Documented limit |
|---|---|
| userCertificate | A hard limit of 15 certificates |
| proxyAddresses | Approximately 300 SMTP addresses, varying with the other attributes populated |
| Directory extensions | Up to 100, each at most 250 characters |
| userSMIMECertificate | Named by Microsoft among the attributes that typically trigger this error |
| thumbnailPhoto | Named by Microsoft among the attributes that typically trigger this error |
Working out which limit you hit
| What the export names | What to check on the source object |
|---|---|
| A certificate attribute | How many values have accumulated, and whether any are still in use |
| thumbnailPhoto | Whether a full-size image was written into it |
| proxyAddresses | How many aliases the object carries and whether they are all still needed |
| A single named attribute, too long | The specific value, corrected at source |
| A validation failure with no size complaint | Invalid characters or a malformed userPrincipalName |
| An object nobody recognises | Whether it should be in the synchronisation scope at all |
Clearing a certificate attribute is destructive if those certificates are in use for smart card sign-in, mail signing or network authentication. Export the current values to a file first, and confirm with whoever runs your certificate services before removing anything.
Trimming without breaking something
- Export the attribute’s current values for the affected object to a file, and keep it somewhere you will find it again.
- Identify which values are revoked, expired or superseded – those are the safe removals.
- Remove them at source in Active Directory, not in the cloud copy.
- Run a delta cycle and confirm the export clears for that object.
- Decide whether to exclude the attribute from synchronisation altogether, so the same object does not come back next year.
Excluding an attribute rather than pruning it
If no cloud service you use reads an attribute, excluding it from synchronisation is a cleaner answer than pruning it repeatedly. The decision needs checking rather than assuming, because some certificate-based authentication and mail signing arrangements do read userCertificate from the directory. Establish what depends on it before you exclude it, not after – the failure mode is silent and turns up weeks later as an authentication problem nobody connects to a sync change.
On the two event IDs
Event ID 6803 and Event ID 6100 are frequently quoted next to these failures, and Microsoft publishes no meaning for either. They are not a diagnosis. The export result in Synchronization Service Manager names the object, the attribute and the limit, and Microsoft Entra Connect Health sync reports give the same information without opening a console on the server. Work from those.
Every code this article covers
| Code | What it points at | Source |
|---|---|---|
LargeObject |
An attribute exceeds the allowed size, length or count limit set by the Entra schema; typically userCertificate, userSMIMECertificate, thumbnailPhoto or proxyAddresses | Microsoft Learn |
ExceededAllowedLength |
Documented together with LargeObject as the same class of size, length or count limit failure | Microsoft Learn |
IdentityDataValidationFailed |
Entra ID enforces data restrictions before writing; commonly an invalid or unsupported character in userPrincipalName, a UPN that does not follow the required format, or onPremisesObjectIdentifier changed by a hard match | Microsoft Learn |
DataValidationFailed |
Documented together with IdentityDataValidationFailed as the same class of validation failure | Microsoft Learn |
Event ID 6803 |
Quoted alongside failed synchronisation runs. Microsoft publishes no meaning for this event ID; read the export result instead | not published by the vendor |
Event ID 6100 |
Quoted alongside synchronisation failures. Microsoft publishes no meaning for this event ID; read the export result instead | not published by the vendor |
Confirm the fix worked
- The export run completes with no errors for the object you corrected.
- The object’s attributes in the cloud reflect the values you expect.
- A backup of anything you removed exists and is somewhere you can find it again.
- The next scheduled cycle also runs clean, confirming the change was made at source.
Questions people ask about this
Does fixing this need a purchase?
No. This is attribute hygiene on your own directory. There is no licence, plan or add-on that raises the limits or changes the behaviour.
How many certificates is too many?
Microsoft documents a hard limit of 15 values in userCertificate. Anything above that will fail the export, and long-serving smart card users pass it without anybody noticing.
Will excluding the certificate attribute break anything in the cloud?
It depends on whether any cloud service you use reads it – some certificate-based authentication and mail signing arrangements do. Check what depends on it before excluding it, rather than after.
Does the rest of the directory keep synchronising?
Yes. Only the offending object is blocked. That is also why these errors go unnoticed: nobody notices one account not updating until somebody tries to use it.
The error mentions the UPN but the object is small. What now?
That is the validation family rather than the size family. Check the userPrincipalName for unsupported characters and for the required format, and check whether a hard match recently changed onPremisesObjectIdentifier.
