| Duration | Level | Prerequisites |
|---|---|---|
| 5 min | Beginner | Lab 08 complete (push and publish succeeded) |
Overview
The portal’s built-in Test pane is the fastest way to confirm the topic works. Click Test, type hello, and the agent replies with the greeting you authored in Lab 07. An alternative CLI-based test path exists via @copilot-studio:copilot-studio-test, but it requires an Azure App Registration that is out of scope for this workshop; the portal Test pane needs no extra setup.
Learning objectives
- Open the Test pane in the Copilot Studio portal.
- Send
helloand see the expected reply. - Identify the CLI-based test alternative and the App Registration prerequisite that gates it.
Exercise 9.1 — Open the Test pane
- In the Copilot Studio portal, on the
HelloWorldAgentedit view, click Test in the top-right corner. - The Test pane opens as a side panel with a conversation input box.

Exercise 9.2 — Send “hello” and confirm the reply
-
In the Test pane input box, type:
hello - Press Enter.
-
The agent replies with the greeting from your topic:
Hello, world! I'm a Copilot Studio agent authored from VS Code via the Copilot CLI plugin.

Exercise 9.3 — (Optional) Test from the CLI instead
-
The CLI path uses
@copilot-studio:copilot-studio-test:@copilot-studio:copilot-studio-test Send "hello" to the published agent -
The first invocation of
testrequires an Azure App Registration configured with theCopilotStudio.Copilots.Invokedelegated permission. Follow SETUP_GUIDE.md Step 5 Option A to set it up.
[!NOTE]
cloneandpushuse the LSP binary directly and do not require any App Registration. Only thetestsub-agent needs theCopilotStudio.Copilots.Invokepermission because it acts as an OBO (on-behalf-of) caller of the published agent.

Verification Checkpoint
Before proceeding, verify:
- The Test pane is open on the
HelloWorldAgentedit view. - Sending
helloproduces the greeting reply from your topic. - The reply text matches the
activity:string inHelloWorldAgent/topics/HelloWorld.topic.mcs.yml.
Next Steps
You completed the hello-world walkthrough. Continue to Lab 10 — (Advanced) Add a knowledge source for an optional 15-minute extension that grounds the agent in Microsoft Learn content.