Requirement: Add Multiple Users to an AD Group via Flow Designer in ServiceNow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2025 02:05 AM
Requirement: Add Multiple Users to an AD Group via Flow Designer in ServiceNow
We want to design a Flow in ServiceNow to add users to an Active Directory (AD) group using three different input methods. The process must check if a user is already a member of the target AD group — if they are, the flow should skip them; if not, the user should be added to the group.
Option 1: Add Users by User ID
A field should auto-populate when "Add User by User ID" is selected.
The input should accept multiple User IDs, separated by commas (e.g., Satish_S, Ajit_S, Ritesh_S, Nikhi_S, Manish_s).
For each user ID:
Check if the user is already a member of the selected AD group.
If not a member, add the user to the group.
If already a member, skip the user.
Option 2: Add Users by Email ID
A field should auto-populate when "Add User by Email ID" is selected.
The input should accept multiple email addresses, separated by commas (e.g., Satish_S@gmail.com, Ajit_S@gmail.com, Ritesh_S@gmail.com, Nikhi_S@gmail.com, Raj_S@gmail.com).
For each email:
Check if the user exists and is already a member of the selected AD group.
If not a member, add the user to the group.
If already a member, skip the user.
Option 3: Add Users by Full Name
A field should auto-populate when "Add User by Full Name" is selected.
The input should accept multiple full names, separated by commas (e.g., Satish Singh, Ajit Singh, Ritesh Singh, Amit Singh, Manish Singh).
For each name:
Match the full name to the corresponding user record.
Check if the user is already a member of the selected AD group.
If not a member, add the user to the group.
If already a member, skip the user.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2025 02:35 AM
Refer to below community post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2025 03:19 AM
Hello @Alex78 ,
I just got a bit confused reading through your post — wasn’t sure if you were just outlining the requirement or actually looking for help in building the flow?
If you're trying to implement this in Flow Designer, then yes, it's definitely doable. You can create a flow that accepts input (User ID, Email, or Full Name), checks if each user is already part of the selected AD group, and adds them only if they aren’t already a member.
Assuming you're planning to trigger this from an RITM or maybe even as a scheduled/standalone flow, here's the rough approach:
-
Use the Microsoft AD V2 or even the standard Microsoft AD spoke to check if the user is already a member of the group.
-
If the result is false (i.e., user is not a member), then proceed with the "Add user to group" action — this can be done using the normal MS AD spoke as well.
Please refer to the image below and let me know if this is what you were aiming for, or if you're looking for something more specific. Happy to help further if needed.
🔹 Please mark ✅ Correct if this solves your query, and 👍 Helpful if you found the response valuable.
Best regards,
Aniket Chavan
🏆 ServiceNow MVP 2025 | 🌟 ServiceNow Rising Star 2024
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2025 03:31 AM
Hello @Alex78 ,
Just wanted to check in to see if my earlier response helped you out or if you're still facing any issues. If your query is resolved, it would be great if you could mark my reply as helpful and accept it as the solution — that way it can also benefit others who come across the thread later.😊
Let me know if you need anything else!
Best regards,
Aniket Chavan
🏆 ServiceNow MVP 2025 | 🌟 ServiceNow Rising Star 2024