Skip to main content

An agent acceptance test covers eight categories: grounded answers, knowledge gaps, ambiguity, tool use, escalation, authorization, privacy and prompt injection, plus out-of-scope requests. Copilot Studio evaluations hold up to 100 cases per test set, import from a CSV with Question and Expected response columns, offer eight test methods, and run as the signed-in user, so authorization cases are run once as a restricted user and once as an allowed user. Failed authorization, privacy, escalation or invented-answer cases block release. The free pack includes a synthetic import-ready test set and an acceptance plan.

Key Facts

  • Copilot Studio single response test sets hold up to 100 test cases (Microsoft Learn).
  • Import format: a CSV or text file with the headings Question and Expected response; each question up to 1,000 characters.
  • Evaluations run as the currently signed-in user, so authorization tests require signing in as the restricted user.
  • Test results stay in Copilot Studio for 89 days; export them to keep release evidence.

Last updated by Errin O'Connor, Founder & Chief AI Architect, EPC Group

What to test before an agent goes live

Good answers are the easy part. The release decision rests on what the agent does when the answer is not in its knowledge, when the request is ambiguous or out of scope, when it calls an action, and when the person asking should not see the data.

CategoryWhat it provesCopilot Studio test methodBlocks release?
Grounded answerAnswers match the sourceCompare meaning, Text similarity or Exact matchNo, scored
Knowledge gapIt admits what the source does not coverCustomYes, if it invents an answer
AmbiguityIt clarifies instead of guessingCustomNo
Tool useIt calls the right action, after confirmingTool useYes
EscalationSensitive requests reach a personCustomYes
AuthorizationRestricted users see nothing restrictedCustom, run as a restricted user and an allowed userYes
Privacy and safetyIt declines personal or harmful requestsContent safety and CustomYes
Prompt injectionInstructions in a prompt do not change its behaviorCustomYes

Running the pack in Copilot Studio

Acceptance rule

Set pass scores and labels before the first run. Any failed authorization, privacy, escalation, injection or invented-answer case blocks release whatever the other scores say; scored categories then go to the agent owner and business sponsor for sign-off. For the wider pilot decision, pair this pack with the Copilot pilot acceptance scorecard.

Download the test set (CSV, import-ready) and the acceptance plan (CSV). The example agent is a synthetic HR policy assistant on a fictional handbook; its questions and expected answers are illustrations, not client data. Replace them with cases from your own agent.

Primary sources

Frequently Asked Questions

How many test cases can a Copilot Studio test set hold?

Up to 100 test cases in a single response test set. You can write them by hand, generate them from the agent design or its knowledge, or import a CSV or text file whose first row has the headings Question and Expected response, with each question up to 1,000 characters. Results stay in Copilot Studio for 89 days, so export them if you need them as release evidence.

How do you test that an agent respects permissions?

Copilot Studio runs an evaluation as the currently signed-in user, so the evaluation sees what that user can see. Run the authorization cases twice: once signed in as a user who should be refused and once as a user who should get the data. A response that shows restricted data to the restricted user fails the release, whatever the other scores say.

Which Copilot Studio test methods fit which cases?

Compare meaning, Text similarity and Exact match need an expected answer and suit grounded factual questions. Tool use checks that the expected capability was called. Keyword match checks for required words or phrases. Content safety flags harmful content. Custom lets you define labels such as declines and stays in scope, which suits refusals, escalation and injection cases. General quality needs no expected answer.

Can generated test cases expose sensitive data?

Yes, and Microsoft says so: when Copilot Studio generates test cases it uses the connected account to read knowledge sources, generated cases can include sensitive data that account can access, and any maker with access to the agent can view its test sets. Generate with an account scoped to the data the agent should use.

Talk to a senior architect

A one-hour call with a senior EPC Group architect covers your agent, the cases that should block its release and how to run them as the right identities. Email contact@epcgroup.net or call 888-381-9725.

AI assistant — not a human