Adapted from Microsoft Learning
Original Microsoft Learning lab page
Adapted from Lab 1, Exercise 3: Create an Agent and Configure Its Identity, Memory, and Safety in the MicrosoftLearning/AB-620T00_build_integrated_ai_agents_in_copilot_studio repository, made available by Microsoft Learning under the MIT License.
Copyright (c) 2024 Microsoft. See the repository LICENSE file.
View full MIT License text
MIT License
Copyright (c) 2024 Microsoft
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Changes made by IGOE AI: converted into a UK English follow-along checklist with browser progress tracking, prerequisites and a recap. This is not an official Microsoft page and is not endorsed by Microsoft.
Watch the video
A walkthrough video will appear here once the YouTube ID is added.
What you will build
A configured Customer Support Rep Assistant agent with explicit instructions, memory enabled, reviewed safety/access settings and three validated Preview test conversations.
Prerequisites
- Completed Exercise 2 with the Customer Support Rep Assistant solution set as preferred.
- Access to the Copilot Studio GitHub Copilot agent harness experience.
Scenario
Customer support representatives need an assistant that speaks to them (not directly to end customers), asks focused clarifying questions, avoids inventing order statuses, and refuses out-of-scope or fraudulent requests cleanly.
Learning outcomes
By the end of this lab, you will be able to:
- Create an agent inside your preferred solution and set a clear name and identity.
- Author structured instructions covering role, tone, clarifying questions and boundaries.
- Enable memory, inspect safety and access controls, and validate three test scenarios in Preview.
Lab instructions
Phase 1: Prerequisites Check
Phase 2: Task 1: Create the Agent and Set Its Name
Phase 3: Task 2: Author the Natural-Language Instructions
Phase 4: Task 3: Enable Memory
Phase 5: Task 4: Review Safety and Access Settings
Phase 6: Task 5: Validate the Agent in Preview
Area: Uses Copilot Credits
Quick reference
| Setting / Test | Category | Configured Value / Expected Outcome |
|---|---|---|
| Agent Name | Identity | Customer Support Rep Assistant (auto-saved; max 42 chars, no < or >) |
| Harness | Platform | Agent (GitHub Copilot): select Skip to configure if prompted |
| Memory | Context | On (platform-managed per-user scoping across future sessions) |
| Authentication | Safety & Access | Authenticate with Microsoft (required default for internal rep-facing agents) |
| Validation 1: Tone & Rep Framing | Preview Test | Speaks to you as the rep in second person, suggests one focused question, does not invent an order status, and stays patient and precise. |
| Validation 2: Scope Refusal | Preview Test | Polite refusal for out-of-scope tax return question, offering a suggested next step for the rep. |
| Validation 3: Escalation | Preview Test | Does not attempt to resolve suspected card fraud; recommends escalating to a supervisor and provides a 3 to 5 bullet handoff summary. |
What you built
You created the Customer Support Rep Assistant agent, wrote its foundational instructions, turned on memory, verified safety settings and tested missing-order, out-of-scope and fraud prompts.
Open the original Microsoft Learning lab page or view the source GitHub repository.
See where your organisation stands
Complete the short AI and automation scorecard. Your answers stay in your browser. Nothing is sent or stored, and there is no email sign-up.