Add user to Ad group

Brian Lancaster
Tera Sage

I have a requirement to add users to AD groups via ServiceNow Orchestration.   What is the best way to do this?   I thought it would be update AD object but i'm note sure what to put in Object data field.

18 REPLIES 18

Hi Brian,



I was wondering - how were you displaying the groups they could chose to your users?   Did you have a list with security groups?



Cheers,


Brendan


The groups where based on roles.   I displayed a drop down of roles and then put them in the appropriate group based on the role. they choose.


Hi Brian,



Thanks for your reply, however, I am not really following lol.



Are you saying that you link Role to ServiceNow group to AD Security group?



I am not quite sure the best practice on how to set this all up



Cheers,


Brendan


No there are no group in ServiceNow related to AD.   I built a table with the roles and the associated AD group info.   Then I called the PowerShell script in the workflow.   This works differently now and I have not had a chance to try the new way as the standard PowerShell component that I originally use is now deprecated.