Cannot impersonate a user (redirected to login page)Description<!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internaltable { white-space:nowrap; text-align:left; border-width: 1px; border-collapse: collapse; font-size:14px; width: 85%; } table.internaltable th { border-width: 1px; padding: 5px; border-style: solid; border-color: rgb(245, 245, 245); background-color: rgb(245, 245, 245); } table.internaltable td { border-width: 1px; padding: 5px; border-style: solid; border-color: #E0E0E0; color: #000000; } .title { color: #D1232B; font-weight:normal; font-size:28px; } h1{ color: #D1232B; font-weight:normal; font-size:21px; margin-bottom:-5px } h2{ color: #646464; font-weight:bold; font-size:18px; } h3{ color: #000000; font-weight:BOLD; font-size:16px; text-decoration:underline; } h4{ color: #646464; font-weight:BOLD; font-size:15px; text-decoration:; } h5{ color: #000000; font-weight:BOLD; font-size:13px; text-decoration:; } h6{ color: #000000; font-weight:BOLD; font-size:14px; text-decoration:; } ul{ list-style: disc outside none; margin-left: 0; } li { padding-left: 1em; } --> Symptoms Impersonation is failing for specific user(s). The following symptoms are present: Attempt to impersonate a userYou are redirected unexpectedly to the login screen (ends current session) Release All current releases Cause This happens when there is an unexpected white space before OR after the affected user's User ID [sys_user.user_name] value. Typically this is an unintentional update on the User's form. This screenshot shows the space prepending the value, but it could also be found at the end of the string. Resolution Edit the [sys_user.user_name] value to remove the unexpected character and save. You should then be able to impersonate the user. Additional Information ServiceNow has documented this issue in 2 Problem records with no current plan to address the behavior. PRB619211 - Not able to impersonate to a user with a space at the end of user_name (e.g. "test_user007 ")PRB632747 - If sys_user.user_name has a leading space, admins will be logged out when trying to impersonate them Not what you're looking for? Here are some additional resources which may help if you're troubleshooting an impersonation issue. KB0686244 - When you impersonate a user and then try to re-impersonate your own user account, the Impersonate User popup window shows an error Failed API level ACL Validation KB0691915 - Unable to select certain users to impersonate and error message "The user you selected could not be impersonated" is displayed