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

OlaN
Giga Sage
Giga Sage

Hi,

You will have to add them one at a time, since the Azure AD spoke only provides a method for adding a single user to a group.

find_real_file.png

User460980
Kilo Contributor

Hi,

can I use this method?

find_real_file.png

Yes, I guess so, funny, I never noticed that one 🙂

If using that action, you will need to provide a list of userIDs instead of providing them one at a time.

User460980
Kilo Contributor

Hi,

I am using list collector, how can I give array.string in user IDs

.find_real_file.png