The CreatorCon Call for Content is officially open! Get started here.

How to add multiple users to Azure AD Groups?

User460980
Kilo Contributor

Hi,

I am new to integration, want to add multiple users to Azure AD group through service catalog and I am using flow designer for connections. So please give some suggestions. Thanks in advance.

1 ACCEPTED SOLUTION

If you want to add multiple users to the group, build the input with a flow variable before adding it to the "Add multiple users to group" action.

Step 0, create a flow variable that will contain users data

Step 1, get catalog variables (list collector values)

Step 2, do a look up of user records, where sysID is one of Step 1

Step 3, for every record found in step 2, add the appropriate data (not sysID) to the flow variable

Step 4, use the data in the flow variable as input to the "Add multiple users to group" action

View solution in original post

12 REPLIES 12

just add your field here, doesn't list collector just stores array of sys_ids

Best Regards
Aman Kumar

Can you confirm if this worked? If it did, feel free to mark it as correct, so future visitors can find resolution.

Thanks 🙂

Best Regards
Aman Kumar

Hi,

while using "for each" logic followed by "Add user to group" action it shows "logic error", for this i convert  list collector variables string to array. But it only have sys_id for the user, through this can't fetch user ID.

Please help me..

Thanks in Advance

find_real_file.png

If you want to add multiple users to the group, build the input with a flow variable before adding it to the "Add multiple users to group" action.

Step 0, create a flow variable that will contain users data

Step 1, get catalog variables (list collector values)

Step 2, do a look up of user records, where sysID is one of Step 1

Step 3, for every record found in step 2, add the appropriate data (not sysID) to the flow variable

Step 4, use the data in the flow variable as input to the "Add multiple users to group" action

Hi Olan, then what we need to do if we need to have multiple users in a group.