Troubleshooting MFA enforcement
Summarize
Summary of Troubleshooting MFA enforcement
ServiceNow enforces Multi-Factor Authentication (MFA) by default starting with the Yokohama release to enhance security for non-SSO logins (username/password or LDAP-based authentication). MFA enforcement is managed through an activated MFA policy from the Yokohama upgrade. This guidance helps ServiceNow customers troubleshoot changes or issues related to MFA behavior after the upgrade.
Show less
Troubleshooting Tools and Logs
To diagnose MFA issues, customers can use the following tools and logs:
- Splunk: For reviewing debug logs.
- System Logs: Accessible under All > System Log > System Logs for system-wide logs.
- Node Logs: Accessible under All > System Logs > Utilities > Node Log File Browser for node-specific logs.
- HAR Logs: Helpful for analyzing detailed debug information related to MFA.
Enable key debug properties to capture detailed MFA information:
- glide.webauthn.debug.enabled
- glide.log.defaultlogdebug
- glide.authenticate.policy.debug
- glide.authenticate.hybridusertracking.debug
Common MFA Issues and Resolution Steps
- Scenario 1: User cannot login with their second factor
Reset MFA for affected users by clearing old records fromusermultifactorauth,sysuserpubliccredential, andsysusermultifactorsetuptables. - Scenario 2: Admin cannot login using their second factor
Another admin user can reset MFA for the blocked admin. If the issue persists, contact ServiceNow Support. - Scenario 3: Errors during MFA Setup or Validation
Typical error: "Your 6-digit verification code is incorrect." Troubleshooting steps include:- For TOTP Authenticator apps, ensure the device and instance time are synchronized within ±30 seconds.
- For Email MFA, verify user-level notifications, outbound email configuration, and correct user setup in the
sysusertable. - For SMS MFA, verify correct integration with Twilio or another SMS provider, ensure the integration is active, and confirm the user's mobile number is accurate in the
sysusertable.
Troubleshooting information due to the MFA enforcement.
ServiceNow enforces MFA by default post-Yokohama upgrade and making it mandatory for non-SSO logins (users performing login with only username and password or LDAP based authentication) to ensure a better security posture and reduce the risk of breaches.
MFA enforcement is carried though a MFA policy that is activated by default from Yokohama or upgrade to Yokohama. Following are some of the troubleshooting task that you can perform if there's any change to the MFA behavior:
- Debug using the troubleshooting tools
- Navigate to the Log location and Debug properties
- Understand the MFA scenarios based on your users experience while using MFA
- Understand the MFA issue due to upgrade from a previous release
Debug MFA
Use the either of the following tools or a combination to understand the debug information:
- Splunk - to see the debug logs.
- System logs or Node logs.
- HAR logs to analyze the debug logs for the MFA.
Log location and Debug properties
- For system logs, navigate to .
- For node logs, navigate to .
The system debug logs and instance node logs are required for the debug purpose. Following are the debug properties that are required to be enabled:
glide.webauthn.debug.enabledglide.log.default_log_debugglide.authenticate.policy.debugglide.authenticate.hybrid_user_tracking.debug
MFA issue based on scenarios
- Scenario 1: User is not able to login using any of their second factor
- Reset the MFA for the your users and delete the old user records from the following tables:
user_multifactor_authsys_user_public_credentialsys_user_multi_factor_setup
- Scenario 2: Admin is not able to login using any of their second factor
- Another user with admin access can reset the MFA for any blocked admin user. If still the issue exist, reach out to ServiceNow Support.
- Scenario3: Error observed during the MFA Setup or Validation
- Check the warning "Associated Error Codes/Warning: Your 6-digit verification code is incorrect. Try again with the correct code".