MSBA-311 · Lesson 12 of 12 · 21 min

Case study: a procurement agent team

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

This final lesson leaves Quillfield and applies the whole course to a different organization and a different process. Wyndbrook Building Products is a fictional manufacturer of windows and exterior doors with about 950 employees, a head office and main plant in Brandon and two smaller plants. Its procurement team of 14 people buys everything from aluminium extrusions and glass to safety gloves and forklift repairs, from about 2,300 active suppliers. Purchasing runs on Dynamics 365 Supply Chain Management, procurement policy and supplier contracts live in SharePoint, and staff use Microsoft 365 Copilot and Teams.

In September 2026, Wyndbrook's director of procurement, Odalys Halvorsen-Nwosu, set a goal: cut the time from a purchase requisition to an approved purchase order for non-catalogue items from an average of six working days to two, without loosening controls. Thaddeus Moyo-Carrick, Wyndbrook's enterprise architect, led the design of what the team called the procurement agent team. The lesson follows their decisions in the order this course has taught them. Treat it as a worked case: at each step, decide what you would do before reading what Wyndbrook did.

The process and its problems

About 1,800 purchase requisitions a month reach procurement. Roughly two thirds are for catalogue items with agreed prices, which the ERP already turns into purchase orders automatically. The other third, about 600 a month, are non-catalogue requests: a replacement part for a press brake, a specialist sealant, a one-off maintenance service. These are the slow ones. A buyer reads the request, often has to go back to the requester for details, checks whether an approved supplier exists, asks suppliers for quotes, checks the purchase against policy and the delegation of authority, checks the supplier's insurance certificate and risk status, and finally creates the purchase order for approval.

Odalys's team had measured where the six days went. About two days were spent waiting for requesters to supply missing details; about two days waiting for supplier quotes; about one day on checks; and the rest in approval queues. Buyers' actual working time per request averaged about 90 minutes.

The procurement agent team. Employees talk to the Requisition Assistant in Teams (Copilot Studio). It starts a Foundry workflow: sourcing agent (calls ERP MCP server and supplier A2A agent), then a concurrent block with the policy and contract checker and the supplier risk agent (calls a risk data MCP server), then a buyer approval step, then a deterministic purchase order creation in the ERP, then manager or director approval according to the delegation of authority.
The procurement agent team as designed: a Copilot Studio front door, a Foundry workflow with three specialist agents, deterministic steps for system changes and approvals at every commitment.

Step 1: should it be several agents?

Thaddeus applied the split test from lesson 1. Could one agent do this? A single agent would need tools for the ERP, SharePoint policies, contracts, supplier email, a supplier risk data service and approvals, and knowledge covering policy, contracts and supplier records: well over the 30 to 40 choices at which planning quality starts to fall. More importantly, the parts had different owners and boundaries. Policy and contracts belong to procurement; supplier risk data comes from an external provider under a licence that limits who may see it; information security, led by Ebba Szymanska-Doyle, required that anything reading supplier documents be isolated from anything that can create purchase orders.

He then asked which steps were fixed. The order (understand the request, source, check, approve, create the purchase order, approve again) never changes, so it belongs in a workflow. Judgment is needed in four places: understanding a vague request, finding suitable suppliers, interpreting policy and contracts, and assessing supplier risk from documents. That gave four agents: a front door and three specialists, with the order held by the workflow.

Step 2: patterns and platforms

The design nests patterns, as Quillfield's did. The Requisition Assistant, built in Copilot Studio and published in Teams, is a supervisor for employees' conversations: it helps them describe what they need, checks the catalogue first, answers questions about the status of their requests, and starts the workflow for non-catalogue items. Wyndbrook's Power Platform team maintains it, and it follows existing data policies.

The procurement workflow runs in Microsoft Foundry, owned by Thaddeus's team. It is sequential with one concurrent block: after the sourcing agent proposes suppliers and gathers quotes, the policy and contract checker and the supplier risk agent run at the same time, because neither depends on the other. Then the workflow pauses for the buyer's review, creates the purchase order through a deterministic step, and routes it for approval under the delegation of authority.

The team considered a group chat in which a critic agent would review the sourcing agent's supplier choice. They decided against it: the buyer's review already plays that role, and early evaluation showed no measurable gain from an automated critic. They also rejected a magentic manager, because the steps are known.

ComponentPlatformOwnerReason for this home
Requisition AssistantCopilot Studio, published to TeamsPower Platform teamMaker-maintained front door, existing data policies
Procurement workflowFoundry workflowEnterprise architectureParallel steps, typed variables, long human pauses, versioning
Sourcing agentFoundry prompt agentProcurementReasoning over supplier records and quotes
Policy and contract checkerFoundry prompt agent with Foundry IQ knowledgeProcurementGrounded answers from policy and contract documents
Supplier risk agentFoundry prompt agentInformation security with procurementIsolated reader of untrusted supplier documents and licensed risk data

Step 3: tools through MCP, suppliers through A2A

