Adapted from Microsoft Learning
Original Microsoft Learning lab page
Adapted from Lab 3, Exercise 1: Connect an Agent to Dataverse Data 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
Orders and Customer Records configured as agent tools, updated instructions that require field citations, and Preview tests that show the agent reading live Dataverse rows rather than inventing values.
Prerequisites
- Completed Lab 2, Exercise 0 so the Orders and Customer Records tables and sample data are in your solution.
- The Customer Support Rep Assistant from Lab 1 is available to edit.
Scenario
Representatives ask about real orders and customer records. The agent should look those values up in Dataverse and cite the fields it used, instead of guessing an order status or a customer detail.
Learning outcomes
By the end of this lab, you will be able to:
- Add and configure the Orders and Customer Records Dataverse tools on the agent.
- Update instructions so answers stay grounded and cite source fields.
- Test live tool calls in Preview.
Lab instructions
Prerequisites & Readiness
Confirm Dataverse sample tables from Lab 2 Exercise 0 exist and open your agent in Copilot Studio.
Task 1: Add and configure the Orders tool
Attach the Microsoft Dataverse "List rows from selected environment" action and bind it to the Orders table.
Task 2: Add and configure the Customer Records tool
Add a second Dataverse List rows action bound to the Customer Records table with its own AI description.
Task 3: Reinforce grounding in the instructions
Update the Scope section of the agent instructions so it looks up Dataverse context and names cited fields.
Task 4: Test in Preview (Repeatable Verification)
Verify live Dataverse tool selection, data grounding, and explicit field citation in Copilot Studio Preview.
What you built
You connected the Customer Support Rep Assistant to the Orders and Customer Records tables, reinforced grounding in the instructions, and verified live Dataverse lookups in Preview.
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.