How to automate addition of users to SSO groups using flow designer

divyal09
Tera Contributor

How can we automate addition of users to  multiple SSO groups based on the options they select on the Catalog form using Flow designer.

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @divyal09 

 

https://www.servicenow.com/community/itsm-forum/how-to-add-user-to-group-sys-user-group-using-flow-d...

 

https://www.servicenow.com/community/now-platform-forum/how-to-add-users-to-groups-in-the-same-flow-...

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

The user needs to be added to AD groups. How can we use orchestration from flow designer side?

Hi @divyal09 

 

You have two options to add users to an AD group :

 

1. Make use of Active Directory Spoke Action "Add User to Groups". Refer below links :

https://docs.servicenow.com/bundle/washingtondc-integrate-applications/page/administer/integrationhu...

https://www.servicenow.com/community/sam-forum/add-user-to-ad-group-through-microsoft-ad-sopke/m-p/1...

 

2. Create a PowerShell Mid Server Script file. Inside the PowerShell script, make use of Active Directory module cmdlets to add user to group(s). Call the Mid Server Script from a custom action with a PowerShell step.

 

Thanks & Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.