Wyndbrook's integration developer built an ERP MCP server in front of the Dynamics 365 Supply Chain Management APIs with five tools: search approved suppliers by category, get supplier details, get item purchase history, get budget availability for a cost centre, and create purchase order draft. The first four are read tools enabled for the sourcing agent and the Requisition Assistant; the write tool is not given to any agent at all. Only the workflow's deterministic step calls it, with an idempotency key built from the requisition number. The server sits behind an API gateway that validates tokens, limits calls per agent identity and logs every call with its trace identifier.

The supplier risk agent uses a second MCP server, run by the risk data provider, with two read tools: risk rating by supplier and sanctions screening result. Ebba's team reviewed the tool descriptions before enabling them, recorded the server in Agent 365's tools registry and set up monitoring for changes to its tool list.

For quotes, most suppliers still work by email: the sourcing agent drafts a request for quotation, a buyer approves it, and a workflow step sends it. One large industrial distributor, Corbeau Industrial Supply, offered an A2A quoting agent from October 2026. For Corbeau, the workflow sends the request as an A2A task, after the same buyer approval. Corbeau's agent may move the task to input required, for example to ask for a drawing, and the request appears to the buyer; when the task completes, the quote comes back as an artifact. Thaddeus pinned Corbeau's endpoint and provider in configuration, verified its signed Agent Card, and kept email as the fallback.

Step 4: state and hand-off contracts

Every requisition already has a record in the ERP, and that remains the system of record for its status. The workflow adds a procurement case table, linked to the requisition, holding the structured outputs of each agent, the decision records, checkpoints for long waits and the A2A task identifiers. The Requisition Assistant answers status questions from these records, never from Foundry's run history.

Hand-offs use versioned, structured contracts. The Requisition Assistant produces a request record with the item description, quantity, required date, cost centre, plant, intended use, any part numbers or drawings, and a field listing what the requester could not provide. Missing details had been the biggest single source of delay, so the assistant's main job became asking the requester for them *before* the workflow starts. In the pilot this alone cut the average wait for clarification from two days to under half a day.

The sourcing agent produces a sourcing proposal: candidate suppliers with the reason each was chosen, quotes received with their source documents, and its recommendation. The checker and risk agent each return findings with severity, source and date. None of these contracts carries free-text instructions from one agent to another.

Step 5: people in the loop

Wyndbrook already had a delegation of authority: purchases under 5,000 dollars approved by the requester's manager, 5,000 to 50,000 by a procurement manager, and above 50,000 by Odalys and the plant's finance controller. The design kept it exactly and added risk tiers for agent actions.

ActionTierControl
Answer a status or policy question0None per action; sampled review
Draft a request for quotation1Buyer reviews before sending
Send a request for quotation or A2A task to a supplier3Buyer approval gate
Create a purchase order draft in the ERP2Deterministic step after buyer approval; no agent can call it
Approve and release a purchase order4Existing delegation of authority; never automated
Change a supplier's bank detailsOut of scopeAgents never handle it; routed to accounts payable for call-back verification

The last row came from Priyanka Rautenbach, the accounts payable lead. Requests to change supplier bank details are a classic route for payment fraud, and they sometimes arrive inside quote emails. The agents are instructed never to act on them, the supplier risk agent flags any document that mentions bank details, and such requests go to accounts payable, which verifies them by calling a known contact at the supplier, exactly as before.

The buyer's review screen followed the principles of lesson 8: each supplier recommendation links to its quote and purchase history, each finding links to the policy clause or document behind it, uncertain items appear first, and the actions that will follow are listed. Buyers can remove a supplier or edit the request for quotation in place.

Step 6: failures and attacks

Thaddeus's team wrote a failure plan for each dependency before the pilot. If the risk data server is unavailable, the risk finding becomes "risk check not available" and the buyer must check manually before approving; it never defaults to low risk. If Corbeau's A2A agent fails, the workflow falls back to email. If the ERP server is slow, reads are retried with backoff and a circuit breaker protects the ERP. If the purchase order draft step fails after the supplier has been told an order is coming, the saga's compensating action notifies the buyer to contact the supplier. Every model-driven step has turn, time and cost limits.

Supplier quotes are untrusted content: a quote PDF could contain text designed to steer an agent, such as an instruction to rank that supplier first. The defences follow lesson 9. The supplier risk agent and the sourcing agent read supplier documents but have no write tools and cannot send anything outside Wyndbrook. Their outputs are structured fields, with free-text notes marked as untrusted. Prompt injection detection is applied to retrieved documents. Every outbound message and every commitment passes a buyer or approver who sees exactly what will happen. Ebba's team tested these layers with harmless test documents containing instruction-like text before the pilot started.

Step 7: observability

All components send telemetry to one Application Insights resource, and every hand-off record carries the requisition number and a trace identifier. The ERP MCP server and gateway were instrumented with OpenTelemetry, so traces continue into them. Content capture is off in production except for a weekly sample used for evaluation. The dashboard tracks five groups of measures: outcome (cycle time from requisition to approved purchase order, share of buyer approvals without edits), latency per step, reliability (fallback rates, stalled cases), quality (evaluation scores for policy findings and supplier recommendations) and cost per requisition.

