Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Admin enabled multifactor authentication and now my flow broke

(0) ShareShare
ReportReport
Posted on by

Hi,

 

I'm getting the following error in this step of my flow:

 

"Post your own adaptive card as the FlowBot to a user"- 

 
{
  "error": {
    "code""AuthorizationFailed",
    "message""A client certificate or authorization header was not provided."
  }
}

 

{
  "Pragma""no-cache",
  "x-ms-request-id""westeurope:33995e2d-545e-4ec6-af30-20b4f2cb6276",
  "x-ms-correlation-request-id""33995e2d-545e-4ec6-af30-20b4f2cb6276",
  "x-ms-flow-mobile-ios-version""1.3.0",
  "x-ms-flow-routing-request-id""WESTEUROPE:20210302T094803Z:33995e2d-545e-4ec6-af30-20b4f2cb6276",
  "Strict-Transport-Security""max-age=31536000; includeSubDomains",
  "X-Content-Type-Options""nosniff",
  "Timing-Allow-Origin""*",
  "x-ms-apihub-cached-response""false",
  "Cache-Control""no-cache",
  "Date""Tue, 02 Mar 2021 09:48:03 GMT",
  "Content-Length""140",
  "Content-Type""application/json",
  "Expires""-1"
}
Error code: 401
 
How do I fix this?
 
Thanks,
 
Daniel
  • Community Power Platform Member Profile Picture
    on at
    Re: Admin enabled multifactor authentication and now my flow broke

    Hi @manuelstgomes ,

     

    Thank you for your help on this. Will give it a try.

     

    Regards,

     

    Daniel

  • manuelstgomes Profile Picture
    6,625 on at
    Re: Admin enabled multifactor authentication and now my flow broke

    HI @Anonymous 

     

    Unfortunately yes. They will have their own connections, and if something changes in the tenant, it will affect everyone.

    Even if the connection is not invalid, I'm almost sure that your issues come from that.

     

    As a test, create a new connection and change it in one Flow. If it solves your issue, then we have a working connection. If not, then we need to dig further.

     

    Cheers
    Manuel

    ------------------------------------------------------------------
    If I have answered your question, please mark it as "Accept as Solution." It will help other members finding the solution faster. If you like my response, please give it a Thumbs Up. ?
    Otherwise, reply to it, and the community will do its best to help you.

  • Community Power Platform Member Profile Picture
    on at
    Re: Admin enabled multifactor authentication and now my flow broke

    Hi @manuelstgomes ,

     

    Thanks for your help on this.

     

    My problem is that the connections are breaking as such.

     

    I have other users trigger my flow from a powerapp and those users that have MFA enabled are experiencing flow failures. When I log into my flow I don't see any broken connections.

     

    I never shared the flow with the users for security reasons. Do those users need to go into Power Automate and fix their connections?

     

    Regards,

     

    Daniel

  • manuelstgomes Profile Picture
    6,625 on at
    Re: Admin enabled multifactor authentication and now my flow broke

    Hi @Anonymous 

     

    There are two ways to refresh the connection. If you want it only for your Flow, then you can add a new connection, and you'll be prompted for the MFA.

    Screenshot 2021-06-29 at 08.57.07.png

     

    Otherwise, the best way is to go to "Data" > "Connections," and then probably you'll see something like this:

    Screenshot 2021-06-29 at 08.58.58.png

     

    Fix the connection, and you'll be prompted for the MFA.

     

    Can you please try and let me know if it works?

     

    Cheers
    Manuel

    ------------------------------------------------------------------
    If I have answered your question, please mark it as "Accept as Solution." It will help other members finding the solution faster. If you like my response, please give it a Thumbs Up. ?
    Otherwise, reply to it, and the community will do its best to help you.
     

  • Community Power Platform Member Profile Picture
    on at
    Re: Admin enabled multifactor authentication and now my flow broke

    Hi @manuelstgomes ,

     

    MFA was removed but the issue has come up again. Can you explain how to fix an existing connection where I'll be asked to MFA?

     

    Our users are downloading the Microsoft authenticator app and using that to sign into their office.com and email accounts. I'm not sure how if this will break the flow each time it tries to run?

     

    Is there any documentation on how to handle this issue?

     

    Thank you again.

     

    Regards,

     

    Daniel 

  • Community Power Platform Member Profile Picture
    on at
    Re: Admin enabled multifactor authentication and now my flow broke

    Thank you @manuelstgomes !

  • Verified answer
    manuelstgomes Profile Picture
    6,625 on at
    Re: Admin enabled multifactor authentication and now my flow broke

    Hi @Anonymous 

     

    This happens frequently. The connection was invalidated. You need to reconnect by creating a new connection and adding it to your Flow or fixing the current one. 

     

    When you try to do the new connection you'll be asked for the MFA and this will solve the issue.

     

    Can you please check if and let me know if you have any questions?

     

    Cheers
    Manuel

    -------------------------------------------------------------------------
    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow