Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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

Yes, Use the removal of user from AD group activity.

 

 


Thanks and Regards,

Saurabh Gupta

hi @Saurabh Gupta  

can you please say the process?

 

Thanks,

Spandana.

Actually the user is the person who is in the variable "requested for" that person should get removed from 2 AD groups. So, what should I give here in "User ID" field and "Group ID" field.

@Saurabh Gupta  

 

Thanks,

@Ankur Bawiskar can you please help me.

 

Thanks,

Spandana.