I am running into the common 8344 "Insufficient access rights to perform the operation"
I went through various tips/blogs and tried the following:
In AD, ensure that the user account performing the operations has inheritance enabled
Tried the following powershell command:
$DN = "DC=domain,DC=local"
$Account = "domain.LOCAL\AccountName"
$cmd = "dsacls $DN /I:S /G '`"$accountName`":RPWP;mS-DS-ConsistencyGuid;user'"
Invoke-Expression $cmd
It is trying to write back to the mS-DS-ConsistencyGuid but failing there.
Password writeback seems to be ok.
I am not sure what else to try other than what I have done