Move-ADObject across domains for user?

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by Profile photo of Jeff Taylor Jeff Taylor 4 months, 1 week ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #39253
    Profile photo of Jeff Taylor
    Jeff Taylor
    Participant

    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 canada.fabrikam.com -Credential $creds -TargetPath "OU=destOU,DC=fabrikam,DC=com" -TargetServer fabrikam.com

    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
    Profile photo of Dan Potter
    Dan Potter
    Participant

    Infrastructure master.

    #39298
    Profile photo of Jeff Taylor
    Jeff Taylor
    Participant

    Thanks Dan

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.