I did reply to you original post (or least to a question on how to update the AS from SQL Server) and noted that you cannot do this over a linked server.
I did also say that the CLR is an option, but given the complexity and red tape, I only see it as an option, if you are already using the CLR.
I think Tom's suggestion to use PowerShell is the best one.
If you really want to do it in the CLR, there are two things you need to learn:
- How to write a CLR procedure.
- How to access the AD through the CLR.
I have a sample of a CLR procedure here: http://www.sommarskog.se/share_data.html#CLR but there are better tutorials out there.
As for accessing the AD from CLR, you will need to inquire with a suitable tag in your post, and not an SQL Server tag.