MSBA-252 · Lesson 10 of 12 · 20 min

Monitoring flows

▶ Video coming soon A video version of this lesson is on the way.

The invoice solution went live in Finance Prod on Monday, November 2, 2026, starting with invoices for the Downtown campus only. On the Wednesday, Ysaline walked into Rupert's office with a printout. "A supplier says we never got their invoice. Did we?" It took Signe four minutes to answer: the Intake flow had received the email, saved the PDF and created the invoice row; the Extract flow had flagged the purchase order number as low confidence; and the invoice was sitting in Needs review, unassigned, because the review queue in the clerks' app was sorted oldest first and nobody had scrolled to the bottom. The automation had worked. The monitoring around it had not yet caught up.

Monitoring is how a team knows that automation is doing what it should, notices quickly when it is not, and can answer questions like Ysaline's in minutes. AB-410 includes testing and troubleshooting cloud flows; this lesson extends that from one run to a whole solution in production.

Three levels of monitoring

It helps to think of monitoring at three levels. Run level asks whether a particular run succeeded and, if not, why. Flow level asks how a flow is behaving over time: how many runs, how many failures, how long they take. Process level asks whether the business outcome is being achieved: are invoices being processed and paid on time? Most automation teams start with run-level tools and stop there, which is how invoices end up quietly waiting in a queue while every flow shows green.

Three stacked layers. Run level: run history, step inputs and outputs, error messages, resubmit. Flow level: flow analytics, failure counts, durations, Automation center, cloud flow run history in Dataverse. Process level: business status counts in Dataverse, ageing of Needs review items, invoices paid within 30 days, reported in Power BI. Arrows show alerts flowing from each level to a Teams channel.
Monitoring at run, flow and process levels, with alerts from each.

Run level: run history and troubleshooting

Every cloud flow keeps a run history, showing each run's start time, duration and status. Opening a run shows each action with its inputs, outputs and duration, and failed actions show the error. Run history in the Power Automate portal is the transactional source of truth for what a flow did, and it is where the troubleshooting method from lesson 3 begins: find the first failure, read its inputs and error, decide whether it was temporary or permanent, fix the cause and resubmit.

Two settings change what run history shows. Secure inputs and secure outputs hide sensitive values, which Lumenvale used for supplier banking details. And actions renamed to describe their purpose make run history far easier to read: "List overdue approvals" tells you what failed; "List rows 3" does not.

Flow level: analytics and the automation center

For a single flow, the portal shows analytics with runs, failures and actions over time. For many flows, two features matter.

First, cloud flow run history in Dataverse. For solution cloud flows, Power Automate can write a row for each run into the FlowRun table in the environment's Dataverse. Microsoft's documentation, last updated in May 2026, describes it as an elastic table with columns including start and end time, duration, status (Success, Failed or Cancelled), trigger type, error code and error message, workflow name and owner. By default it keeps runs for 28 days, and administrators can choose 28, 14 or 7 days or turn it off in the environment's feature settings. It uses Dataverse database capacity, which is worth remembering for high-volume flows. Because it is ordinary Dataverse data, you can build views, charts and Power BI reports on it. Microsoft notes that the stream is not completely lossless, so the portal's run history remains the authority when the two disagree.

Second, the automation center in Power Automate brings monitoring for cloud flows and desktop flows together in one place, with views of runs, failures, top errors and recommendations across the flows a maker or administrator can see. Microsoft's documentation states that it uses cloud flow run history in Dataverse to provide this monitoring. For desktop flows, Power Automate adds run details, machine and machine group status, and dashboards; the 2026 release plan added utilization views for machines and flows and custom dashboard tiles.

Monitoring tools and the questions they answer.
ToolLevelAnswers questions like
Run historyRunWhy did this run fail? What did step 4 receive?
Flow analyticsFlowHow many runs and failures did this flow have this week?
Cloud flow run history in Dataverse (FlowRun)Flow, across many flowsWhich solution flows failed most this month? Report it in Power BI.
Automation centerFlow, across cloud and desktop flowsWhat are the top errors across my automations right now?
Business status data in DataverseProcessHow many invoices are waiting for review, and for how long?

Process level: watching the business outcome

