- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-12-2016 12:22 PM
Is the "Remove User from Group" Active Directory workflow activity available in Geneva? I see "Add User" but not Remove.
Solved! Go to Solution.
- Labels:
-
Workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-12-2016 11:21 PM
Hi Drew
The "Remove User from Group" activity was introduced in the Helsinki release. For reference it is listed here in the Helsinki release notes:
Hope that helps
Shahid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-12-2016 12:47 PM
Here is what I found in the Geneva Product Docs. Active Directory activity pack. I couldn't find a remove user from Group listed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-12-2016 11:21 PM
Hi Drew
The "Remove User from Group" activity was introduced in the Helsinki release. For reference it is listed here in the Helsinki release notes:
Hope that helps
Shahid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-14-2016 10:31 AM
Drew, Please let us know if this answered your question we want to make sure you have question answered.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-14-2016 10:42 AM
Pre-packaged Remove User from Group Active Directory workflow activity is available in Helsinki and beyond.
However, the PowerShell script to run is very simple:
Remove-ADGroupMember -server {Domain Controller IP} -identity {exact name of group} -member {samaccountname of grp member} -Confirm:$false
gotchas:
*make sure that the credentials have enough rights to actually perform the remove
*-Confirm:$false is required since it's automatically running in non-interactive mode
*don't put any double-quotes in the command (contrary to examples found online; once I removed double-quotes, it worked for me); declare variables as strings before the command
example:
$member = "${current.variables.test}"
Remove-ADGroupMember -server {server ip} -identity Test -member $member -Confirm:$false