Quick update on this...
I have been successful in creating a loop that does a 'for each x in y' using the results from the SQL query, and passing the output of the Loop to get the AD Object path of the user.
I am stuck at the 'Modify AD Group' task. I can run this task using manually entered data, but not variables. I am using {TASK(PrevTask,StdOut)} which should pull the user's LDAP path from the previous task and add the user to the group. Unfortunately I have not had any success in running this task using variables. Is anyone doing something similar using variables for this type of task?
Thanks