WORKING MACHINES GUIDE

How to require human approval for AI agent actions

PUBLISHED DECEMBER 3, 2026 / REVIEWED DECEMBER 3, 2026

To require human approval for an AI agent's actions, put the check in the layer that executes the action, not in the prompt. When a call needs a yes, that layer holds it, shows a person exactly what would be sent, and runs it once after they approve. In Working Machines this is the Rules page: you choose what to ask about, and held calls wait in the Approvals inbox.

01

Why a prompt instruction is not enough

Telling a model to ask before it sends an email is guidance, not a control. The model decides whether the instruction applies, and a document, ticket or web page it reads can contain text that argues the opposite. Nothing stops the call if the model gets it wrong.

A control has to sit where the call is executed. The agent proposes an action; a separate layer that the model cannot rewrite decides whether it runs now, waits for a person, or is refused. That layer also has the facts a person needs to decide: the real account, the real recipients and the real input.

  • A prompt can be overridden by content the agent reads
  • The executing layer sees the actual call, not a description of it
  • The same rules then cover every agent on the account, unless you give a key rules of its own
02

Decide which actions wait

Asking about everything trains people to approve without reading. Ask about the actions that are hard to undo or that reach other people. Working Machines sorts actions into kinds, and three are held by default once rules are enforced: sending, deleting, and changing who has access. A fourth, any change, is available when an account needs every write reviewed.

Two lists adjust this for single actions: always ask and never ask. An entry is an exact action such as outlook.send_email, or a whole app such as microsoft_entra.*. An action the runtime does not recognise is always asked about, so nothing runs unseen because it was missing from a list.

  • Sending: email, messages, invites
  • Deleting: files, records, events
  • Changing who has access: sharing, members, permissions
  • Any change: optional, for accounts that review every write
03

Show the approver the call, not the agent's summary

An approval is only as good as what the approver was shown. If the request is the agent's own description, a confused or manipulated agent can describe one thing and send another. Build the request from the call itself.

A Working Machines request shows the app and the account the action would use, the action and its kind, the exact input with passwords and keys hidden, the key or sign-in that asked, and when the request expires. The owner approves it once, rejects it, or withdraws an approval before the agent uses it.

  • The account is shown, so the right action on the wrong account is caught
  • The input is the real input, with secrets hidden
  • The caller is named: which key or sign-in asked
  • Every request has its own link and an expiry
04

What the agent does while it waits

By default, a held call is answered at once with the code approval_required and four facts: the request's id, its status, when it expires and a link the person can open. Over MCP they come in the tool result. Over the HTTP API the status is 202. The agent should tell the person a request is waiting and stop retrying.

After the yes, the agent sends the same call again with the same input, and the action runs once. A different input is a different request. After a no, the same call is answered approval_rejected for 15 minutes. An account can also let a held call wait up to 90 seconds, so a quick approval returns the result in the same call.

  • approval_required: wait, then send the same call again
  • approval_rejected: stop and report it
  • approval_expired: ask again if the task still needs it
  • approval_stale: what the approval covered has changed; ask again
05

Roll it out without breaking working agents

Rules start switched off, so connecting them changes nothing. The next step is Record only: every call runs as before, and the log records what the rules would have held or refused. A day of real work in this mode shows whether your ask list is too wide before anyone is interrupted.

Then switch to Enforce. Approval notices go to the owner by email, and optionally to an address that shows them as a card in Microsoft Teams. If something goes wrong, Pause all agents refuses every agent call in one step.

  • Off: nothing changes
  • Record only: see what would happen
  • Enforce: the rules apply
  • Pause all agents: stop everything, in any mode
06

Limits to know

Approval decides whether an action runs. It does not make the result safe to forward, and it does not stop an agent from reading data it was allowed to read. Pair approvals with narrow permissions: read-only apps, a list of domains agents may send to, and keys that can use only the actions they need.

Approval also depends on a person being available. A request that nobody answers expires, 24 hours later unless the owner sets a shorter time, and the action does not run. Design the agent's task so that a missing answer is a normal outcome it can report.

  • Keep the ask list narrow so requests get read
  • Expect unanswered requests and handle them
  • Combine approvals with least-privilege keys

Primary references

The protocol and security guidance in this article is grounded in the following primary documentation.

APPLY THIS GUIDE

Connect the agent you already use.

ONE CONNECTION. REAL WORK.

Give your agent software it can use.

Connect through MCP or explore the Agent App catalog and choose only the capabilities your workflow needs.

EXPLORE AGENT APPS