i need to create a flow that adds the user to the AD groups selected in a list collector variable

AanchalS
Tera Contributor

i need to create a flow that adds the user to the AD groups selected in a list collector variable using microsoft entra spoke action Add user to groups, how can i do that

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@AanchalS 

you can iterate that list collector using For Each and then invoke the Flow action and pass the user and group

what did you start and where are you stuck?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

the add user to groups action needs two inputs the username and the groups in array.string format, is the list collector value already in this format?