Will the roles be automatically gets removed from service account?

kamal11
Giga Expert

Will the roles be automatically gets removed from service account if it does not be used for generates tickets for 6 months?

2 REPLIES 2

Ratnakar7
Mega Sage
Mega Sage

Hi @kamal11 ,

 

ServiceNow doesn't automatically remove roles from service accounts based on inactivity or lack of use. Roles assigned to a user or service account will remain in place until manually removed or changed by an administrator or another user with the necessary permissions.

If you want to manage roles for service accounts based on inactivity or other criteria, you would need to implement a custom solution using scripting, business rules, scheduled jobs, or an external process. This custom solution would periodically review the usage of service accounts and remove roles from those that meet specific criteria, such as not generating tickets for a certain period.

Keep in mind that handling roles in this way requires careful consideration of security and access control, as it can impact the permissions and capabilities of the service accounts. Additionally, you should thoroughly test any custom solution in a non-production environment before implementing it in your production instance to ensure it works as expected and does not inadvertently disrupt your operations.

 

Thanks,

Ratnakar

In my instance we had an issue where they have been stripped automatically, what could possibly be the reason

 

Can you please let me know