web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / SMS Multifactor Authen...
Power Automate
Unanswered

SMS Multifactor Authentication

(0) ShareShare
ReportReport
Posted on by 4

Hi,
I’m going to automate QuickBooks online.
QuickBooks has two-factor authentication (which can be turned off) and multifactor authentication which cannot be turned off. Usually, it’s SMS with a code.
Have you ever automated QuickBooks online and successfully bypass that authentication?
Or maybe you were working with a different application with SMS authentication and can share your ideas?

I have the same question (0)
  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    If you can forward it to your email, then you could pull the code from there. Here is iPhone instructions for forwarding texts to an email:

    https://howtosguru.com/how-to-automatically-forward-text-messages-on-iphone/#:~:text=There%20are%20a%20few%20ways%20to%20automatically%20forward%20text%20messages,want%20to%20forward%20messages%20from.

     

    google (android) has something similar. 

    once it is in the email on the computer, read the email, parse the text, etc til you just get the code as a variable and you should be able to enter it. 

    best of luck!

     

  • MrOzog Profile Picture
    4 on at

    HI,
    Thank you very much for your answer.
    The solution from that link is not working.
    I'll try to find an app which can send SMS to email.

  • perrilove Profile Picture
    26 on at

    We're currently exploring the Twilio connector in Power Automate to solve for this. It might help you if you haven't found a solve yet @MrOzog. If you have, can you explain how you got around the MFA code please?

  • momlo Profile Picture
    1,527 Super User 2024 Season 1 on at

    As @MichaelAnnis suggested, you can set up SMS to email forwarding, then flow (cloud or desktop) check the email for the code.

    However, it poses some risks, such as other sensitive text messages forwarded to the email, dev access to the person's account without their timely knowledge, etc.

     

    What is possible, depending if this is desired to make user aware of the flow execution/logon to the site, is this:

     

    1. Use PA cloud flow to run PAD flow that logs to the app

    2. When the app asks for a token - PAD calls PA (cloud) flow that posts a message on teams (adaptive card, for example)/other supported messenger app

    3. User responds with a code, or info that they want to cancel

    4. CLoud flow completes and passes the data to the PAD flow 

    5. PAD flow completes the login process or cancels based on the returned information.

     

    So it all depends on what process you want to implement and risks/decisions you and the person owning the app account take

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 227

#2
David_MA Profile Picture

David_MA 204 Super User 2026 Season 1

#3
Valantis Profile Picture

Valantis 177

Last 30 days Overall leaderboard