How to add user to ad group through workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2022 05:28 AM
Hello Community,
How to add user to AD group through workflow. My actual requirement is a task will be created to one particular DL group. If once tasks gets closed complete, the user should get added to AD group. I have created that task which was mentioned in 1st point. Can anyone please say how to add user to ad group. Please help me with this .
Requirement :
- Once the business stakeholder approves a task needs to be created for the security team to assign the correct role permissions. The description for the task should read. “Please assign the user to the indicated role.”
- After this task is closed complete, the user should be added to AD group.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2023 05:34 AM
Is the 'sysid' here from the AD group? I'm assuming yes, since the group doesn't exist in ServiceNow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2022 05:47 AM
Hi,
If you have orchestration activity pack then you can use workflow activity for this
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2022 07:38 AM
Hello ankur,
Do we need to give log message activity after giving run script of adding user to ad group.
regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2022 07:51 AM
Hi,
that activity has by default success or failure as Output variables which tells you whether it's success or not
Based on success or failure you can decide what needs to be done next
If my response helped please mark it correct and close the thread so that it benefits future readers.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2022 02:25 AM
Thank you for marking my response as helpful.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader