Users' attempts to log in fail due to the sys_user table's 40-character user ID or email limitIssue While using SSO authentication to log in to the instance, users are redirected to the logout page. In the system logs below error could be found: User: XXXXXX@yyyyyyyy not foundCauseEither UserID or Email is not matching with SAML Response NameID. <NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress">xxxxxxx@yyyyyy</NameID>userid or email truncated in the sys_user table due to 40 character limit.ResolutionTo resolve the issue, increase the MAX Length of the column from "sys_db_object". Open https://<your-instance>.service-now.com/sys_db_object_list.doIn the name column type "sys_user" and open the tableSearch for the required column label. Refer the below screenshot for useridIncrease the Max length to 100, save the recordUpdate the userid field then test the login again.Related LinksWhy you shouldn’t exceed 40 characters on your UserIDs? User IDs longer than 40 characters are truncated