Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Cannot remove roles from user

Ulrika
Tera Expert

Hello,

I want to remove one of our fulfillers from ServiceNow. However, after removing all groups, there are still roles left and it's not possible to remove them. I found https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0793546 but it didn't work following that guide either.

 

How can I remove the roles?

Thank you in advance,
Ulrika

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hello @Ulrika 

 

Yes, "inherited = true" is the reason. So you have two solution for that. First solution is follow the steps mentioned in the below thread - 

https://www.servicenow.com/community/now-platform-forum/unable-to-remove-roles-from-users-who-have-i... 

 

Second solution is raise HI portal ticket, so ServiceNow support will help you.

 

Please Mark Correct & Helpful, if applicable,

 

View solution in original post

8 REPLIES 8

Community Alums
Not applicable

Hello @Ulrika ,

 

Have you tried to remove/delete that record from User Roles [sys_user_has_role_] table as mentioned in the kb article.

 

AkshayKangankar_0-1665561873782.png

 

What issue you are facing while deleting that record from the table?

 

Please Mark Correct & Helpful, if applicable,

remove_user.png

Thank you for your reply, I don't have the remove option enabled, it's greyed-out.

Community Alums
Not applicable

Hello @Ulrika ,

 

I hope you have admin access and you have checked records in the left side check box which you want to remove.

 

 

Yes absolutely, I have admin access and the records to remove were checked. All roles are marked as "inherited = true" if that possibly is an issue?