Flows can all succeed while the process fails, as Ysaline's Wednesday showed. Process-level monitoring watches the business data the flows produce. Because the invoice solution kept every invoice's status in Dataverse, Kwabena could report what mattered: invoices received today, invoices in each status, how long items had been in Needs review, approvals waiting more than five working days, and the share of invoices paid within 30 days, compared with the 66 percent baseline from lesson 1.

Kwabena built a small Power BI report on the invoice tables and the FlowRun table together, so the same page showed technical health and business health. The clerks' app gained a view of Needs review items sorted by age, newest problems highlighted, and Ysaline got a daily summary in Teams from a scheduled flow: counts by status and anything older than two working days in review.

Alerts: telling the right person at the right time

Monitoring that nobody looks at is not monitoring. Alerts push the important signals to people, and the design question is always: who needs to know, how fast, and what will they do about it? Lumenvale used three kinds of alert.

Failure alerts from the flows themselves. The Catch scope in each flow posted to the accounts payable channel for business-affecting failures and to the IT operations channel for technical ones, with a link to the run. This catches problems within minutes and puts them in front of someone who can act.

Absence alerts. Some of the worst problems produce no failures at all: a trigger stops firing because a mailbox permission changed, and nothing runs. A scheduled flow checked each morning whether the Intake flow had run at least once in the previous business day and alerted IT operations if not. Checking for silence is easy to forget and very valuable.

Threshold alerts on business data. The daily summary flagged more than 20 invoices in Needs review or any approval waiting more than seven working days, which pointed to people rather than to technology: a clerk on holiday, or a budget holder whose delegate had not been set.

An outline of the morning health check combining an absence alert with business thresholds.
Scheduled flow: Finance - Morning health check (weekdays 7:30)
  List rows (Dataverse: Flow Run)
    Filter: workflow name eq 'Finance - Intake' and start time ge (previous business day 00:00)
  Condition: length(rows) equals 0
    Yes: Post message to IT operations  "Intake has not run since the previous business day"
  List rows (Dataverse: Invoice)  Filter: status eq Needs review
  Compose: items older than two working days
  Post adaptive card to Accounts payable  counts by status, oldest review items, approvals over seven days

Limits, throttling and capacity

Monitoring also means watching the limits that every platform has. Power Platform applies request limits to the number of actions users and flows can run in 24 hours, based on licences, and connectors apply their own throttling limits per connection. When a flow goes over its limits, actions slow down or fail with throttling errors. A Process licence gives a flow its own, higher request capacity. Desktop flows depend on machine capacity, and AI actions and agent calls depend on AI Builder credits and Copilot Credits, as lessons 6 and 7 described.

Administrators can see consumption in the Power Platform admin center, including capacity, licensing and usage reports, and makers can see a flow's action usage in its analytics. Lumenvale's busiest day, the Monday after the October payment run, generated about 260 invoice emails, and the team checked that the five flows together stayed well inside the Process licence capacity assigned to them.

Learning from incidents

Problems will happen, and the most useful habit is a short review afterwards. Lumenvale's first incident review, after Ysaline's Wednesday, took twenty minutes and asked four questions: what happened, how was it noticed, how long did it take to fix, and what will make it less likely or faster to spot next time? The answers led to the age-sorted review view and the two-day threshold alert. The review was blameless: the question was never who missed the invoice, only why the system let it be missed.

Worked problem

Diagnosing a quiet morning

On a Tuesday morning the health check reports that Intake has not run since Friday. Run history shows no failed runs; the last run succeeded on Friday afternoon. The AP mailbox shows 140 new emails since then. What should Signe check, in order?

Show solution
  1. The connection used by the trigger: has the service account's connection to Outlook failed authentication or lost access to the shared mailbox?
  2. The flow's state: was it turned off, or suspended by the platform, for example because of a licensing or data policy change?
  3. The trigger condition: did a change to the condition or to sender addresses stop it matching?
  4. Data policies: did an administrator change a data policy so that a connector in the flow is now blocked or in the wrong group?
  5. After fixing the cause, process the backlog: because the Outlook trigger fires on new arrivals, run a one-off instant flow that lists messages received since Friday and creates the invoice rows.

