flow designer -active directory spoke v2- add user to groups

LakshminnSn
Tera Expert

HI all

I am trying to use the Microsoft Active directory v2 spoke - Action  Add User to Groups

Our catalog form currently allows user to be added to single group only and has a variable called Groupname (allows only one group selection)

 

In the flow designer Add User to Groups there is a mandatory input Group Names  array.string type

 

Will i be able to just pass my string value from catalog form to the Group name 1  i.e the first array element and leave the Group Names array blank and get the user added to Active directory - will this work

 

LakshminnSn_1-1708936612377.png

 

 

1 ACCEPTED SOLUTION

Finally i was able to test this in my Dev environment but i used the Add Users to Group , It works with a single user as well ,  the workflow just passed a  single user as a string and not an array but still the action completed successfully .Using that string input  the action Add Users to Group action formats an array of string  and uses it

View solution in original post

9 REPLIES 9

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @LakshminnSn 

 

I think, no, as it is mandatory. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

elaine10
Tera Guru

I am having the same issue. Was trying to convert my older flows to use v2. The AD Spoke (v1) originally has an action to Add User (singular) to Group (singular), which we currently use in many flows. I am guessing that I will not be converting these actions yet, which is rather annoying. Not sure why they choose to not convert this one to v2?

Finally i was able to test this in my Dev environment but i used the Add Users to Group , It works with a single user as well ,  the workflow just passed a  single user as a string and not an array but still the action completed successfully .Using that string input  the action Add Users to Group action formats an array of string  and uses it

Thanks so much for following up! I will try this option.