Heads up: this browser is blocking local storage, so your progress will not be saved after you close the page.
Lab 8 · Module 3 · Automate and Synthesize
Analyst, the Built-In Agent
Step 1: why this is needed and what each entry does
Switch on the data agent (Open Analyst). Analyst writes and runs code to analyze a spreadsheet and shows its working. Plain chat estimates.
- Agents menu
- A small menu in the left pane. It lists Analyst, Researcher and other agents, then New agent and More agents & plugins.
- Analyst page
- Says Analyst, Created by Microsoft, with the box What do you want to analyze today?
- Query limit
- Analyst and Researcher share 25 queries per user per month. The app shows no counter, so send the lab prompt once.
- No Analyst entry
- Licensing or admin settings. Path B does the same lab with the data as text in Copilot Chat.
Step 2: why this is needed and what each entry does
Give it the real numbers (Attach the data file). Analyst needs the spreadsheet itself, not a description of it.
- The + menu
- Three entries: Add content, Upload images and files, Attach cloud files.
- Upload images and files
- Takes a file from your computer. A banner says the upload sends a copy to your OneDrive (work or school). That is expected. Analyst accepts CSV and XLSX.
- Attach cloud files
- Takes a file that is already in your OneDrive, for example from the OneDrive upload (practice files).
- File chip
- The file name shows above the prompt. No chip means no file: attach it again.
Step 3: why this is needed and what each entry does
Ask one careful question (Send the prompt). The prompt says what to analyze and what not to guess. A vague question gets a confident guess.
- Copy prompt
- The prompts follow the C.H.A.T. frame: Context, How come, Assign task, Type of output. Copy them whole; a shortened prompt drops the guardrails.
- Reasoned for
- A line above the answer with a number of seconds. Select it to expand the steps and the Python code. The code is the method; a result without a method cannot be checked.
Step 4: why this is needed and what each entry does
Prove one figure yourself (Check one number by hand). One hand calculation tells you whether the method is right. June is the test case.
- Why June
- Completion over 100% looks like an error but is real: a backlog was cleared. A tool that silently caps it at 100% is wrong.
- What we saw
- In our Dec 1 test, Analyst showed June at 116.67% (455 / 390) and did not cap it. Your 116.7% is the same number, rounded.
Step 5: why this is needed and what each entry does
Decide what the numbers can carry (Check the flags and record). Numbers that match your hand check can go in a briefing, with the limit you found.
- August
- In our test, Analyst flagged August first-contact data as missing, not zero. The file says the case-system migration did not capture it. Blank means no data.
- No guessed causes
- In our test it did not invent causes. That is what the last line of the prompt asks for.
- Five Checks
- Source: which file. Verification: did you open it. Context: did the caveats survive. Resilience: would it still hold if the data or the situation changed. Authorized Owner: who signs off before anyone acts on it.
The prompts for this lab: copy and paste
Same prompts as in the Do it steps. Paste each one whole.
Overview
Before you start. Path A: you need Analyst (it comes with a Microsoft 365 Copilot license) and file 06, the .xlsx or the .csv. If you did the OneDrive upload, it is in your OneDrive practice files folder. Send the lab prompt once: Analyst has a monthly limit. Path B: no Analyst needed; paste file 06 into Copilot Chat.
What we are doing
- The story
- The monthly request numbers go to a manager next week. You are the analyst who checks them first.
- Your job
- Ask Analyst, the Copilot agent that writes and runs code, to analyze file 06. Then check one number by hand and read what it flagged.
- You need
- File 06 (06_Service_Request_Data.xlsx or .csv) and Analyst. No Analyst? Use Path B.
- Done when
- Analyst's June completion rate matches your hand check (116.7%), and you can name one limit of the data, such as August's blank fields.
Check before you finish
- Does Analyst's June number match your hand check? 455 / 390 x 100 = 116.7%.
- Did it treat August's blank first-contact data as missing, not zero?
- Did it avoid guessing causes the file does not state?
How to do it: the basic steps
5 steps. Do each line in order. Select ? for why.
- Open Analyst
- Go to copilot.cloud.microsoft and sign in with your work account.
- Select Agents in the left pane. A small menu opens.
- Select Analyst. The page says Analyst, Created by Microsoft.
- m365.cloud.microsoft also works.
- No Analyst? It needs a Microsoft 365 Copilot license. Use the Path B steps.
- Researcher and Analyst share a limit of 25 queries per user per month, and there is no counter in the app. Run the lab prompt once.
- On a government cloud (GCC)? Some features arrive later. If Analyst is missing, use Path B.
- Attach the data file
- In the box What do you want to analyze today?, select +.
- Select Upload images and files (from your computer) or Attach cloud files (from OneDrive).
- Pick 06_Service_Request_Data.xlsx (the .csv works too). It shows as a chip above the prompt.
- Uploading from your computer saves a copy to your OneDrive. That is expected.
- Did the OneDrive upload? Use Attach cloud files and open your practice files folder.
- Send the prompt
- Select Show the prompts.
- Under Analyst prompt, select Copy.
- Paste it into the prompt box. Select Send.
- When the answer appears, select Reasoned for above it. It expands the steps and the code: your audit trail.
- Check one number by hand
- Find the June row.
- Divide 455 completed by 390 received, times 100. That is 116.7%.
- Does Analyst's June completion rate match? In our test it showed 116.67%.
- Later today, Lab 13 (Excel) checks the same number. Keep this one handy.
- Check the flags and record
- Find August. Analyst should call its first-contact data missing, not zero.
- Did it guess a cause the file does not state? It should not.
- In your own notes, write one limit of the data. For example: August first-contact data is missing, not zero.
- Run the Five Checks: Source, Verification, Context, Resilience, Authorized Owner.
- Mark the lab steps done.
= why the step is needed and what each entry does. Like this = something you select or click. Like this = something you type or paste.
Microsoft changes these screens often; a label on your screen may differ slightly. If a button is missing, your organization may not have turned the feature on: use the Path B steps.
Watch the demo video
Recorded in consumer Copilot, where Analyst sat under Pinned. In your work account, open it from Agents in the left pane. The numbers match our live test on Dec 1: June 116.67%, August flagged.
Demo C: Analyst calculates completion rates, flags June and August, and charts them
Chapters (select one to jump there):
Step-by-step narration (transcript)
Recorded in consumer Copilot with supplied file 06. Compare its numbers with one you check by hand. No audio. Captions are WebVTT: captions .vtt · chapters .vtt · MP4 (601 KB)
Watch where to click Real screenshots (recorded in consumer Copilot; your work screen looks a little different) + illustrations
The demo shows where to click, step by step. Steps marked Real screen are screenshots from Copilot (consumer version); your work Microsoft 365 Copilot may look slightly different. The other steps are drawings. The same steps are under the player, in Text version of the demo.
The screenshots and drawings show an older layout (Analyst under Pinned). Today you select Agents, then Analyst, then + and Upload images and files or Attach cloud files. Follow the basic steps in the Overview.
Text version of the demo
Annotated screenshots (consumer Copilot, opens the image): chat home empty analyst pinned plus button menu
Do it: step by step
Check off each step as you go. Your progress saves in this browser.
Prompts: weak vs strong
Follow the brackets. The detailed prompt is built from the four C.H.A.T. parts: [Context], [How come], [Assign task], and [Type of output]. Keep the labels when you paste it; Copilot reads them fine, and they help you check that each part is there.
Compare a vague prompt with a detailed, source-checkable prompt. The activity below separates the request from the Guardrails (limits you add, such as "cite the source" or "do not decide for a person") you need before use.
Analyst prompt
Analyze this data.
[Context] I shared file 06, the monthly service request data (requests received, completed, and days to resolve by month). [How come] I want to check its work against one number I calculate myself before I trust the rest. [Assign task] Using the file 06 data I shared, analyze monthly changes in requests received, average days to resolve, completion rate, and first-contact resolution share of completed requests. [Type of output] Identify trends and unusual values. Do not infer causes the data does not support.
Why the detailed version works (letter by letter)
- CContext
I shared file 06, the monthly service request data
- HHow come
I want to check its work against one number I calculate myself
- AAssign task
analyze monthly changes in requests received, average days to resolve, completion rate, and first-contact resolution share of completed requests
- TType of output
Identify trends and unusual values
- GGuardrail: keep it off-limits
Do not infer causes the data does not support
Optional chart follow-up
[Context] Same Analyst chat, with file 06 and the Analyst results. [How come] A chart makes the trend easier to see and to check against the numbers. [Assign task] Make one simple line chart of Avg Days to Resolve by month from file 06. [Type of output] One line chart, with one point for each month.
Send this after the Analyst prompt if you want a chart. The Analyst prompt alone may not draw one.
Quiz
Self-check only. Answers stay on your device.
Path B Text Pack and downloads
Download the practice files (Path A)
Path A (full access): did the OneDrive upload? File 06 is already in your OneDrive, so you can skip this. Skipped the OneDrive upload? Download the .xlsx (or the .csv) and attach it with Upload images and files. Path B: nothing to download; the file is below as text, ready to paste. Path C: nothing to download; read the text below when you check sources.
Path B (Chat only): short steps
- Select Copy all files + prompts for this lab below, paste it into the chat, and select Send. It includes the Analyst prompt and the optional chart follow-up.
- Check June by hand: 455 / 390 x 100 = 116.7%. Does Copilot's number match?
- Check August: blank first-contact data means no data, not zero.
- Copilot Chat may not show its code, so your hand check matters more here.
[Context] I shared file 06, the monthly service request data (requests received, completed, and days to resolve by month). [How come] I want to check its work against one number I calculate myself before I trust the rest. [Assign task] Using the file 06 data I shared, analyze monthly changes in requests received, average days to resolve, completion rate, and first-contact resolution share of completed requests. [Type of output] Identify trends and unusual values. Do not infer causes the data does not support.
[Context] Same chat as the Analyst prompt, with the table I pasted from file 06. [How come] A chart makes the trend easier to see and to check against the numbers. [Assign task] Make one simple line chart of Avg Days to Resolve by month from the table I pasted. [Type of output] One line chart, with one point for each month. If you cannot make a chart, give a month-by-month table instead.
File 06 - Service Request Data (spreadsheet as text) (1,366 characters)
FICTIONAL TRAINING FILE - The City of Fernhollow, its staff, residents and data are invented for the CPS HR Microsoft 365 Copilot workshop. Do not use real work data. FILE 06 - SERVICE REQUEST DATA (text version of the spreadsheet) Sheet: Monthly Data (Excel table name: ServiceRequests) Blank = no data; 0 = measured and zero. Ending Backlog = Beginning Backlog + Received - Completed. Month | Beginning Backlog | Requests Received | Requests Completed | Resolved on First Contact | Avg Days to Resolve | Escalated | Ending Backlog | Notes Jan 2026 | 120 | 410 | 395 | 150 | 6.1 | 12 | 135 | Feb 2026 | 135 | 398 | 380 | 141 | 6.3 | 9 | 153 | Mar 2026 | 153 | 445 | 412 | 160 | 6.8 | 0 | 186 | No escalations recorded (confirmed zero) Apr 2026 | 186 | 460 | 418 | 155 | 7.4 | 14 | 228 | May 2026 | 228 | 472 | 430 | 149 | 8.0 | 18 | 270 | Jun 2026 | 270 | 390 | 455 | 170 | 8.4 | 21 | 205 | Focused effort to clear older requests Jul 2026 | 205 | 430 | 418 | 162 | 7.6 | 15 | 217 | Aug 2026 | 217 | 455 | 440 | | 7.2 | | 232 | Case-system migration: first-contact and escalation data not captured (blank = no data) Sep 2026 | 232 | 468 | 452 | 181 | 6.9 | 13 | 248 | Lab 13 measures: Completion Rate = Requests Completed / Requests Received x 100 First-Contact Resolution Share of Completed Requests = Resolved on First Contact / Requests Completed x 100
Path C (Watch and verify): Compare the instructor's Analyst numbers with your own hand check: June is 455 / 390 x 100 = 116.7%.
Debrief question: Why use Analyst instead of regular chat for this? What did Reasoned for show you that plain chat would not?


