Microsoft Power Automate Error Handling Tips

Microsoft Power Automate Error Handling Tips <meta name="twitter:card" content="summary_large_image" />

Whether it’s caused by a Microsoft software update, internal adjustment to your environment, or a data overload, you can expect to encounter a Power Automate error at some point. When the inevitable happens, do yourself a favor and use these Power Automate error handling tips to make the task of troubleshooting a little easier.

What is Power Automate?

Power Automate is a no-code, cloud-based service that empowers non-developer users to create automated workflows between applications. It’s a key component of Microsoft’s Power Platform business application suite.

Error Logging in Power Automate

When creating workflows, we find it very helpful to use error logging to track Power Automate results so they can be supported by a broader audience.


By default, Power Automate will exit the flow at the point of failure. Periodic email notifications will be sent to the owner(s) of the Power Automate. Here you can see a 28-day run history and any run failures. 


Note: if a Power Automate fails continuously for 14 days, it will automatically be turned off. For more key limit information, see the table near the end of the article.

Alternative desc

Digging through each run to identify errors is time consuming, so we recommend creating a few error log scenarios to capture this information. The scenarios can be as simple as an email notification when a Power Automate fails or an activity in Power Apps or Dynamics 365 that records when a Power Automate fails, the error type, and a potential resolution.

Examples of Common Error Types

  • Data Type Mismatches/Invalid Inputs
    • A number was expected but a string was provided
  • Invalid Expressions
    • A value is expected but the field is blank
    • The expression was incorrectly formatted (due to special characters, typo)
  • Throttling Errors
    • Too many requests or the request times out

Create "Run After" Conditions

We also recommend creating "Run After" conditions in the Power Automate blocks. “Run After” conditions are configured by clicking the ellipsis of an action block and selecting the "Configure run after" option. By default, the "Run After" condition is set to "Success". This allows you to continue through the workflow even if the previous step has failed, is skipped or has timed out. In the example below, an email is sent to accounting if the previous step (retrieving a file from SharePoint) has failed or timed out.

Alternative desc

Key Limits to Watch Out For

Alternative desc

Interested in learning more about error handling in Power Automate? Get in touch with an Altriva Solutions Power Platform consultant or read the Microsoft documentation.

Other articles you might be interested in...

FacebookTwitterLinkedIn
;
;