Broken connections in Microsoft Flow

When you use connectors in Microsoft Flows you may have seen 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 alsofind 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: aadcertificate

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.

 

 

 

 

Advertisements


Categories:Flow, Microsoft Flow

Tags: , , ,

2 replies

  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.

    Like

Leave a Reply to Pieter Veenstra Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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

%d bloggers like this: