Windows cannot create the object “Username” because: The name reference is invalid.

By |2017-12-11T14:39:01+00:00June 18th, 2013|Windows|0 Comments

A Support Customer of ours recently had an issue when trying to copy certain user accounts, every time they tried to do it they got the following error “Windows cannot create the object “Username” because: The name reference is invalid.”



We found out this issue was due to the users that they were trying to copy had the following Ad attribute “ShowinAddresssBook” set to a  Deleted objects container (“CN=Default Global Address ListADEL:ebd91a78-78f0-4e1c-a5f2-cd321d9f3621,CN=Deleted Objects,CN=Configuration,DC=Test,DC=com“.)

We believe this occurred due to a recent Exchange 2003 decommission. To resolve this we ran the following command from Exchange 2010 management shell:

Get-mailbox | Where {$_.AddressListMembership –like “*deleted*” | Update-Recipient

This command updated the showinaddressbook attribute to a Exchange 2010 GAL and we were then able to copy the user accounts with no issues Smile

Leave A Comment

like what you see? 

Sign-up to our newsletter and never miss out on the latest blogs, events and tech news from the world of risual
Give it a try, you can unsubscribe anytime.