How to Temporarily Disable MFA for Admin User in On-Prem ServiceNow Setup?

Yaron Rabinovi1
Tera Expert

Hi all,

I’ve installed ServiceNow in an on-prem environment and created an admin user as part of the setup. However, when I try to log in, it prompts for MFA.

I scanned the QR code using Google Authenticator, but when I enter the generated code, I get the "Your password is correct" error. I suspect either a time sync issue or something misconfigured.

Since I can't access the instance, is there any way to temporarily disable MFA via the Linux server or directly through the database, so I can log in and troubleshoot from within the UI?

Any help would be greatly appreciated!

Thanks in advance.

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@Yaron Rabinovi1 

I believe unless and until you have other admin user who is able to login, you can't do much

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Yaron Rabinovi1 

The error is related to the password, which means either the wrong password was set up initially, or you're entering the incorrect one now. Try resetting the password first.

 

Did you verify the KB number mentioned in the error? Since it's on-prem, I'm not sure SN support will be much help. However, you can still log a case with the Now Support team to see if they can assist.

*************************************************************************************************************
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]

****************************************************************************************************************

Yaron Rabinovi1
Tera Expert

Thanks for the responses!

I created another admin user, and I’m encountering the same MFA issue with that user as well.

I’ve already opened a case with ServiceNow Support.

Their initial response was that the KMF configuration might be missing in the on-prem installation, and they’re currently checking internally regarding maint access.


In the meantime, if anyone here knows of a way to bypass or temporarily disable MFA in an on-prem instance (perhaps via the Linux server or DB), that would be extremely helpful while we wait for official guidance.

 

Hi @Yaron Rabinovi1 

 

There is no way to bypass MFA until unless you logged in.

 

Setting 'glide.authenticate.multifactor.enforcement.acknowledged' to true dismisses this message

 

https://www.servicenow.com/community/developer-forum/how-to-disable-the-mfa-related-info-message-app...

*************************************************************************************************************
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]

****************************************************************************************************************