Add SIDHistory to account post migration

Lino Oggiano 20 Reputation points
2023-11-03T21:08:42.9766667+00:00

Hi everyone,

after migrating users from the old DC (old_dc) to the new DC (new_dc) I realized that some users do not have the SidHistory. How can I do ?

I used PowerShell: $UserName = "NOMEUTENTE" $SIDHistoryToAdd = "SID DA AGGIUNGERE" $User = Get-ADUser -Identity $UserName $User | Set-ADObject -Add @{SIDHistory = $SIDHistoryToAdd}

But it gives me Access Denied, what am I doing wrong?

Windows Server Migration
Windows Server Migration
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Migration: The process of making existing applications and data work on a different computer or operating system.
408 questions
0 comments No comments
{count} votes

Accepted answer
  1. Luis Arias 4,871 Reputation points
    2023-11-03T23:44:42.0066667+00:00

    Hi Lino,

    You need to cotinue using ADMT to address this task, specially with checking log if there sid history doesn't copy it.

    Let me share you one resource to troubleshoot your process:

    https://learn.microsoft.com/en-us/troubleshoot/windows-server/identity/inter-forest-sidhistory-migration-with-admt

    An additional resources with part of the execution of ADMT to deal with this migration:

    https://learn.microsoft.com/en-us/answers/questions/338925/migrate-source-domain(old)-to-target-domain(new)-w?page=3
    Cheers,
    Luis


0 additional answers

Sort by: Most helpful