Power Platform – Power Automate changes / issues / errors after MFA enabled for the users

Power Automate - Authentication error - after enabling MFA
Power Automate - Authentication error - after enabling MFA

Hi All,

Greetings for the day!!!

Today bit different topic. Regarding changes required in Power Automate after enabling the MFA

Background :

  • As one of the security consideration in our Tenant we have enabled Multi Factor Authentication (MFA)
  • Few of our Power Automates are written using individual connection rather service account
  • As we have enabled MFA for users, our Power Automates which were using individual connection are stopped working

So in this article we will discuss what errors exactly happened, solution and best practice

Details :

  • Authentication error for connections which are using individual connections as shown in below fig
  • We need to re-authenticate the connections
Power Automate - Authentication error - after enabling MFA
fig : Power Automate – Authentication error – after enabling MFA
  • If we proceed and create Power Automate we will not get SharePoint details like “Site Address” as shown in below fig
Power Automate - SharePoint details are not getting - Sites are not getting loaded
fig : Power Automate – SharePoint details are not getting – Sites are not getting loaded
  • We will not get SharePoint details because of connection failed – Invalid connection
  • All our connections will be invalid
  • Please have a look at following fig – error regarding Invalid connection
Power Automate - Invalid connection error
fig : Power Automate – Invalid connection error
  • All our existing flows will be suspended – modified column value will be – “Activity suspended” as shown in below fig
Power Automate - Existing flows stopped working - "Activity suspended error"
fig : Power Automate – Existing flows stopped working – “Activity suspended error”
  • We could resume “Activity suspended” flows by turning them on using “Turn on” as
Power Automate - Turning on suspended flows
fig : Power Automate – Turning on suspended flows
  • Though we “Turn on” the flow, If we didn’t sign in with the credentials we still have error as
Power Automate - Un Authorised error - 401
fig : Power Automate – Un Authorised error – 401

Error from token exchange: Runtime call was blocked because connection has error status: Enabled| Error, and sharepointonline is in the block list. Connection errors: [ParameterName: token, Error: Code: Unauthorized, Message: ‘Failed to refresh access token for service: sharepointonlinecertificatev2. Correlation Id=49367257-aead-47a4-aa58-e2296a7abc51, UTC TimeStamp=7/5/2022 4:56:14 AM, Error: Failed to acquire token from AAD: {“error”:”interaction_required”,”error_description”:”AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access ‘00000003-0000-0000-c000-000000000000′.\r\nTrace ID: f7a1ebba-3615-4b9f-aa8f-11f93c735a01\r\nCorrelation ID: 8a9ee831-be31-4624-9d69-caf9612587cd\r\nTimestamp: 2022-07-05 04:56:14Z”,”error_codes”:[50076],”timestamp”:”2022-07-05 04:56:14Z”,”trace_id”:”f7a1ebba-3615-4b9f-aa8f-11f93c735a01″,”correlation_id”:”8a9ee831-be31-4624-9d69-caf9612587cd”,”error_uri”:”https://login.windows.net/error?code=50076″,”suberror”:”basic_action”}’]

Solution / Approach :

Re-Sign with credentials – reauthenticate all the connections used or create new connections

Best Practice :

  • Use service account for implementing Power Automates rather using individual account for connections

Thanks for reading the article !!! Please feel free to discuss in case any issues / suggestions / thoughts / questions

HAVE A GREAT TIME AHEAD !!!

Prasham Sabadra

LIFE IS VERY BEAUTIFUL :) ENJOY THE WHOLE JOURNEY :) Founder of Knowledge Junction and live-beautiful-life.com, Author, Learner, Passionate Techie, avid reader. Certified Professional Workshop Facilitator / Public Speaker. Scrum Foundation Professional certificated. Motivational, Behavioral , Technical speaker. Speaks in various events including SharePoint Saturdays, Boot camps, Collages / Schools, local chapter. Can reach me for Microsoft 365, Azure, DevOps, SharePoint, Teams, Power Platform, JavaScript.

You may also like...

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: