WARNING: The object "AD Account" has been corrupted, and it's in an inconsistent state. The following validation errors happened:

Hamzeh Smadi 1 Reputation point
2021-03-25T00:00:21.313+00:00

The following validation errors happened: WARNING: The property value username is invalid. The value can contain only 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '"', ''', '(', ')', '+', ',', '-', '.', '/', ':', '?', ' '. i can't retrive the mailbox by issuing get-mailbox -identity ..... , even if you try to get-user "......" the same error will appear .

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,932 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,369 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Eric Yin-MSFT 4,386 Reputation points
    2021-03-25T07:41:48.857+00:00

    Hi,
    Try renaming the user :
    1 Exchange command:

    Set-mailbox username -Name user1 -Displayname user1  
    

    2 Find the user in ADUC- ex.domain.com-Users, click property and rename the invalid value, here is an example:
    81416-3.png


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Shahir Thottathil 1 Reputation point
    2022-08-09T13:38:41.943+00:00

    have you fixed the issue?

    0 comments No comments