Unable to login to ServiceNow to extract the tickets as it will ask for 2FA each time

Hi guys,

currently i am unable to login to ServiceNow to extract tickets as it will ask for code each time(2FA) is there a possible way after i get the 2FA code then put the bot to proceed with the 2FA code?

as for 2FA currently there are only 2 options available, by text or by call to mobile.

your reply regarding this is highly appreciated from my side.
thank you! :slight_smile:

Hi @Mohamad_Izudin_Bin_Abdul,

I dont think there would be a way of passing this 2FA since you are receiving the code on the phone.

There are 2 possible ways however to avoid the 2FA:

  1. Some applications, such as Salesforce, have a option to disable the 2FA. This is not recommended viewing from security side, but you could give it a try.

  2. Try to use the ServiceNow API to do what you need to do. You can avoid 2FA and make your automation more fast and robust. (REST API reference)

Hope this helps.

Dear @Schirru

thank you for your sugggestions as i will try to use the ServiceNow API.

thanks for your responds and helps regarding this 2FA question.

hope you have a nice day!

1 Like

No problems, @Mohamad_Izudin_Bin_Abdul.

By the way, welcome to the community!

Have a nice day and hope you can solve the problem with the API! =)

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.