Fix "Data Validation Failure Error" in Azure AD

Hugh O'Keeffe 0 Reputation points
2023-05-22T08:16:24.02+00:00

I'm getting a "Data Validation Failure Error" for an on prem synced user to AAD.

Description: The object failed to be synchronized because the attribute did not meet the validation requirements (format, character set etc.) of Azure AD.

I fixed the UPN attribute on prem but the error still persists and the user still have not synced.

Windows for business | Windows Client for IT Pros | Directory services | Active Directory
Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

2 answers

Sort by: Most helpful
  1. James Hamil 27,221 Reputation points Microsoft Employee Moderator
    2023-05-22T19:54:21.89+00:00

    Hi @Hugh O'Keeffe , can you manually update the UPN attribute on AAD? If that still doesn't work follow these troubleshooting steps:

    1. Verify that the UserPrincipalName (UPN) attribute you fixed on-premises meets the validation requirements of Azure AD.
    2. Ensure that the on-premises user object has been synchronized to Azure AD after the UPN attribute change. You can force a synchronization using Azure AD Connect.
    3. Check the Synchronization Service Manager to see if there are any descriptive errors on the object.
    4. If the issue persists, consider reviewing other attributes that might be causing the validation failure, such as the MailNickName attribute.

    Please let me know if you have any questions and I can help you further.

    If this answer helps you please mark "Accept Answer" so other users can reference it.

    Thank you,

    James

    2 people found this answer helpful.
    0 comments No comments

  2. David Dawson 100 86 Reputation points
    2024-01-18T18:03:39.67+00:00

    I found this post because of the same error message. I found that it was because we used o with an accent mark and then found this article saying that the allowed characters in a username are A-Z, a-z, 0-9.\

    "Invalid user name" when you try to create a user name that contains a special character in Microsoft 365\

    You can use a wider range of characters in the Display Name, so this met the requirements. The Display name can include ó and á but the username cannot. Once we corrected this the sync completed without error.

    0 comments No comments

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.