I Get this error: "Windows cannot create the object XXXXX because: The name reference is invalid" when I copy a User.

Thomas Nielsen 21 Reputation points
2022-01-17T13:50:49.98+00:00

Hi forum.

I Get this error: "Windows cannot create the object XXXXX because: The name reference is invalid" when I copy a User and the manager attribute is set (Manger user object is located in sub AD Domain)

If I clear the manager attribute, I can copy the user object without problems.

According to my client: it did use to work.

The problem is not related to the "showInAddressBook" AD attribute or "AddressListMembership" mailbox attribute.

Windows for business Windows Client for IT Pros Directory services Active Directory
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 39,916 Reputation points
    2022-01-17T18:49:34.407+00:00

    Hello @Thomas Nielsen

    is it possible that Exchange is installed in a forest having multiple domains? If Exchange is deployed in a forest environment, then the configuration below is required on the Exchange server so that the scope of the search can be set to the entire forest.

    Follow these steps:

    Open the Exchange Management Shell.
    Run this command:
    Set-ADServerSettings -ViewEntireForest $True

    Hope this helps with your query!

    ---------
    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.