sys_user_has_role table contains empty roles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-05-2024 09:13 PM
One or more (empty) Roles in User profile and are inherited, unable to remove /delete.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-06-2024 12:19 AM
Hi @Mayuri1711 ,
Yes there are roles (even oob) contains empty roles. example take this role - ui_builder_admin this contains an empty role, so if user got the builder admin, they will inherit this empty role aswell.
Before taking any action, consult once with ServiceNow. Because I see some ACls also has empty roles coupled in. So better to be sure before making changes.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-06-2024 12:36 AM
Thats not correct info you are giving. The contains is NOT empty. It contains a sys_id. So it's something else, the related record perhaps deleted, the related record perhaps no read rights for, etc.. Though empty: wrong info.
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field