I had a few of these and it came down to the AD attribute called displayNamePrintable having special characters.
WARNING: The object "AD Account" has been corrupted, and it's in an inconsistent state. The following validation errors happened:
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 .
3 answers
Sort by: Newest
-
-
Shahir Thottathil 1 Reputation point
2022-08-09T13:38:41.943+00:00 have you fixed the issue?
-
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:
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.