Flow Designer - Is User in Group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2020 11:34 AM
First crack at using action to lookup a user in an Active Directory Group in Flow Designer. Have a Service Request that is having the user select user from the sys_user table and also a Group to check in AD. Is there any documentation on this or examples? I've gone through the ServiceNow docs to setup the Microsoft AD spoke and in my Flow I select the Action for Microsoft AD and then Is User in Group. I feed it the user name and the group but it fails.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2020 02:05 PM
You need to query sys_user_grmember table to find if user belongs to group in your flow.
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2020 02:10 PM
This function I'm assuming since it's part of the Microsoft AD Spoke is to check whether or not the User is in an Active Directory Group, not a ServiceNow group.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2020 02:23 PM
I see that AD spoke function only needs group name and user name to check if user is member of group.
What's the error message you are getting?
Regards,
Sachin