Automate HR AD User attributes and import in OnPremise AD

Copper Contributor

Hi,

I have a requirement to extract the DN of the members from Domain local Group and members are from trusted domain(remote) as the company merged so it is 2 separate Forests.

 

I need to update the users attribute in the Domain1 with HR database CSV file and also the members DN(Foreign Security Principal) from the Domain Local Group for the manager Attribute to be populated.

 

Is there a script that can be executed as scheduled task so the CSV file is imported in AD for updating the users? Set-Aduser and Get-aduser comes to mind but any tested solution for automation?

 

Similar to the config highlighted in this thread I am looking to implement as well.

https://social.technet.microsoft.com/Forums/windows/en-US/b9a23ef0-374e-4d87-8fc9-d9475825d926/cant-...

 

Thanks,

M

2 Replies
What is DN, Destinguage Name. Based on what I know, you cannot update this. It's a read-only value.
Just check the link I provided I am trying to implement similar solution but with updating manager attribute from different forest.