- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2022 02:38 AM
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.
Solved! Go to Solution.
- Labels:
-
Integrations

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-20-2022 11:41 PM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2022 11:56 PM
Hi,
As you can see in the attached picture in my first reply, there is an option to add multiple users to a group.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2022 04:55 AM
What you can do is, to get the list of users in list collector whom you want to add in AD group, and use "Foreach" in flow designer and iterate through records to pass the parameters in Add User to group action
Here's one ref article:
https://docs.servicenow.com/bundle/paris-servicenow-platform/page/administer/flow-designer/concept/flow-logic-for-each.html
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-11-2022 06:13 AM
Hi is this Automation works adding multiple users to Azure ad from ServiceNow instead of single user.