- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2024 11:51 PM
Hi Team,
When i tried to deactivate an user(making active false) i am getting below error messgae and record is not updated.
"The user cannot be inactivated as it would leave fewer than the configured 1 active application administrators"
"Invalid update"
Please let me know what needs to be done here to deactivate that user.
Thanks in advance,
Hari Kishan.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-23-2024 01:22 AM
The answer to your problem lies in the logic of the OOB Business Rule "Ensure min active admin remains" on sys_user table which refers to a Script Include "ScopedAdministration". As per this Script Include logic, at least 1 application administrator should remain active. Refer below screenshot :
I suspect your user is the only application administrator for some custom application that's why you are not able to mark it inactive. You can go through your Company Applications and see if the user is mapped somewhere or go through the user roles and see if any custom application admin role is mapped to the user.
Thanks and Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2024 11:58 PM
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0857988
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-23-2024 12:34 AM
Hi AG,
The above article suggests/ regarding removing admin role from user record, BUT in my case i am trying to deactivate a user record. NOT removing admin role from user record.
and my user doesn't have admin role as well.
Thanks,
Hari Kishan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-23-2024 01:22 AM
The answer to your problem lies in the logic of the OOB Business Rule "Ensure min active admin remains" on sys_user table which refers to a Script Include "ScopedAdministration". As per this Script Include logic, at least 1 application administrator should remain active. Refer below screenshot :
I suspect your user is the only application administrator for some custom application that's why you are not able to mark it inactive. You can go through your Company Applications and see if the user is mapped somewhere or go through the user roles and see if any custom application admin role is mapped to the user.
Thanks and Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.