Move-ADObject across domains for user?

This topic contains 2 replies, has 2 voices, and was last updated by  Jeff Taylor 1 year, 10 months ago.

  • Author
  • #39253

    Jeff Taylor

    Consulted Get-Help -ex for Move-ADObject and saw this:

    Example 4: Move an object specified by distinguished name

    This command moves an object with the distinguished name CN=Peter Bankov,OU=Accounting,DC=Fabrikam,DC=com to a different domain.

    ...but when I try it under Administrator prompt (Powershell 5) in the fabrikam root domain:

    Move-ADObject -Identity "CN=EngineerUser,OU=Users,OU=Administrative Accounts,DC=canada,DC=fabrikam,DC=com" -server -Credential $creds -TargetPath "OU=destOU,DC=fabrikam,DC=com" -TargetServer

    I get an error: Move-ADObject : The requested operation could not be performed because the directory service is not the master for that type of operation

    What master? The RID Master?

  • #39265

    Dan Potter

    Infrastructure master.

  • #39298

    Jeff Taylor

    Thanks Dan

You must be logged in to reply to this topic.