Move users from Group A to Group B using background script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2024 10:24 AM - edited 01-11-2024 12:15 PM
I have 100 users who need to be moved to Group A from Group B. They also need to be removed from Group A using a background script.
Thank you

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2024 10:28 AM
How many exactly?
You can navigate to sys_user_grmember table and mass update the group field from A to B manually if it is just 100 or 500.
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2024 10:48 AM
125 to be exact. How do I mass move from group A to B? I try to filter group=Group A and sys id= ** but I get no result.
Thank you

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2024 12:42 PM
In sys_user_grmember table, you need to filter by group = Group A and then search....
If you have to move all the members, select that group field and drag it till the botton to select each row and then double click to update the group to Group B.
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2024 10:51 AM - edited 01-11-2024 10:52 AM
Hi @nebiata I believe it's something similar to this topic: https://www.servicenow.com/community/developer-forum/how-to-move-users-from-multiple-groups-to-new-g...