Answer: When nothing fails, check what makes runs start: the trigger's connection, the flow's state, its trigger condition and data policies. Absence alerts exist precisely to catch this kind of silent failure early.

Monitoring data also feeds improvement. Each month Kwabena reviewed the top five failure reasons across the finance flows and the top five reasons invoices went to Needs review. The first list drove technical fixes, such as a longer retry interval for the LedgerPoint API during its nightly refresh. The second drove process changes, such as asking a large supplier to put purchase order numbers in a consistent place on its invoices, which removed dozens of reviews a month.

Monitoring desktop flows

Desktop flows need some monitoring of their own. Machines go offline, sessions fail to start, applications show unexpected dialogs and selectors stop matching. Power Automate shows the status of each registered machine and machine group, the desktop flow runs queued and running on them, and each run's details, including the actions taken and any errors; for unattended runs it can capture screenshots on failure, and Microsoft added video logs in preview in 2026. Lumenvale's morning check included the LedgerPoint bots machine group: if either machine had been offline overnight, IT operations heard about it before the evening posting window.

Designing alerts that people act on

Before go-live, Rupert asked the team to fill in a simple table for every alert: what condition triggers it, who receives it, how quickly they must respond and what they should do first. Alerts that nobody could assign to a person, or that nobody could say what to do about, were dropped. The result was fewer alerts, each with an owner and a first step written into the message itself.

Lumenvale's alert design for the invoice solution.
AlertRecipientResponse timeFirst step
Technical failure in a flow's Catch scopeIT operations channelSame business dayOpen the run link and check the first failed action
Intake has not run since the previous business dayIT operations channelWithin one hourCheck the trigger's connection and the flow's state
Machine in LedgerPoint bots offlineIT operations channelBefore 18:00Check the machine and its session
More than 20 invoices in Needs reviewAccounts payable supervisorSame dayAssign review work across clerks
Approval waiting more than seven working daysAccounts payable supervisorNext business dayContact the budget holder or set a delegate

Common mistakes

  • MistakeWatching only for failed runs.

    InsteadAlso watch for absence of runs and for business outcomes such as items waiting too long.

  • MistakeAlerting everyone about everything.

    InsteadSend each alert to the people who can act on it, with a link to the evidence.

  • MistakeKeeping long run history in Dataverse for very high-volume flows without considering storage.

    InsteadChoose retention deliberately; FlowRun uses database capacity.

  • MistakeBlaming people after incidents.

    InsteadRun short, blameless reviews that improve the system.

Summary and key terms

  • Monitor at run, flow and process levels; green flows do not guarantee a healthy process.
  • Run history shows every action's inputs, outputs and errors and is the source of truth for a run.
  • Cloud flow run history in Dataverse stores solution flow runs in the FlowRun table, 28 days by default, for reporting.
  • The automation center brings cloud and desktop flow monitoring together and uses that Dataverse history.
  • Report business status from Dataverse alongside technical health, for example in Power BI.
  • Use failure, absence and threshold alerts, each sent to the people who can act.
  • Watch request limits, throttling, machine capacity and AI credits, and learn from incidents without blame.
Run history
The record of each flow run with its status and each action's inputs and outputs.
FlowRun table
The Dataverse table that stores cloud flow run history for solution flows.
Automation center
A Power Automate area for monitoring cloud and desktop flows across a portfolio.
Absence alert
An alert raised when something that should have happened did not.
Throttling
Slowing or rejecting requests that exceed a service's limits.
Request limits
Platform limits on the number of actions run in a period, based on licences.
Blameless review
An incident review that looks for system improvements rather than fault.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. Why did the supplier's invoice seem lost even though every flow succeeded?

    Show answer

    It was in Needs review, unassigned, at the bottom of an oldest-first queue; there was no process-level monitoring yet.

  2. How long does cloud flow run history in Dataverse keep runs by default?

    Show answer

    28 days, configurable to 14 or 7 days or turned off.

  3. What does an absence alert detect?

    Show answer

    That something expected, such as a run of the Intake flow, did not happen.

  4. What should be checked first when a flow has stopped running without any failures?

    Show answer

    The trigger's connection, the flow's state, its trigger condition and data policies.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz