Broken connections

When you use connectors in Power Automate you may have seen broken connections.

Reasons for broken connections

Sometimes things have gone wrong within the connection and Flow will report this to you. I’m trying to collect the reasons and the how to fix the connection in this post. If you have found any other reasons feel free to leave a comment at the end of this post.

Fix connection

You might find that you get these blue Fix connection messages in your connections overview.

Fix a connection message when connection is broken

Most of these cases it is just a matter of clicking the fix connection link supply a password and then your connection will be marked as connected again.

Fixed the connection

You might also find that when you visit https://flow.microsoft.com you get the following  message saying

We have found X of your connections in a disconnected stat. Would you like to fix them now?

We have found X of your connections in a disconnected stat. Would you like to fix them now?

And then you might even find many broken connections as shown below after I clicked on the Fix button. This is quite useful as you now only get the broken connection

List of broken connections

Unlike earlier the connected connection are not listed in the fix overview but still this doesn’t look good!

Using FlowStudio you will also find all the broken connections.

Flow Studio handling broken connections

And now when you right click on the broken connection and select connection JSON you will get the following

json for a connection

The error message above showing  Failed to refresh access token for service: aadcertificate will need to give us the clues.
The following sections show some of the error messages that I have found.

This connection is not authenticated

This connection is not authenticated means that you will need to supply your username and password

Failed to refresh access token for service

Failed to refresh access token for service means that you will need to supply your username and password again.  The error message will supply you with what the connection cannot get an access token for. For different connectors you might get a slight variation of the message.  for example the SharePoint connector will give you

Failed to refresh access token for service: sharepointonlinecertificate. This often happens after you have changed your password or when your MFA has expired.

Further thoughts

I’m sure there will be more reasons for connections to be broken. When connections break it can make your system struggle. To help others please do leave your experiences in a comment below so that others can benefit from your lessons.

Avatar for Pieter Veenstra

By Pieter Veenstra

Business Applications Microsoft MVP working as the Head of Power Platform at Vantage 365. You can contact me using contact@sharepains.com

4 thoughts on “Broken connections in Power Automate”
  1. I’ve seen two-factor authentication leading to broken connections in Flow, and the apparent solution was to use a service account that doesn’t have 2FA enabled.

  2. We have flows with this error that are started from power apps, so my understanding is that the connections are run using the user’s credentials, not the flow creators.

    How do we handle this if the users need to fix their connections?

Leave a Reply

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

Discover more from SharePains by Microsoft MVP Pieter Veenstra

Subscribe now to keep reading and get access to the full archive.

Continue reading