Auto add or remove users to azure group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2024 12:19 AM
Good Morning,
Can someone please shed some light on this.
I have a catalog item in Servicenow which will auto add or remove a user to a servicenow group.
Now we want the user that is added or removed to this servicenow group to automatically add or remove them to Azure group.
Also, if a user is removed from the same azure group, can we automatically remove this user from the servcienow group?
Is that possible to achieve? Is there any product documentation on this?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2024 01:29 AM
Hi @Thomas98 ,
If you have both groups in which you have to add or delete user than you can use catalog client script and add the script logic to do so. Most probably you'll have to use onSubmit catalog client script.
Go though this solved community thread to see the logic to add or remove user from a group : https://www.servicenow.com/community/itom-forum/need-help-with-script-to-add-and-remove-users-from-g...
Customize this solution according to your requirement, and it should work.
Thanks and regards.
HRISHABH KUMAR
Mark this helpful and accept solution if my response turds useful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2024 01:35 AM
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark