Skip to main content

Notifications

Power Automate - Using Connectors
Answered

Office 365 Outlook Connector repeatedly failing

(0) ShareShare
ReportReport
Posted on by 14

I have a pair of flows that have been working well since April that, in the last two weeks, have started failing repeatedly.

 

The Office 365 Outlook connector keeps breaking, almost on a daily basis now. The error message is:

  • Error from token exchange: Runtime call was blocked because connection has error status: Enabled| Error, and office365 is in the block list. Connection errors: [ParameterName: token, Error: Code: Unauthorized, Message: 'Failed to refresh access token for service: office365certificate. Correlation Id=0b65906a-623c-481f-8e59-10fcbc170981, UTC TimeStamp=11/26/2018 2:12:47 PM, Error: No refresh token.']

On this occasion I had checked that it was working just an hour ago and broke in the intervening time.

 

I can correct the connection issue using the "fix connection" option, but this doesn't last. The example I've given is for a very simple flow:

2018-11-26, Flow outlook connector fail.png

  • AmolMane Profile Picture
    AmolMane 31 on at
    Re: Office 365 Outlook Connector repeatedly failing

    Dear i am facing same issue recently, what all details we should give and whom

  • Verified answer
    cmcbrien Profile Picture
    cmcbrien 14 on at
    Re: Office 365 Outlook Connector repeatedly failing

    This issue is now resolved. I passed on all the details to system support and they finally got back to me last week to say it is working again. Microsoft seem to have done an update to flow as the error messages on the old failed flows have changed. My flows have now been working correctly for the last week.

  • cmcbrien Profile Picture
    cmcbrien 14 on at
    Re: Office 365 Outlook Connector repeatedly failing

    That didn't fix it; it still failed after an hour.

     

    After some searching I discovered that, apparently, there are issues with Azure MFA implimentation messing up Flow connectors. See https://powerusers.microsoft.com/t5/General-Flow-Discussion/Flow-Connections-error-due-to-Credential-Expiration/td-p/38120 and a workaround (that I won't have access to) https://blog.peterdahl.net/2018/01/09/microsoft-flow-and-azure-conditional-access-azure-mfa/

     

    Other users of Glow Scotland have been having the same issue over the last few weeks. So it looks like a system-wide fault. I'm about to try phoning up my organisation's system support to find out if there's a way I can report it up to Glow Scotland, but I've got a feeling my Flows are now broken for the forseeable future.

  • cmcbrien Profile Picture
    cmcbrien 14 on at
    Re: Office 365 Outlook Connector repeatedly failing

    Ah, that helps.

     

    Looking at the document you linked, it seems likely that it is due to the LastPasswordChangeTimestamp attribute. I checked with my manager (it's his connectors the Flow uses) and he hadn't changed his password in some time which would match the sharply reduced token lifetime we have been experiencing.

     

    He has changed is password now and reverified the connection. I'll check with him later today and tomorrow morning to confirm that the connector is still active.

     

    Thanks for your help,

     

    Charles

  • v-yuazh-msft Profile Picture
    v-yuazh-msft on at
    Re: Office 365 Outlook Connector repeatedly failing

    Hi @cmcbrien,

     

    I afraid that the issue is caused by token lifetime.

     

    Please refer to link below to learn more details about the token lifetime:

    https://docs.microsoft.com/en-us/azure/active-directory/active-directory-configurable-token-lifetime...

     

     

    Best regards,

    Alice

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,508

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,839

Leaderboard

Featured topics