Two service level objectives were agreed with Odalys: 80 percent of non-catalogue requisitions reach buyer review within four working hours of a complete request, and policy findings score at least 95 percent on the weekly groundedness evaluation.

Step 8: cost

Wyndbrook's analyst estimated cost per requisition the way Hamish did at Quillfield: count the calls per step, attach current rates, multiply by volume. The Copilot Studio front door averaged about 40 credits per non-catalogue requisition, including the clarifying questions. The Foundry agents used a small model for the request record and the sourcing search, and a larger model only for the policy and contract checker, whose quality fell noticeably on smaller models. Supplier records and risk ratings were cached for a day. A per-request budget stops any requisition that consumes more than three times the typical amount and hands it to a buyer. The technology cost per requisition came to a small fraction of the value of the buyer time saved, and cost per requisition, not total spend, is the measure the team reports.

The pilot

The pilot began at the main plant on Monday, November 9, 2026, with four buyers and about 120 employees who raise requisitions regularly. Lucien Okoro-Feldt, a buyer at the main plant, reviewed every case. By Friday, November 20, the pilot had handled 214 non-catalogue requisitions. The figures below are from Wyndbrook's own two-week review and are early results, not a settled outcome.

MeasureBeforeFirst two weeks of pilot
Average cycle time, requisition to approved purchase order6 working days2.6 working days
Wait for missing detailsAbout 2 daysUnder half a day
Buyer working time per requisitionAbout 90 minutesAbout 35 minutes
Buyer approvals without editsNot applicable71 percent
Cases that hit a fallbackNot applicable9, all handled as designed

The review also found problems. The policy and contract checker twice cited a superseded version of the travel and entertainment policy, because an old copy was still in the knowledge base; the stale document was removed and a weekly check of document versions added. Buyers asked for supplier recommendations to show the last three purchase prices, which was added. And quote waiting time had barely changed for email suppliers, which suggests the two-day goal will depend on suppliers, not agents. The rollout to the other two plants is planned for February 2027, after a second review.

Worked problem

Your turn: extend the design

Priyanka asks whether the agent team could also match supplier invoices to purchase orders and goods receipts, and send exceptions to accounts payable. Using the course's steps, outline a design.

Show solution
  1. Split test: is a new agent needed? Matching is largely deterministic in the ERP; an agent is useful only for reading non-standard invoices and explaining exceptions.
  2. Pattern: a sequential workflow triggered by invoice arrival, with an agent only in the extraction and exception-explanation steps.
  3. State: the ERP remains the system of record; extraction output is a structured invoice record with an uncertainty field.
  4. People: any exception, and any invoice mentioning bank details, goes to accounts payable; payment release stays under existing controls.
  5. Failures, observability and cost: invoice documents are untrusted content; extraction runs on a small model; every invoice carries a trace identifier and the case links to the purchase order.

Answer: A small extension: one extraction agent with no write tools inside a deterministic matching workflow, with all exceptions and payments handled by people. Most of the value comes from the ERP's existing matching; the agent handles the documents that matching cannot read.

Common mistakes

  • MistakeGiving any agent the tool that creates purchase orders.

    InsteadKeep system-changing actions in deterministic workflow steps after approval.

  • MistakeDefaulting a missing risk check to low risk.

    InsteadMark it not available and require a manual check.

  • MistakeLetting agents act on bank detail changes found in supplier documents.

    InsteadRoute them to accounts payable for independent verification.

  • MistakeJudging the pilot on technology metrics alone.

    InsteadMeasure the business outcome, here cycle time and buyer effort, alongside quality and cost.

  • MistakeAssuming agents can fix delays caused by outside parties.

    InsteadFind where time goes; some delays, such as supplier quotes, need business changes.

Summary and key terms

  • Wyndbrook split the work into a front door and three specialists because of tool count, ownership, licensing and security boundaries, and held the fixed order in a workflow.
  • MCP servers give agents governed access to the ERP and risk data; A2A lets one supplier's agent take quote requests, with email as the fallback.
  • Structured hand-off contracts and clarifying questions up front removed the largest source of delay.
  • Risk tiers kept every commitment with a person and kept bank detail changes out of the agents' reach.
  • Failure plans, layered injection defences, unified telemetry, service level objectives and cost per requisition made the system operable.
Purchase requisition
An internal request to buy something, which procurement turns into a purchase order.
Delegation of authority
The rules saying who may approve spending of what size.
Request for quotation
A request to suppliers to price a defined need.
Procurement case
Wyndbrook's table holding agent outputs, decision records and checkpoints for each requisition.
Call-back verification
Confirming a request, such as a bank detail change, by contacting a known person through a known channel.

Practice problems

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

  1. Why does no agent have the create purchase order draft tool?

    Show answer

    System-changing actions are kept in a deterministic workflow step after buyer approval, with an idempotency key.

  2. What happens if the risk data server is unavailable?

    Show answer

    The finding becomes risk check not available and the buyer must check manually; it never defaults to low risk.

  3. Which change produced the biggest early time saving?

    Show answer

    Asking requesters for missing details before the workflow starts, which cut that wait from about two days to under half a day.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz