Is it possible to use selenium webdriver to automatic authenticate in Microsoft Authenticator?

Rafael Facanha 21 Reputation points

Hello everyone!
I'm trying to automate a continuous process that uses a web tool with Microsoft Authenticator login (it generates a code that should be inserted on mobile phone app to allow login).
I'm using Selenium Webdriver on python to do all I need on this tool but I can't automate the login process.
The problem is that without automatic login the user must always interact with the process and the web browser could not be opened on background.
It will be better if all process could run on background without any interaction by user. But to do this, I need that the python code be capable to pass through this authentication.

Is it possible? Is there any way to do it?
Thanks a lot!

Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
5,625 questions
{count} votes