Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Edit a Test Set in Microsoft Copilot Studio

Update a Copilot Studio test set's name, evaluation methods, test cases, user profile, and connections, or safely delete obsolete sets and results.

Table of Contents

Microsoft Copilot Studio test sets let you run repeatable questions or conversations against an agent and score the responses. You can edit a saved test set to change its name, evaluation methods, cases, user profile, and connections. Because an evaluation can access the same knowledge and tools as the selected account, review permissions before running it.

Edit the test set name and evaluation methods

  1. Open the agent in Copilot Studio and go to Evaluation.
  2. Select the test set you want to change.
  3. In the Configure test set pane, edit the name if necessary.
  4. Select Add test method to add scoring methods, or open an existing method to change or remove it.
  5. Configure any required pass score, expected answer, keyword, tool, or custom criteria.
  6. Select Save.

Change the details of the test kit. Picture 1

Choose an evaluation method

MethodWhat it checksTypical configuration
General qualityRelevance, groundedness, completeness, and abstentionNo expected answer required
Compare meaningWhether the response conveys the meaning of the expected answerExpected answer and pass score
Tool useWhether the agent used an expected tool or topicExpected capabilities
Keyword matchWhether required words or phrases appearExpected keywords; any or all
Text similarityHow closely wording resembles the expected answerExpected answer and pass score
Exact matchWhether the answer exactly matches the referenceExpected answer
CustomWhether the response meets criteria you defineInstructions and pass labels

Use exact match only for deterministic outputs such as a fixed identifier. Compare meaning is generally more suitable when several phrasings can be correct. General quality is useful when no single reference answer exists, but its model-based score should still be reviewed against important cases.

Edit individual test cases

  1. Open the test set from the Evaluation page.
  2. Select the question or conversation to edit.
  3. For a single-response case, change the Question and complete the expected-answer, keyword, or capability fields required by the selected methods.
  4. For a conversation case, open the conversation editor and change the user messages or reference responses.
  5. Select Apply for the case, then save the entire test set.

Change the details of the test kit. Picture 2

A test set can be useful only if its cases represent real behavior. Include normal requests, ambiguous questions, permission boundaries, unsupported topics, and failure conditions. Correct an obsolete expected answer before using the set to judge a new agent version.

Manage the user profile and connections

The selected user profile determines the account context used during evaluation. It can affect which knowledge sources and tools the agent can access.

  1. Open the test set and select Manage or Manage profile beside User profile.
  2. Select an existing account or choose Add an account and sign in.
  3. Open any connection showing a warning.
  4. Select a working connection, try Reconnect, or choose Create new connection.
  5. When all required connections show as working, select Save.
  6. After the profile dialog closes, save the test set again.

Change the details of the test kit. Picture 3

Security implications

Copilot Studio may use the connected account to reach knowledge and tools while it creates cases or runs an evaluation. Generated questions and stored test cases can therefore include information available to that account. Makers who can access the agent may also be able to see its test sets.

  • Use a dedicated test account with the least privileges required.
  • Do not use a highly privileged personal account simply to avoid connection errors.
  • Verify that every test profile is permitted to see the data returned in its cases.
  • Remove sensitive generated cases that are not needed for evaluation.

Using an account different from the connector-authenticated account is available only in supported scenarios and may be a preview feature. If a run reports that the account cannot connect to tools, select an account with a valid tool connection or repair the connection instead of broadening permissions indiscriminately.

Delete a test set or result

Deleting a test set removes the reusable cases and configuration. Deleting a result removes one recorded run but leaves the test set available.

  1. Go to the agent's Evaluation page.
  2. To delete a test set, open the three-dot menu on its card, or open the set and use the menu in the Configure test set pane, then select Delete.
  3. To delete a run, find it under Recent results, open its three-dot menu, and choose Delete test. You can also open the result and delete it from the Evaluation summary menu.

Change the details of the test kit. Picture 4

Export results that must be retained before deletion. Microsoft currently keeps Copilot Studio test results in the product for 89 days, so export the CSV if the record is needed longer.

Check the test set before the next run

  • Confirm that names and expected answers match the current agent behavior.
  • Use the least privileged profile that accurately represents the target user.
  • Resolve all connection warnings.
  • Remove duplicate or obsolete cases.
  • Run the same set before and after an agent change to make the comparison meaningful.

Microsoft's current documentation covers editing and deleting test sets, editing test cases, and choosing evaluation methods.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.