Exchange 2010 Error – Property expression “username” isn’t valid. Valid values are: Strings that includes ‘@’, where ‘@’ cannot be the last character…

MS Exchange

I came across this error today while getting the properties of a legacy mailbox in a co-existing Exchange environment (2003 & 2010). The same error will be thrown if you try to move the mailbox from Exchange 2003 to 2010.

WARNING: The object domain.local/Users/User has been corrupted, and it’s in an inconsistent state. The following validation errors happened:
WARNING: Property expression "User" isn’t valid. Valid values are: Strings that includes ‘@’, where ‘@’ cannot be the last character.

I immediately checked to see whether there is an “@” at the end of the username, but there wasn’t!

The issue was that the UPN was not filled in properly. The “domain part” was blank and Exchange sees the account as “username@”, which it doesn’t like.

UPN Blank

Once the UPN was filled in properly, Exchange was happy and I could move the mailbox to 2010 Winking smile

Other Popular Articles


MS Exchange

Scripting Agent Initialization Failed: “File is not found” Error During Exchange 2016 Setup

MS Exchange

EAC Access While Co-Existing Exchange 2013 With 2010

MS Exchange

Delete All Calendar Entries In An Exchange 2010 Mailbox

28 thoughts on “Exchange 2010 Error – Property expression “username” isn’t valid. Valid values are: Strings that includes ‘@’, where ‘@’ cannot be the last character…”

  1. Wow! I was looking for a solution for this and accidentally came across this site!
    It is solved the issue for me (Had to do Start-ADSyncSyncCycle -PolicyType Initial)

    Thank you so much!

    Reply
  2. I had a similar issue to Philip, the UPN domain part was not blank in the Exchange Management Console, but it was blank in the AD user. Once I changed it there I was able to disable the mailbox

    Reply
  3. I have the same issue but my domain is not blank

    I am on Exchange 2013, This is only affecting one mail box and user account. I can still access the account on a users PC but i now need to give access to a new user. This error is stopping me from adding this to the new account.

    Full error: Property Extension “Username@” isn’t valid. Valid values are: Strings that includes “@”, where “@” cannot be the last character.

    I have checked the username and this isn’t the case.

    Thanks
    Phillip

    Reply
  4. I can confirm this works on Exchange 2013. We had accidentally deleted some AD users accidentally using Delete instead of Disable in Exchange and recovered them from AD tombstone. That UPN field had not populated back on those users.

    Much appreciated!

    Reply
  5. Spot on! Thanks for the post. :)

    Now to figure out how these fields got blanked out to begin with, as these were populated before……..

    Reply

Leave a Comment