Wednesday, 27 November 2013

"User Properties on this object has invalid data..."

While working on a Exchange 2010 mailbox, I happen to face a situation where I was not able to edit its properties.

When I search the mailbox in EMC console and right click to go to the mailbox properties, I get the below error, warning rather :


When I click "Cancel" the complete properties windows becomes GREYED out however when I click "OK", it gives me a editable screen of the user mailbox properties but later it gives me the below screen :




I then followed the various articles in the net to check if the "User Principle Name" in "Account" tab is set incorrectly as mentioned in the reference articles. But for my surprise, the attribute is already set correctly with a proper domain name :

                      Note : See that the value already has @ symbol and a proper domain name

So I was left out with an option to check the properties of this mailbox in ADSI edit (Run -> adsiedit.msc).
I checked the "userPrncipalName" attribute for the affected mailbox and found it only had the alias name but not the complete name with @domain.com. 

I then edited the attributed with the complete name but that did not work. So I cleared the attribute and HURRAY, it WORKED !!