Remove User from AD Group

drewc
Mega Contributor

Is the "Remove User from Group" Active Directory workflow activity available in Geneva? I see "Add User" but not Remove.

1 ACCEPTED SOLUTION

Shahed Shah1
Tera Guru

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:


Orchestration release notes



Hope that helps


Shahid


View solution in original post

5 REPLIES 5

rohinip
Tera Contributor

I am using " Remove-ADGroupMember -identity Groupname -member current.variable_pool.contractor.user_name -Confirm:$false",


but its not working and throwing following error:


The term 'Remove-ADGroupMember' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.Stack Trace: at System.Management.Automation.CommandDiscovery.LookupCommandInfo(String commandName, CommandOrigin commandOrigin)at System.Management.Automation.CommandDiscovery.LookupCommandProcessor(String commandName, CommandOrigin commandOrigin, Nullable`1 useLocalScope)at System.Management.Automation.ExecutionContext.CreateCommand(String command)at System.Management.Automation.CommandNode.CreateCommandProcessor(Int32& index, ExecutionContext context)at System.Management.Automation.CommandNode.AddToPipeline(PipelineProcessor pipeline, ExecutionContext context)at System.Management.Automation.PipelineNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)at System.Management.Automation.StatementListNode.ExecuteStatement(ParseTreeNode statement, Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)