Management

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 785 other subscribers

Social

  • LinkedIn
  • RSS Feed for Posts
  • Twitter
  • StumbleUpon

[Solved] The name reference is invalid

This week I had a customer who just migrated from local Exchange to office 365.

All users are synced to Office 365 by means of AADConnect, so the local AD is leading.

After the migration the customer wanted to create a new user, by means of copying an existing user. During the copy action the customer received this error:

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

This error occurs due to the decommissioning of Exchange.

When you check this existing user in AD, and look for the attribute showInAddressBook, you see the value:

CN=Default Global Address List\0ADEL:5bad8f2d-b519-4d96-a2cb-e1b16dcfb958,CN=Deleted Objects,CN=Configuration,DC=DOMAIN,DC=LOCAL

 

Solution:

Option 1 : Manually

Change this value for this (and every user) manually

 

Option 2 : Without an Exchange installation

Change this value by means of powershell on the domain controller (Be sure to test is in a test environment first !)

 

 

Option 3 : With Exchange installation

Change this value by means of Exchange powershell on the exchange server (Be sure to test is in a test environment first !)

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.