How to add "users to azure groups" in flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2024 04:44 AM
Hi,
I am new to integration and need assistance with adding a user to Azure groups through service catalogs using Flow Designer. The user is specified as the “requested for” person in the variable. To achieve this, we need to retrieve the “User ID” from Azure and pass it to Flow Designer. Could anyone guide me on how to make a REST call to fetch the “User ID” in Flow Designer for the action of adding the user to an Azure group?
Thanks,
Spandana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2024 12:29 PM
Hi @spandana kalla,
I would recommend to use the Azure AD spoke (Microsoft Entra ID Spoke) to add users to a AD group.
The added flow "Add User to Group" is a OOTB flow of the Entra ID spoke
Microsoft Entra ID Spoke (formerly Microsoft Azure Active Directory spoke) (servicenow.com)
The actions "Look up Group", "Is User in Group" and "Add User to Group" are part of the spoke.
Best, Dennis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2024 03:07 AM
Hi Dreinhardt,
We had already added the "Microsoft Entra ID Spoke" action, but I don't know the exact process what to give in the User ID. Can you please help.
Thanks,
Spandana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2024 02:18 PM
Hi @spandana kalla,
please use the email address of the “requested for” as user_id for the Entra ID spoke.
Best, Dennis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2025 02:53 AM
Hi @spandana kalla ,
You need to first use action "look up user" and pass as User Principal Name the email address of the requested_for. And then use the output (userID) as the input for adding user.
Let me know if that works for you!
Best,
Firat