Classic RAG
Retrieve relevant passages, then generate an answer. A sensible starting point for approved purchasing policies.
Explore the source ↗Production field guide · Business Central
Understand what failed, check the evidence and verify the repair. Start with RAG, then follow the tools into your business processes.
Reviewed 12 September 2026. These are documented failure patterns and illustrative Business Central scenarios—not client incident reports or a ranking by frequency.
01 · Understand the system
Retrieval-augmented generation finds relevant information and supplies it to a model as evidence for an answer. It does not, by itself, retrain the model or guarantee correctness. In a Business Central solution, that evidence might be an approved procedure explaining how to handle a purchase exception.
Debug the retrieval step first: missing or unsuitable evidence needs a different fix from a model that misinterprets good evidence. For live amounts and transactions, use authorised Business Central tools and deterministic calculations.
Microsoft’s RAG overview ↗02 · Choose deliberately
These six useful approaches overlap. Hybrid search is a retrieval technique; contextual enrichment changes how evidence is indexed; an agent can use either. Choose the simplest combination that passes your business tests.
Retrieve relevant passages, then generate an answer. A sensible starting point for approved purchasing policies.
Explore the source ↗Combine keyword and vector search, then optionally reorder results. Useful when Business Central item numbers and descriptive language appear together.
Explore the source ↗Add document context to chunks before indexing. Helps a short policy extract retain its meaning.
Explore the source ↗Use extracted relationships and summaries to explore connected information. Consider for questions across suppliers and policy documents; it does not replace ledger calculations.
Explore the source ↗An agent plans and iterates searches. Useful for questions needing several evidence sources, with explicit limits on time and tool calls.
Explore the source ↗Retrieve evidence from material such as text and images using suitable extraction and models. Scanned delivery notes need evaluation beyond plain-text search.
Explore the source ↗03 · Diagnose before changing
Use these as investigation paths. A symptom can have several causes; a proposed correction becomes a resolution only after verification.
04 · Beyond the answer
Microsoft documents a Copilot Studio connector failure when its response exceeds 500 KB. First inspect the actual error; not every 400 has this cause.
For an illustrative ledger query, reduce records and fields using supported connector inputs, then test representative larger results. Add pagination only where the connector supports it.
Microsoft’s diagnosis and resolution ↗Capture the error code and correlation ID. Check connection identity and permissions for access failures; inspect limits and service status for throttling or timeouts.
For Business Central integrations, use bounded retries where appropriate, honour retry guidance and narrow expensive queries. Retest the failing path under expected load.
Copilot Studio error reference ↗Engineering recommendation: a timeout does not prove a write failed. Before retrying a Business Central order creation, reconcile the first attempt using a stable request reference.
Design duplicate prevention around the operation’s supported behaviour. Test a lost response after a successful write and confirm only one document exists.
Engineering recommendation: cap search iterations, elapsed time and tool calls. Record whether each extra search added useful evidence.
For a supplier investigation, define a completion condition and a hand-off when evidence is insufficient. Test difficult questions as well as successful ones.
Worked diagnostic example · Illustrative
Issue: a purchasing assistant cites a superseded approval limit.
Investigation: the retrieved passage belongs to an archived policy. Its version and effective date were not included in the selection logic.
Proposed resolution: preserve that metadata and restrict answers about current rules to eligible current documents. Keep historical questions explicitly separate.
Acceptance check: ask for the current rule, a dated historical rule and an unavailable rule. Confirm the correct versions are cited and the unsupported question is declined. This is a validation recipe, not a claim of a completed customer repair.
We help diagnose retrieval, permissions and agent integration issues in Business Central environments. In your initial enquiry, describe the symptom and business impact; leave out credentials and customer records.
Discuss a production agent →