Delete User Roles in bulk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2024 08:15 PM
Hi All,
I'm trying to delete the roles added by default to the users by using below script in the background but this is not working and not allowing to delete the records

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2024 09:09 PM
Hi there,
Technically you can still delete inherited roles. Though... why? Because actually functionality something is going wrong then. What are you doing about that? Or are you just ignoring that?
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2024 09:33 PM
Hi Mark,
The users are added with itil roles when we have moved some update sets to prod from dev which were not required and I'm trying to delete the records only that got created today after moving this data from sys_user_has_role
I don't think it will affect