Categories: Microsoft Flow

Broken connections in Power Automate

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.

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.

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?

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

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.

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

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.

Share
Pieter Veenstra

Business Applications and Office Apps & Services Microsoft MVP working as a Microsoft Productivity Principal Consultant at HybrIT Services. You can contact me using contact@veenstra.me.uk.

View Comments

  • 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.

  • 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?

    • Hi Chad, just a quick idea. Maybe a flow could scan for broken connections and tell the users where to go to fix the connections via an email alert.

Recent Posts

Sharing flows in Power Automate

Recently I tried to share a flow and I got trial warning. It took a…

2 hours ago

There’s a problem that needs to be fixed in Power Automate

Have you ever had your flows showing the following error: There's a problem that needs…

1 day ago

Get started with child flows in Power Automate

Child Flows is one of the subjects that has been on my list of things…

5 days ago

Implementing 2 levels of grouping in Power Apps

When you want to implement 2 levels of grouping in Power Apps you will discover…

1 week ago

Power Automate Approvals and Dataverse

Power Automate Approvals are often one of those unclear things that people try to avoid.…

2 weeks ago

Modern app designer vs Classic app Designer in Model Driven Apps

When you create a new Model Driven App today, you will find that you have…

2 weeks ago
%%footer%%