Roles

akhilrao
Tera Contributor

I got the task of deactivating user from all the groups and removing his admin-roles from non-prod instance, but even after removing roles , his roles are still showing in non-prod instance, even though he has no group access and not active. Please assist me in this matter.

1 ACCEPTED SOLUTION

Hi @akhilrao 

 

I tried this case in my PDI, and I removed all the roles and groups from the user, and it’s showing as blank now, meaning there are no roles under the user profile. Also, as you stated, if you mark it as deactivated, the user won’t be able to log in. Logically, it should not show the roles. Did you try clearing the cache and logging out, then logging back in?

AGLearnNGrow_0-1744627039029.png

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

View solution in original post

13 REPLIES 13

@akhilrao 

so it means some other script or logic is added it again

does the record come again immediately or at particular time? some scheduled job etc is running and creating those records

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Sandeep Rajput
Tera Patron
Tera Patron

@akhilrao Did you check if the roles are assigned directly to the user account? It seems that you removed users from all the groups but failed to remove the roles which are directly assigned to the user and not via the groups.

Hi @Sandeep Rajput,

 

I tried to remove him from the roles table as well, but it didn't work. Or is there a way to check which roles are assigned to user directly and which ones from the group?

 

 

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @akhilrao 

 

Better log a Now Support case.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************