How to remove users in AD group in ServiceNow

spandana kalla
Tera Contributor

Hi Community,

There is already a flow in workflow for adding user to AD group. In the form there are 4 options, if user selects first 3 options then user will get added to mentioned AD. This process is working fine. Now, if they select 4th option then the user should get remove from 2 mentioned groups. Can anyone please help with this.

 

Thanks,

Spandana.

8 REPLIES 8

Saurabh Gupta
Kilo Patron
Kilo Patron

Hi,

Please see below post.

Solved: Powershell Orchestration Remove User from AD Group - ServiceNow Community


Thanks and Regards,

Saurabh Gupta

Hi @Saurabh Gupta  

We need to write a script in workflow. Because this process is in workflow.

Hi,
Are you using ServiceNow orchestrator?

 

 


Thanks and Regards,

Saurabh Gupta

Is this one you are asking? Please refer the snip for reference.