web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Health Check for Conne...
Power Automate
Suggested Answer

Health Check for Connection References

(2) ShareShare
ReportReport
Posted on by 10
Hi,
 
I have several independent flows which are using connection references for various SharePoint & Outlook related actions. The connection reference is using service principle. Is there any way or method I can leverage to do a health check of the connection reference before any of the flows are executed?
I have the same question (0)
  • Suggested answer
    rezarizvii Profile Picture
    177 on at
    Hi @AM-27020944-0, hope you are doing well.
     
    There’s no built-in “health check” for connection references, but you can handle this in a couple of practical ways.
     
    One approach I would recommend is:
    Create a separate flow that:
    • Calls a simple action per connection reference e.g.: Get Items for SharePoint, Get Emails for Outlook, etc.
    • Wrap each connector in a separate Scope block. This is crucial to let your flow continue even if an action fails.
    • Logs status (Dataverse / SharePoint / email) for each scope that fails.
     
    You can run it:
    • On schedule
    • Before deployments
     
    For service principal connections, most failures come from:
    • Expired client secret / certificate
    • Revoked permissions
    So, monitoring those is just as important as runtime checks.
     
    If this reply helped you in any way, please mark 'Yes' for "Was this reply helpful?" and give it a Like 💜
    In case it resolved your issue, please mark it as the Verified Answer ✅.
  • 11manish Profile Picture
    943 on at
      is right , there is no built-in way to pre-check connection references in Microsoft Power Automate before a flow runs—they are only validated at runtime.
     
    Best approaches
    • Add a pre-flight check step (e.g., simple SharePoint/Outlook action) at the start of each flow
    • Create a central health-check flow to monitor connections regularly
    • Use admin tools for additional monitoring (optional)
     
    Even valid connections can fail due to tokens, permissions, or access changes—so runtime validation is essential.
  • Suggested answer
    Valantis Profile Picture
    2,651 on at
     
    There is no native pre-flight health check for connection references before a flow runs in Power Automate. The platform does not expose token expiration dates via API or UI, and connections are only marked as Invalid after a flow run fails and the token refresh is unsuccessful.
     
    The practical approach to proactively monitor connection health is to build a scheduled monitoring flow that:
    1. Calls the Power Platform Admin API to list all connections in the environment
    2. Filters for connections with status = Invalid
    3. Sends an alert via email or Teams when a broken connection is detected
     
    This won't catch a connection before it breaks but it will alert you as soon as it does, before your business flows are impacted.
     
    For your service principal specifically, the more reliable long-term approach is to monitor the certificate or client secret expiry in Azure Portal > App Registrations > Certificates & Secrets and set alerts there so you can renew before the connection breaks.
     
     

     

    Best regards,

    Valantis

     

    ✅ If this helped solve your issue, please Accept as Solution so others can find it quickly.

    ❤️ If it didn’t fully solve it but was still useful, please click “Yes” on “Was this reply helpful?” or leave a Like :).

    🏷️ For follow-ups  @Valantis.

    📝 https://valantisond365.com/

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 612

#2
Valantis Profile Picture

Valantis 344

#3
11manish Profile Picture

11manish 326

Last 30 days Overall leaderboard