What Your Staff’s Copilot Prompts Are Missing, and How to Analyse Them with Grok Bot

Hand-tinted antique contour map in teal, sand and rose with a brass compass and dividers resting on it

This article is my opinion and my own experience. The three percentages I quote come from one example analysis, and everything else I describe is how the script and the process work.

When I wrote about the read-only PowerShell prompt report, the obvious next question was: now that you have the prompts, what do you actually do with them? Reading a few hundred of them one by one is slow and mostly pointless. The useful part is the pattern across all of them, and that is a good job for an AI assistant, as long as you handle the data carefully.

Here is the workflow I use: export, anonymise, analyse, then act. I have included the full set of prompts I give Grok Bot so you can run the same analysis yourself.

Why analyse prompts at all?

In my view, most Copilot training is guesswork. We teach tips and tricks, and we hope it helps. Prompt data replaces the guess with evidence. It shows what people really ask, which apps they use, what they repeat and what they leave out. That lets you aim a short training session at the real gap instead of the imagined one.

Here is an example result from one analysis: “These users already do two things well: they point Copilot at real files and emails, and they reuse prompts that work. The gap is in the brief. Only 7.5% say who the output is for, 15.1% say why they need it, and 8.1% say how they will know it is right. Fixing that, and turning the repeated prompts into shared templates, will lift quality faster than teaching anyone to ‘act as’ an expert.”

The last sentence is my interpretation, not a measured result, and it matches what I wrote in Are “act as this role” prompts still worth using?. Role prompts help with tone. A clear brief helps with the answer.

Step 1: export the prompts (read-only)

The ai-prompt-report.ps1 script reads prompts from the Microsoft Graph AI interaction history. It is read-only. It writes an HTML dashboard, a JSON file, a prompts-only CSV and a prompts-only text file, and it does not overwrite existing files. The documentation explains the setup and the permissions it needs, and my earlier post walks through it.

Pick the window with -Days (the script accepts 1 to 180 days) or with start and end dates. A few things are worth knowing:

  • The prompts CSV has one row per prompt that has text, with the time, user, display name, app or host and the prompt itself.
  • Copilot’s responses are not included unless you ask for them. For this analysis you do not need them, so leave them out.
  • It can only return what the service still holds. A retention policy can delete prompts earlier, so an empty or short export is not always a fault.
  • Prompts from agents built in Copilot Studio are not returned as text by this API.

In the exports I have looked at, some rows are not typed by a person at all. They are automated or agent-generated payloads. You should exclude those before you measure anything, and the first prompt below asks Grok Bot to flag them.

Step 2: anonymise before any AI sees it

This is the step that matters most. The raw CSV contains names, email addresses and whatever people typed, which can include customer names, file names and personal details. My rule is that the original export stays on your own machine, and only a cleaned copy goes anywhere else. My view is that you should also check your own policies, your clients’ agreements and the Australian privacy rules before you do this on a customer’s data. I covered the legal side in What Australian privacy law allows, and doesn’t, when you monitor a customer’s Microsoft 365 tenant. It is general information, not legal advice.

A good first pass does four things: replaces each person with a code like U001, drops the display name, keeps the day but not the exact time, and strips obvious identifiers from the prompt text. This PowerShell snippet does that locally. It works on the CSV columns the script produces:

$in  = '.\ai-prompt-report-<stamp>-prompts.csv'   # the export from the script
$out = '.\prompts-anonymised.csv'
$rows = Import-Csv -Path $in
$map = @{}; $n = 0
$clean = foreach ($r in $rows) {
    if (-not $map.ContainsKey($r.User)) { $n++; $map[$r.User] = 'U{0:000}' -f $n }
    $t = $r.Prompt
    $t = [regex]::Replace($t, '[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}', '[EMAIL]')
    $t = [regex]::Replace($t, 'https?://\S+', '[URL]')
    $t = [regex]::Replace($t, '[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}', '[GUID]')
    $t = [regex]::Replace($t, '[\w\-]+\.(docx?|xlsx?|pptx?|pdf|csv|txt|msg|eml)\b', '[FILE]', 'IgnoreCase')
    $t = [regex]::Replace($t, '\+?\d[\d\s().-]{7,}\d', '[NUMBER]')
    [pscustomobject]@{ UserId = $map[$r.User]; Day = $r.DateTime.Substring(0,10); App = $r.'App/Host'; Prompt = $t }
}
$clean | Export-Csv -Path $out -NoTypeInformation -Encoding UTF8

Be realistic about what a pattern-based clean-up can and cannot do. It catches email addresses, links, GUIDs, one-word file names and long numbers. It does not catch a person’s name, a customer’s name, a project name or a file name with spaces in it. So the second half of the job is a manual skim of the cleaned file, and the first Grok Bot prompt below also scans for anything that slipped through. If you want a department breakdown, add a Group column yourself and remove the individual code entirely.

Step 3: analyse with Grok Bot

The approach is to use a simple rubric and to make the AI show its working. I score each prompt for eight things: task, context, grounding (does it point at a real file, email or meeting), audience, purpose, format, success criteria and role-play. Then I count. The AI classifies, and the arithmetic stays traceable so I can check it.

Three guardrails keep it honest. Tell the AI not to quote prompts, ask it to show you a random sample of its scoring so you can check its judgement, and require every percentage to come with a count and a denominator. If the sample is small, say so. A percentage from a handful of prompts is a hint, not a finding.

Attach your anonymised CSV to a Grok Bot chat and run these prompts in order. Each one builds on the previous result, so keep them in the same conversation.

Prompts you can copy and paste

PROMPT 1 - LOAD AND CHECK THE EXPORT

I am attaching a CSV of prompts that staff typed into Microsoft 365 Copilot. It has already been anonymised: people are shown as U001, U002 and so on, and emails, links, file names and long numbers are replaced with tags like [EMAIL] and [FILE].

Do the following and do not analyse anything yet:
1. Report the number of rows, the date range (Day column), the number of distinct UserIds and the count of rows per App.
2. Flag rows that look machine-generated rather than typed by a person (for example structured JSON, repeated system text, or identical text sent within seconds in several apps). List only their row numbers and a short reason. Do not quote them.
3. Scan the Prompt column for anything that still looks like personal or customer information (names, company names, project names, addresses, account numbers). Report row numbers and the type of data only. Never repeat the data itself.
4. Propose which rows to exclude from analysis and why, then wait for my confirmation.

Rules: do not invent anything, do not guess, and do not quote prompt text in your answer.
PROMPT 2 - CLASSIFY EACH PROMPT AGAINST A RUBRIC

Using only the rows I confirmed, classify every prompt against this rubric. Score each element 1 (clearly present) or 0 (absent or unclear):
- Task: it states what to produce or do.
- Context: it gives background about the situation.
- Grounding: it points Copilot at real material such as a file, email, meeting, chat, site or data set.
- Audience: it says who the output is for.
- Purpose: it says why the output is needed or what decision it supports.
- Format: it asks for a specific length, structure or layout.
- Success criteria: it says how the requester will know the result is right or good enough.
- Role-play: it uses an "act as" or "you are a" style instruction.

Work in batches of 50 rows. For each batch return a table with columns RowId, UserId, App, then one 0/1 column per element, plus a one-line neutral note of up to 12 words that describes the task type without quoting the prompt (for example "summarise a meeting" or "draft a customer reply").

When you finish all batches, show me 10 randomly chosen rows with your scores so I can check your judgement. Ask me for corrections before continuing. If a prompt is too short or ambiguous to score, mark it "unclear" instead of guessing.
PROMPT 3 - CALCULATE THE PERCENTAGES

Using the scored table, calculate for each rubric element:
- the number of prompts that scored 1
- the denominator (state exactly how many prompts were included and how many were excluded or unclear)
- the percentage to one decimal place

Also calculate:
- the percentage of prompts that have Task plus Grounding but none of Audience, Purpose and Success criteria
- the percentage that have all of Audience, Purpose and Success criteria
- the figures by App

Show the working as a table and show the formula for one example so I can verify it. Do not round up, do not estimate and do not state a figure that you cannot trace to counted rows. If a number is small (under 10 prompts), say so and warn me against over-reading it.
PROMPT 4 - FIND REPEATED PROMPTS AND TURN THEM INTO TEMPLATES

Find prompts that are repeated or near-repeated, meaning the same task phrased the same way, either by one user (U-number) over time or by several users. Cluster them by task type (for example meeting recap, email reply, document summary, report draft, research, data analysis).

For each cluster give me:
- a short neutral name
- how many prompts and how many distinct UserIds are in it
- what the typical prompt already does well
- which rubric elements are usually missing
- a generalised pattern with placeholders in square brackets, such as [FILE], [AUDIENCE] and [PURPOSE], that contains no real names, files, customers or projects

Do not quote any original prompt. Rank the clusters by how often they occur. Say clearly when a cluster is too small to be a reliable pattern.
PROMPT 5 - STRENGTHS, GAPS AND EXECUTIVE SUMMARY

From the results of the earlier steps, write:
A. Strengths: up to 3 behaviours the group already does well, each backed by a counted figure.
B. Gaps: up to 3 gaps in how prompts are written, each backed by a counted figure.
C. An executive summary of no more than 90 words for a business owner who is not technical. Use plain Australian English. Follow this shape:
"These users already do [strength 1] and [strength 2]. The gap is in the brief. Only [x]% say who the output is for, [y]% say why they need it, and [z]% say how they will know it is right. Fixing that, and turning the repeated prompts into shared templates, will lift quality [more/less] than [other option]."
Use only figures from the calculation step. If the data does not support a sentence, remove that sentence rather than inventing support for it. Label anything that is your interpretation, not a measured fact, as "Interpretation".
PROMPT 6 - TEMPLATES AND A TRAINING PLAN

Create:
1. Five to eight shared prompt templates for the biggest clusters. Each template must include a one-line description of when to use it, the template text with [PLACEHOLDERS], and a short "good" example built from fictional content (for example a fictional company called Contoso and a fictional person called Alex). Every template must ask for or include the audience, the purpose and the success criteria.
2. A one-page checklist titled "Before you press enter" with no more than 6 items.
3. A four-week training plan for a small organisation with weekly 30-minute sessions. For each week give the goal, the activity and one measure of success.
4. A way to re-measure in 90 days using the same rubric, so we can see whether the percentages for Audience, Purpose and Success criteria moved.

Keep everything practical and short enough to paste into Teams or SharePoint.
PROMPT 7 - OPTIONAL: BREAKDOWN BY GROUP WITHOUT NAMING PEOPLE

I have added a column called Group (for example Finance, Sales, Operations) in place of any individual identifier. Repeat the percentage calculation by Group.

Rules:
- Never show a Group with fewer than 5 users or fewer than 20 prompts. Merge small groups into "Other" instead.
- Do not show anything at user level.
- Do not rank groups as "best" or "worst". Describe what each group does well and where its prompts usually lack a brief, and suggest one targeted tip.
- Add a note that group results are a conversation starter, not a performance review.
PROMPT 8 - FINAL PRIVACY CHECK ON THE REPORT

Review the full report you have produced as if you were a privacy officer. List any sentence, table or example that could identify a person, customer, project or document, even indirectly. Check for names, company names, file names, unusual job titles, small group results and quoted prompt text. Suggest a rewrite for each item. Then confirm in one line whether the report is safe to share with the leadership team.

What the example findings mean

Take the example result at face value. Two strengths: people already ground Copilot in real files and emails, which is the habit that makes Microsoft 365 Copilot useful, and they reuse prompts that work. Both are good news. They mean the group is already using the product the way it was designed to be used.

The gap is the brief. Fewer than one in six prompts in the example said why the output was needed, and fewer than one in twelve said who it was for or what “right” looks like. In my experience that is when you get a polite, generic answer that someone then has to rework. It is the same problem a human assistant has when given a task with no context.

Opinion: this is a better target for training than any clever prompt trick. Teach three questions, which are who is this for, why do I need it and how will I know it is right, and attach them to the prompts people already reuse.

What to do next

  • Turn the most repeated prompts into shared templates with the three brief elements built in, and store them somewhere everyone can find them, such as a SharePoint page or a Teams channel.
  • Run a short 30-minute session on the three questions using fictional examples, not real client work.
  • Add a “before you press enter” checklist next to the templates.
  • Re-run the export in about 90 days, use the same rubric, and see whether the percentages for audience, purpose and success criteria moved.
  • Keep the raw export locked down, delete it when you are done, and keep only the anonymised results.

For MSPs, this is a service worth offering: export, anonymise, analyse, then train the staff on what the data shows. It gives a client something concrete instead of a generic AI workshop, and it gives you a measurable before and after.

Script and documentation checked 6 December 2026. The percentages are from one example analysis and should not be taken as typical of any other organisation.

Are “act as this role” prompts still worth using?

Stained-glass mosaic of a brass desk lamp, a closed book and a ceramic vase in jewel emerald, ruby and gold

I have lost count of how many prompt templates still start with “Act as a senior Microsoft 365 consultant” or “You are an expert security architect.” For a long time, that felt like the grown-up way to talk to a model. Give it a job title, and maybe it would think like someone who had earned it.

It was never a completely silly idea. It just got treated as a shortcut to better answers. With modern models, including the ones sitting behind Microsoft 365 Copilot, that shortcut has a much narrower job than most people still give it.

The short version is this. Role prompts still help when you care about tone, audience, perspective, or a consistent persona in a custom agent. They do not reliably make the model more accurate. If you want better answers, spend your effort on the goal, the context, the source material, and the shape of the output, then iterate.

The habit made sense, and then it stuck

Early prompt advice was full of role-play. I used it myself. A couple of years ago I wrote about a four-part prompt pattern that included a role, which was a reasonable way to stop people sending Copilot a one-line request and hoping for a finished deliverable.

The problem is not that a role is always useless. The problem is what people expected it to do. “Act as a principal architect” got treated as a way to raise the quality of the facts and the recommendations. In practice, it mostly changed the costume. You still got a fluent answer. It just sounded more senior. You can still give a model a role. You should just stop pretending the role is the hard part of the prompt.

What the research actually found

Two careful studies tested the claim that many of us quietly assumed was true.

In 2024, Mingqian Zheng, Jiaxin Pei and colleagues published a paper in the Findings of EMNLP. They tested 162 personas across four popular families of large language models and 2,410 factual questions. Adding a persona in the system prompt did not improve performance compared with a control setting where no persona was added. Some personas helped in some settings, but the effect of any given persona was hard to predict in advance. You could not reliably pick the “right” role and expect a better factual answer.

A later study, Prompting Science Report 4, from researchers including Lennart Meincke, Ethan Mollick and Lilach Mollick at Wharton’s Generative AI Labs, asked whether telling the model it is an expert improves factual accuracy on difficult, objective questions. They tested expert, mismatched and low-knowledge personas across six models, using graduate-level questions from the GPQA Diamond and MMLU-Pro benchmarks. Persona prompts generally did not improve accuracy relative to a no-persona baseline. Expert personas showed no consistent benefit. A mismatched expert persona could make things worse, and in some cases the model even declined to answer because it decided it was not qualified. Personas built around ignorance, such as a layperson or a child, often reduced accuracy. The authors were careful to add the point that matters for everyday work: those results were about answer accuracy only. Personas may still be useful for tone.

That is the split I think we should keep in our heads. A role can change how the model writes. It is a weak way to change whether the model is right.

What the vendors say now

The major vendors have all moved in a similar direction, even if they still mention roles.

Anthropic’s 2026 prompting guidance is unusually direct. Role prompting can still be useful, but “modern models are sophisticated enough that heavy-handed role prompting is often unnecessary.” It warns against over-constrained personas, such as a world-renowned expert who never makes mistakes, because they can limit how helpful the model is. A role may still help when you need a consistent tone, a specific persona in an application, or domain framing for a complex topic. The modern alternative, Anthropic says, is often to be explicit about the perspective you want, rather than simply declaring a job title. In the same article, heavy role prompting is listed among the outdated techniques you should not lean on first.

OpenAI still treats identity and personality as useful, especially for agents. Its prompt engineering guidance suggests describing the assistant’s purpose, communication style and high-level goals in a system or developer message. It is just as clear about the limit: personality should not replace a clear goal, success criteria, constraints, or output format. For reasoning models, OpenAI says straightforward prompts work best. Asking them to “think step by step” or “explain your reasoning” is often unnecessary, and can sometimes get in the way, because they already reason internally. Give them the outcome, the constraints, and the format, then let them work. OpenAI also notes that reasoning models will often ask clarifying questions rather than fill a gap with a guess. That is a better habit than giving them a grander job title.

Google’s Gemini documentation still recommends putting a role or persona, along with constraints and output format, in the system instruction or at the start of the prompt. It puts more weight, though, on the things that actually change the answer: add the context the model needs, use examples when you care about format, and when you attach a long document, put the document first and the question last. Its Gemini 3 prompting guidance includes a useful warning. The model can take an assigned persona so seriously that it sometimes ignores other instructions in order to stay in character. If you give it a tight role, read that role carefully.

Microsoft’s official Copilot advice barely bothers with “act as” at all. The current framework on Microsoft Support, last updated in September 2026, is Goal, Context, Source and Expectations. The only required part is a clear goal. The rest is how you become specific: why you need it and who is involved, which file, email, chat or example it should use, and how it should respond, including tone, length, format and level of detail. Microsoft also tells you, plainly, to review and verify the response, because the model can still be wrong.

None of that says “never use a role.” It says the role is not the main event.

Where a role still helps

I still use a role, just for a narrower set of jobs.

It helps when the output needs a particular voice. “Write this as a short note from the practice manager to the partners” is more useful than “act as an expert.” It helps when the audience and the perspective matter: a compliance-minded reading of a change, versus a sales-minded reading of the same change. Those two prompts will surface different risks and different opportunities. That is a tone and framing effect, and it is legitimate.

It also helps when you are standing up something that will run again and again. A Copilot Studio agent, a custom agent in Microsoft 365, or a system prompt for a helpdesk assistant needs a short statement of who it is, who it is speaking to, and what it must not do. In that setting, the role is really a behavioural contract. “You are the MSP’s first-line triage assistant for Microsoft 365 service requests. You write in plain language for business users. You do not change tenant settings. If the request is incomplete, ask up to three clarifying questions before you propose a next step.” That is worth putting in the instructions.

What I no longer do is add a prestigious title in the hope that the facts will improve. If the source document is thin, the model does not become more careful just because you called it a principal consultant. If anything, a mismatched or overcooked persona can push it into a more confident style, or, as the Wharton work found, into refusing a question it could have answered.

What actually matters more now

If you take the official guides together, a fairly consistent list appears. This is where I would spend the effort instead.

Start with a clear goal. Not “help me with this tenant,” but “draft a one-page recommendation for the next three Secure Score improvements this quarter.” Then add context: who will read it, why it is needed, and how it will be used. Microsoft treats audience as part of context, and it is often the difference between a generic summary and something you can actually send.

Give the model source material, and be explicit about the boundary. In Copilot, that might be a Word document, a spreadsheet in OneDrive, a SharePoint page, a thread in Outlook, or a Teams transcript. Tell it to use that material, and tell it what not to invent. “Use the attached Secure Score export and last quarter’s recommendations. If a figure is not in the source, say so rather than guessing.” Grounding beats a job title every time.

Be specific about constraints and output format. Length, headings, a table, three bullets, a draft email that can go out with only a light edit. If the format is fussy, include a short example of the shape you want. Anthropic, OpenAI and Google all still recommend examples for formatting and tone.

If you are using a reasoning model, do not over-instruct the thinking. Set the outcome, the constraints, and the standard for a good answer, then let it work. If the task is complex, Microsoft’s advice is still to treat the first response as a draft. Iterate on one thing at a time: the goal, the audience, the constraints, the evidence, or the structure.

Finally, ask the model to ask you questions. I have written before about pull prompting, and it is still one of the highest-value habits I see. If the request is incomplete, “Before you start, ask me the questions you need to do this well” will do more than any role-play. OpenAI notes that reasoning models will often do this on their own. You can also require it.

Before and after, including Copilot

Here is the pattern in practice.

A weak prompt, of the sort I still see in tenant workshops, looks like this:

Act as a senior Microsoft 365 consultant and write an email to the customer about their Secure Score.

It sounds professional. It is still a poor brief. The model has no audience, no source, no limit on invention, and no idea whether the email is a nudge, a proposal, or a warning.

A better Copilot prompt, using Microsoft’s Goal, Context, Source and Expectations pattern, looks like this:

Goal: Draft an email to the operations manager at a 40-person accounting firm, recommending the next three Secure Score improvements we should tackle this quarter.

Context: This is a follow-up after last week’s workshop. The firm is cautious about change, and two staff still use a shared mailbox for client work. We are their MSP, and this email will go out under my name.

Source: Use the attached Secure Score export and last quarter’s recommendations document. Do not invent scores, and do not recommend items that are already at 100 per cent.

Expectations: 180 to 220 words, plain language, no jargon without a short explanation. Give three numbered recommendations, each with why it matters and the effort involved. End with a single suggested next step and a question. If a figure is missing from the source, say so rather than guessing.

Notice what changed. I did not need a costume. I needed a job, a reader, a source of truth, and a definition of done.

The same shift applies in the security queue. The weak version is: “Act as a cybersecurity expert and summarise this incident.” The better version is: “Summarise this incident for the client’s managing director, who is not technical. Use the attached Microsoft Defender incident report only. Write three short paragraphs: what happened, what we have done, and what we need from them today. Flag anything in the report that is incomplete.”

If the first draft is close but not right, you do not start again with a more impressive role. You iterate, as Microsoft suggests. “Rewrite this for a managing director. Cut it to 150 words. Keep the three recommended actions, and move the technical detail into a single labelled paragraph at the end.”

In Copilot in Word, Outlook, Teams or PowerPoint, the source is often already sitting in front of you. Point at it. “Use this document only.” “Base this on the emails from Sam in the past two weeks.” “Build the deck from the attached proposal, and do not add case studies that are not in the file.” Those instructions do more work than “act as a presentation expert.”

A practical way to brief a modern model

When I am helping an MSP or an SMB team get more from Copilot, I now use a short checklist rather than a library of personas.

  • What do I want back, in one sentence?
  • Who is it for, and how will it be used?
  • What files, emails, chats or pages should it rely on?
  • What must it not invent, change, or assume?
  • What format, length, and tone do I need?
  • If anything important is missing, should it ask me before it starts?
  • After the first draft, which one thing am I going to change?

A short role can sit in the tone and format item, or in the system instructions of an agent. It should not be a substitute for the goal, the audience, or the source.

If you already have prompt libraries in the tenant, this is the revision worth making. Keep the useful roles for tone and agent behaviour. Rewrite the rest around the goal, the source, and the output.

The verdict

Yes, “act as this role” prompts still have value. Use them when you need a voice, a point of view, or a stable persona in an agent. Do not use them as a way to buy accuracy you have not earned with context and source material.

Modern models are already generalists with a lot of residual knowledge. They get better when you brief them like a capable colleague: a clear job, the relevant papers, the audience, the constraints, and permission to ask a question when the brief is incomplete. That is true in Copilot, in Word, in Outlook, and in a custom agent. The title on the badge is optional. The quality of the brief is not.

This is general information about prompting practice, not a guarantee that any particular prompt will produce a correct result. Official vendor guidance changes, and model output still needs a human review before you send it or act on it.

Sources

Three side projects I built with AI: bugs, lifts and a winter wargame

Paper quilling artwork of a meadow with beetles, a tall skyscraper and a snowy pine forest side by side

Most of what I build with AI is serious stuff: PowerShell scripts, security checks, Microsoft 365 reports. But lately I have also been building things just because I was curious. A bug colony. A bank of skyscraper lifts. A winter wargame. None of them will secure a tenant or close a ticket, but all three taught me something about working with AI that I can take straight back into my day job.

Here are the three side projects, what each one actually does and how you can try them yourself. They all run in your browser, for free, straight from GitHub Pages.

Why bother with side projects?

My opinion: side projects are the cheapest way to get good at building with AI. There is no client waiting, no production tenant at risk and no deadline. If an idea fails, you have lost an evening. If it works, you have learned how to describe a problem clearly, how to review what the AI produces and how to steer it when it heads off in the wrong direction.

Those are exactly the skills that matter when you point the same tools at real work. I wrote earlier about how I 13x’d my code with AI when refreshing an old PowerShell script. Side projects are where I practise that muscle without the pressure.

1. Grow bugs: a little life simulation

Grow bugs simulation showing green bugs, blue food, walls, shelters and two predators in the habitat
Grow bugs in Classic mode, with walls, shelters and predators turned on

Grow bugs is a small habitat full of bugs that wander, look for food and try to stay alive. Each bug’s health drains continuously, and every blue food pill tops it up by another portion. Bugs turn amber and then red as they get close to starving.

It has two modes:

  • Classic: individual bugs. When two well-fed bugs meet, they can produce a child that inherits one parent’s movement genes. Switch on mutation and you can watch natural selection at work, with charts that track survival, average speed and changes in traits such as speed and turn rate.
  • Colony: a nest with a queen, nurses, foragers, scouts and soldiers. Foragers carry food home and lay scent trails that strengthen with traffic. When a predator attacks, the bugs release alarm scent and soldiers swarm the threat.

To try it, pick a mode, set the starting bugs, food, predators and terrain, then press New world. Click a bug to inspect it, or click the habitat to sprinkle food. Runs use a seed, so the same seed and settings recreate the same world. The page itself is clear that it is a simple simulation, not a scientific model.

2. Skyscraper elevators: a lift dispatch lab

Skyscraper elevators simulation showing a 20-floor tower, four lifts, waiting passengers and a frustration score
A 20-floor tower with four lifts and a live frustration score

Everyone has stood in a lobby wondering why three lifts just went past. Skyscraper elevators lets you find out. You set the tower height (6 to 60 floors), the number of lifts (1 to 12), car capacity and a traffic pattern such as a morning up-peak, evening down-peak or lunch rush.

Then you pick one of six dispatching algorithms, from a simple FIFO baseline through Nearest Car + LOOK, Staggered SCAN Sweep, Zoned Express Sectors and Destination Dispatch to Surge-Aware Demand. Click any floor to release a crowd from a meeting that just finished, or take a lift out of service mid-run and see how the rest cope.

The best part is the Find Best Algorithm button. It runs all six algorithms against exactly the same seeded passengers and ranks them by passengers moved, wait times and an illustrative frustration score. Change the building and the winner often changes too, which is a nice reminder that there is rarely one right answer.

3. Ardennes / Winter Offensive: a retro wargame

Ardennes Winter Offensive hex map wargame showing Allied and German formations, towns and the victory score bar
The Ardennes campaign map on 16 December 1944

Ardennes / Winter Offensive is a turn-based hex map wargame set in the Battle of the Bulge, across twelve daily turns from 16 to 27 December 1944. The project notes say it was inspired by the classic Tigers in the Snow on the TRS-80, but it is an original implementation and scenario, not a copy of the original game’s code, map or combat tables.

You can command the Germans or the Americans against the computer, watch computer against computer, or play two players hotseat on one browser. Each day has separate movement and combat phases, with supply, artillery, German fuel and victory points for holding towns such as Bastogne. Keyboard shortcuts (M to move, A to attack, U to undo, E to end the turn, R for the status report) keep it quick. An advisor suggests next steps, campaigns autosave in the browser, and you can export and import saves.

What building these taught me

Looking back through the repository, a few things stand out. These are my observations from the code and history, plus my opinion on what they mean.

  • Prototyping is fast, polish is the real work. Getting something on screen is quick. Most of the commit history is refinement: clearer labels, fairer comparisons, fixing a victory bar that contradicted the headline.
  • Tests keep the AI honest. All three projects have test suites committed alongside the code. When an AI changes logic, tests are how you know it did not quietly break something else.
  • Give the AI a memory. The Ardennes folder includes a progress file that records the goal, key decisions, known limitations and how to validate changes, with a note to read it before editing. The commit history for that game shows many changes committed by Cursor Agent, and that file is how each session picks up where the last one left off.
  • Keep it simple. These are plain HTML, CSS and JavaScript pages. The Ardennes notes call for no build step at all. Fewer moving parts means fewer things for you, or the AI, to get wrong.

Why this matters for MSPs and IT pros

My view is that every MSP should have someone who is comfortable building small things with AI. The lift simulator is really a lesson in queues and scheduling, which is not far from ticket routing. The bug colony is about resources, rules and unintended consequences, which sounds a lot like licensing and permissions. The wargame is a lesson in keeping state, rules and documentation in line as a project grows.

More practically, the habits carry straight over. Describe the outcome clearly. Review everything. Write tests. Keep notes the AI can read. Ship small. Those habits are what turn AI from a novelty into a dependable way to produce scripts, reports and tools for your customers. If you want a structured start, my AI Dojo session on vibe coding with VS Code and PowerShell covers the same ideas applied to admin work.

Try them yourself

Have a play, break things and see what you notice. Then think about the small, slightly silly project you could build with AI this weekend. You will probably learn more from it than from another tutorial.

Projects and repository checked 5 December 2026.

CIA Brief 20261205

image

Security

  • Microsoft Azure flaw exploited to steal customers’ API credentials
    Microsoft is warning through Azure Service Health that a flaw in Azure API Management Classic was exploited to reach management functions and read stored secrets before it closed the hole on 19 November (US time). Named Values, identity provider client secrets and management API tokens may have been exposed, and the fix doesn’t invalidate anything already taken. If you or a customer run APIM Classic, rotate every secret it held at the issuing service, not just in APIM. ConnectWise has also rotated its Cloud Backup and Migration API keys as a precaution, so update any integrations that use them.
    https://www.bleepingcomputer.com/news/security/microsoft-azure-flaw-exploited-to-steal-customers-api-credentials/
  • Hackers Exploit N-able MailAssure Flaw While AI Agents Exploit MONAI Label Zero-Day
    N-able has disclosed CVE-2026-134624, an SSRF flaw in Mail Assure’s LDAP sync check that it found while investigating its hosted cloud breach, and CISA now lists it as exploited. Builds before 20261121.1943 are affected and the Hosted Cloud is already patched, but anyone running SpamExperts Local Cloud on their own hardware needs to update. N-able still hasn’t said whether this was how the attacker got in, so keep treating credentials tied to the platform as exposed.
    https://thehackernews.com/2026/11/hackers-exploit-n-able-mailassure-flaw.html
  • Hackers Exploit Critical ScreenConnect Flaw to Hijack MSP Technician PCs Without Warning
    Huntress has shown attackers abusing CVE-2026-84869 (CVSS 9.9), where a malicious guest in a ScreenConnect session can push a file to the technician’s PC and have the technician’s own client run it with no prompt. The technician only has to join the session, which could even be a real customer session the attacker has slipped into. Make sure every technician’s ScreenConnect client is on 26.6.5 or later, cloud-hosted or not.
    https://thehackernews.com/2026/11/hackers-exploit-critical-screenconnect.html
  • Hackers now exploiting critical Veeam flaws patched in August
    The Canadian Centre for Cyber Security says two Veeam Service Provider Console flaws (CVE-2026-58072 and CVE-2026-58073) are now exploited: one lets an unauthenticated attacker pose as a managed agent and steal its credentials, the other gives a low-privileged user remote code execution. VSPC is an MSP tool by design, and ransomware crews love backup servers. Upgrade every console to 9.3.0.35057 or later and limit how exposed the portal is.
    https://www.bleepingcomputer.com/news/security/hackers-now-exploiting-critical-veeam-flaws-patched-in-august/
  • Com-Affiliated Hackers Hijack Cloud Accounts via Vishing for Data Theft and Extortion
    Unit 42 has tracked waves of voice-phishing attacks, including against Australian organisations, where callers posing as IT support send staff to an adversary-in-the-middle page that relays credentials and MFA approvals in real time. Within minutes the attackers register their own MFA device, pull SharePoint and OneDrive data and send extortion demands through Teams. Good reminder that phishing-resistant MFA and alerts on new MFA device registrations matter more than another awareness slide.
    https://thehackernews.com/2026/11/com-affiliated-hackers-hijack-cloud.html
  • Former ShinyHunters-affiliated cluster O-UNC-053 moves to new INCEPTION leak site
    Okta says the vishing cluster it tracks as O-UNC-053 has moved its victims from the ShinyHunters leak site to a new one called INCEPTION, but the playbook hasn’t changed: callers pose as support staff, push users into urgent password resets and talk them into sharing one-time codes or approving push prompts. Okta notes the phishing kit can’t get past phishing-resistant methods like FIDO2 passkeys. Worth briefing helpdesks and users on caller verification, and moving high-value accounts to passkeys.
    https://www.okta.com/blog/threat-intelligence/former-shinyhunters-cluster-moves-to-new-inception-site/
  • Update on a security incident involving 1Password’s backend systems.
    1Password says an attacker took over an employee’s corporate GitHub account, copied private source code, reached its CI/CD system and pushed code that pulled administrative records for a subset of customers. Exposed data includes names, emails, account identifiers, public keys and tokens from invitation, provisioning and recovery links, while 1Password says vault data and the keys protecting it were not affected. If you manage client vaults in Business or Teams, read the update and follow its guidance for provisioning and recovery links.
    https://1password.com/blog/update-on-nov-2026-security-incident
  • pCloud Password Manager Hit by Cyber Attack Involving Email Address Exposure and Login Attempts
    pCloud says an attack on its pCloud Pass password manager exposed a small number of user email addresses and was followed by login attempts. It says stored data is encrypted behind the master password and pCloud cloud storage isn’t affected, but it hasn’t said how the attackers got in or whether any sign-ins worked. That’s the second password manager incident in a week, so expect targeted phishing at affected users and make sure MFA is on.
    https://thehackernews.com/2026/11/pcloud-password-manager-hit-by-cyber.html
  • Unpacking the SoftwareOK attack chain: A Python RAT and native backdoor
    Attackers tampered with the official installers and updaters for the free Windows utilities Q-Dir and DesktopOK, so people who updated the normal way got a Python remote access trojan, and on some devices a second native backdoor. Uninstalling the utility doesn’t remove the threat, because the backdoor relaunches at sign-in. Plenty of technicians use these tools, so check your own fleet and any software deployment shares that might reinstall the tampered packages.
    https://www.microsoft.com/en-us/security/blog/2026/12/02/unpacking-the-softwareok-attack-chain-a-python-rat-and-native-backdoor/
  • Microsoft Store App Found Delivering Vinci RAT Capable of Remote System Control
    eSentire found a Microsoft Store app being used to deliver Vinci RAT, which gives attackers remote control of the PC, with users sent to it from links on third-party download pages. The Store’s reputation is exactly why this works. If customers let users install Store apps freely, now’s a good time to restrict it through Intune.
    https://thehackernews.com/2026/11/microsoft-store-app-found-delivering.html
  • When patch day comes too late: MiCollab flaws exploited before disclosure
    Accenture’s APEX Labs found five Mitel MiCollab flaws, including a CVSS 10.0 command injection, were exploited as zero-days, with a web shell planted the day before Mitel’s 16 November patch, and CISA has added all five to the KEV list. MiCollab is often internet-facing and tied into Active Directory, which makes it a nice way into the network. Patch to 10.3.0.18 or later and check for web shells if it was exposed.
    https://accenture.github.io/cyber-intelligence/micollab-exploitation/
  • Drupal Warns of New Highly Critical Site Takeover Vulnerability Under Active Exploitation
    After the exploited ‘Fail2Install’ flaw, Drupal warned that sites left in odd or incomplete install states were still open to takeover, and that follow-up flaw (CVE-2026-136716) is now exploited too. Drupal 11.0 to 11.2 and 10.5 and earlier are end of life and get no fix. If you host or look after Drupal sites for customers, patch now and push anyone on an unsupported version to upgrade.
    https://thehackernews.com/2026/11/drupal-warns-of-new-highly-critical.html
  • Hackers compromise Check Point Servers in 22 organizations
    GreyNoise found an attacker had access to 24 Check Point Security Management servers in 22 organisations, including in Australia, and used a SmartConsole auth bypass patched in July to steal firewall databases and certificates and switch off security policies. How they first got in is still unknown, and the campaign may still be running. Confirm the July fix is installed and keep management servers off the internet.
    https://www.bleepingcomputer.com/news/security/hackers-compromise-check-point-servers-in-22-organizations/
  • Hackers Exploit 10 Vulnerabilities Across Mitel, Juniper, Vates, and Danfoss Products
    CISA’s latest KEV batch includes a root command injection in Juniper Session Smart, an auth bypass in Vates Xen Orchestra, two GeoServer flaws and Danfoss refrigeration controllers, which matters for retail and supermarket clients. Nothing groundbreaking, but it’s a long list. Run it against your RMM inventory and internet-facing assets and patch or isolate anything that matches.
    https://thehackernews.com/2026/11/hackers-exploit-10-vulnerabilities.html
  • Hackers Exploit Critical ASP.NET Anti-CSRF Library Flaw Allowing Unauthenticated RCE
    An abandoned ASP.NET WebForms library, Idunno.AntiCsrf, last updated in 2008, allows unauthenticated remote code execution with a single POST request, and Mandiant has seen it exploited. There’s no fix, so the only answer is removing it. Search IIS application folders on customer line-of-business servers for Idunno.AntiCsrf.dll, because old in-house apps are exactly where it’ll be hiding.
    https://thehackernews.com/2026/11/hackers-exploit-critical-aspnet-anti.html
  • What defenders need to know about ARTEX, the agentic AI framework threat actors abuse
    Microsoft has published its analysis of ARTEX, an open-source AI-driven pen-testing platform that state and criminal groups use to find exposed secrets in code, scan internet-facing systems and run password and web app attacks with little human effort. It doesn’t add new techniques, it just makes the old ones faster and cheaper. The defences are the basics: phishing-resistant MFA for admins, no legacy auth, secrets out of code, and WAFs in prevention mode.
    https://www.microsoft.com/en-us/security/blog/2026/11/25/what-defenders-need-to-know-artex-agentic-ai-framework-threat-actors-abuse/
  • VMware vCenter Hit by Another Critical 9.8-Rated Auth Bypass Flaw After Zero-Day Exploitation
    Broadcom has fixed another vCenter authentication bypass (CVE-2026-123903) in the VMware Directory Service, along with 22 other flaws across ESX, vCenter, Workstation, Fusion and Avi. It isn’t known to be exploited yet, but last week’s similar bug was used as a zero-day. If you patched to vCenter 8.0 U3m for that one you’re covered, and if you didn’t, do it now.
    https://thehackernews.com/2026/11/vmware-vcenter-hit-by-another-critical.html
  • WHMCS SQL Injection Could Expose Customer Data and Admin Password Hashes without Login
    An unauthenticated SQL injection in the WHMCS shopping cart can expose client records and admin password hashes, and two more flaws for logged-in clients were fixed at the same time, one leading to code execution. Plenty of smaller MSPs and hosters run their billing on WHMCS. Self-hosted installs need updating to 9.0.10, 8.13.8 or 9.1.2 and the extra clean-up steps in the advisory.
    https://thehackernews.com/2026/11/whmcs-sql-injection-flaw-could-expose.html
  • Unpatched Cacti Zero-Day Enables RCE in Just Four HTTP Requests via Guest Access
    A public proof of concept gives remote code execution on Cacti 1.2.31 in four requests when the guest account is enabled, and the fix isn’t in a release yet. Cacti servers often hold credentials for network devices, so a compromise goes well beyond the monitoring box. Turn off guest access and put the web interface behind a VPN or allow-list today.
    https://thehackernews.com/2026/11/unpatched-cacti-zero-day-enables-rce-in.html
  • InfraTrust warns of exploited supply chain flaws in network appliances
    Eclypsium found that 33 of 38 advisories fixing exploited KEV flaws in network gear were for bundled third-party components like PHP, Node.js and OpenSSH, not the vendors’ own code. So customers wait twice: once for the upstream fix and again for each vendor to rebuild its firmware. Good reminder to keep appliance management interfaces off the internet, because patches often arrive late.
    https://www.bleepingcomputer.com/news/security/infratrust-warns-of-exploited-supply-chain-flaws-in-network-appliances/
  • What’s new in Microsoft Security: December 2026
    Microsoft’s monthly roundup turns the Ignite security announcements into practical steps: a Triage Agent that proposes verdicts on common alerts such as user-reported phishing and password spray, an Attack Investigation Agent, Defender protection for vulnerable systems and local agents, and Intune and Entra controls for agents and cross-tenant configuration. Worth a look to work out which of these land in Business Premium and which need the bigger licences before customers start asking.
    https://www.microsoft.com/en-us/security/blog/2026/12/03/whats-new-in-microsoft-security-december-2026/

Microsoft 365 & Windows

  • Microsoft confirms authentication issues after November updates
    The November Windows updates make clients offer NTLM signing by default, and Microsoft has confirmed that some third-party authentication proxies, SSO products and app packaging tools now fail to authenticate. There’s no fix yet, only a registry workaround (ClientAllowUnsignedNtlm) that weakens the hardening. If customers report odd sign-in failures to older line-of-business systems this week, check this first.
    https://www.bleepingcomputer.com/news/microsoft/microsoft-confirms-authentication-issues-after-november-updates/
  • Microsoft pushes emergency hotpatch to fix Windows Server crashes
    Microsoft released out-of-band hotpatch KB5138318 to fix 0x139 stop errors on some Windows Server 2025 machines after the November security hotpatch, hitting servers with IPv6 Router Advertisement enabled. It installs automatically on hotpatch-enrolled servers with no restart. If you’ve seen unexplained server crashes since mid-November, check it’s landed.
    https://www.bleepingcomputer.com/news/microsoft/new-out-of-band-oob-emergency-hotpatch-fixes-windows-server-2025-crashes/
  • Microsoft fixes Microsoft 365 bug blocking access to Office apps
    The bug that showed a blank dialog with no text or buttons when users opened Outlook, Word, Excel and other apps is fixed in Microsoft 365 Apps Version 2611 (Build 16.0.20625.20142). Devices stuck on the bug can be forced to that build with the Click-to-Run client from an elevated prompt. Worth putting the command in the helpdesk notes.
    https://www.bleepingcomputer.com/news/microsoft/microsoft-fixes-blank-dialog-that-made-microsoft-365-office-apps-unusable/
  • Microsoft removes WSUS server role in Windows Server 2028
    Windows Server 2028, now in public preview, won’t include the WSUS role, although WSUS stays supported on Server 2025 and earlier and can still patch 2028 machines. Microsoft is pointing people to Autopatch and Intune for clients and Azure Update Manager for servers, and 2028 also drops VBScript, WMIC and WINS. If any customers still lean on WSUS, start planning the move now.
    https://www.bleepingcomputer.com/news/microsoft/microsoft-removes-wsus-server-role-in-windows-server-2028/
  • MC1519855 – Microsoft Entra: Choose your own telephony provider now generally available
    Bring Your Own Telephony Provider is now generally available alongside Choose Your Own, so Entra can keep handling one-time codes while your own provider sends the SMS and voice calls through an Azure integration. It’s worldwide, but needs an Azure subscription with a payment method. With Microsoft-provided SMS and voice MFA retiring from 1 February 2027, this is the fallback for users who genuinely can’t move to Authenticator or passkeys.
    https://mc.merill.net/message/MC1519855
  • MC1567258 – Microsoft Teams for Android and iOS: Update to the latest app version to maintain file access
    Teams mobile is moving file access to Entra ID authentication, and from 1 April 2027 users on older app versions may not be able to open, upload or share files or play OneDrive and SharePoint videos. It applies worldwide, including GCC, GCC High and DoD. Check your Intune app protection or minimum version settings now, so BYOD users don’t get caught out.
    https://mc.merill.net/message/MC1567258
  • MC1567262 – Microsoft 365 Backup: Up to 10-year recovery windows for SharePoint and OneDrive
    Microsoft 365 Backup now lets admins set SharePoint and OneDrive recovery windows of up to 10 years, up from two, worldwide and available now. The default stays at one year, Exchange stays capped at two years, and a longer window doesn’t create history after the fact. Useful for customers with long retention requirements, but check the storage cost before you turn it up.
    https://mc.merill.net/message/MC1567262
  • What’s new for MSPs: November 2026
    Microsoft’s monthly MSP roundup covers Defender discovering more than 50 local AI agents and their MCP connections, Conditional Access policy plans, and automatic deprovisioning of unused Windows 365 Reserve Cloud PCs (preview, off by default, and it deletes the Cloud PC). It also covers the one-time 30-day Copilot trial of up to 25 seats per customer. Worth a skim for things to switch on across your tenants.
    https://techcommunity.microsoft.com/blog/partnernews/whats-new-for-msps-november-2026/4565944

Cloud & AI

  • What’s New in Microsoft Copilot | November 2026
    The November roundup includes full Word, Excel and PowerPoint editing inside the Copilot app, Copilot Workspaces (the evolution of Notebooks) heading worldwide in December, Cowork’s Auto splitting complex work across several models, and admin-led Copilot onboarding in the Microsoft 365 admin center. Lots of it is Frontier-only for now. Worth reading before customers ask why they can’t see features they read about.
    https://techcommunity.microsoft.com/blog/microsoft-copilot-blog/what%E2%80%99s-new-in-microsoft-copilot–november-2026/4576395
  • MC1568702 – Adding in app browsing control policies
    The Copilot desktop app’s built-in browser on Windows and Mac now supports enterprise policies for security, privacy, site access, authentication and downloads, available worldwide now. The policies only apply once browsing is enabled through the BrowsingEnabled policy, which is off by default. If you plan to turn it on, line the policies up with your existing Edge settings first.
    https://mc.merill.net/message/MC1568702
  • MAI Transcribe 2.5: The new frontier of speech recognition
    Microsoft AI’s new speech model is faster and more accurate than the last one, covers 65 languages, supports up to 10,000 custom keywords and costs US$0.10 per hour of audio. Speaker separation in messy meetings is much better too. If you build call or meeting transcription for customers, the price and the custom vocabulary support make it worth testing.
    https://microsoft.ai/news/mai-transcribe-2-5/
  • Introducing Grok Bot connectors for small businesses
    Grok Bot now connects to QuickBooks, Gusto, Google Search Console, Google Analytics and Google Ads, so Bots can take on bookkeeping, payroll questions and marketing reporting for small businesses. That’s useful, but it also means giving an AI agent access to finance systems. If customers want this, help them set it up with tight scopes and approvals rather than letting them wire it up alone.
    https://grok.com/news/grok-bot-small-business-connectors

Other

  • CrowdStrike to buy Zscaler in $44 billion deal as AI supercharges cyberattacks
    CrowdStrike plans to buy Zscaler for US$43.9 billion in an all-stock deal, combining Falcon endpoint protection with Zscaler’s zero-trust network service. It’s expected to close in the second half of CrowdStrike’s fiscal 2028. Still early, but it’s more consolidation in the security stack, and it’s another competitor squaring up to Microsoft’s Defender plus Entra bundle.
    https://www.cnbc.com/2026/11/23/crowdstrike-zscaler-aquisition-ai-cyberattacks.html
  • Amazon launches AI-native Docs, Sheets, and Slides to challenge Microsoft and Google
    AWS is adding Quick Docs, Sheets and Slides to its AWS Quick workspace, with AI agents that edit files alongside people with their own cursor. Docs previews in December, with Sheets and Slides in January, from US$20 per user per month. Nothing that threatens Microsoft 365 for SMBs yet, but it’s one more productivity suite competing for the same AI budget.
    https://techcrunch.com/2026/11/30/amazon-launches-ai-native-docs-sheets-and-slides-to-challenge-microsoft-and-google/

After hours

Grow bugs – https://directorcia.github.io/Office365/grow-bugs.html

and

Elevator simulator –
https://directorcia.github.io/Office365/skyscraper-elevators.html

Editorial

If you found this valuable, the I’d appreciate a ‘like’ or perhaps a donation at https://ko-fi.com/ciaops. This helps me know that people enjoy what I have created and provides resources to allow me to create more content. If you have any feedback or suggestions around this, I’m all ears. You can also find me via email director@ciaops.com and on X (Twitter) at https://www.twitter.com/directorcia.

If you want to be part of a dedicated Microsoft Cloud community with information and interactions daily, then consider becoming a CIAOPS Patron – www.ciaopspatron.com.

Watch out for the next CIA Brief next week

Keep a human in the loop. The question is where.

Japanese ukiyo-e woodblock print of a stone water basin under a pine branch on cream paper

I am in favour of keeping a human in the loop when a critical decision is largely automated with AI. I am not in favour of putting a human at every step of the chain and calling that governance.

The first instinct, when something important is being automated, is to add an approval. Then another. Before long, a Copilot agent drafts a response, a flow in Power Automate pauses for a manager, someone in Teams taps Approve because the queue is long, and the original risk is still sitting there. The human did not add judgment. They added a delay, and a false sense of comfort.

The useful question is not whether a person should be involved. It is how far down the process the person should sit, so you get the benefit of a real review without creating a bottleneck that people will work around.

Put the human at the decision, not at every click

The work that benefits most from a person is rarely the first draft, the data gather, or the routine classification. It is the moment something becomes hard to undo: a payment leaves, a user is locked out, a customer is told no, a Conditional Access policy changes, a mailbox is searched, an invoice is approved.

That is the case for risk tiering. Sort the process by impact and reversibility before you decide where the human sits. Low-impact, easy-to-reverse work can run with sampling after the fact. Medium work can run with exception and confidence-threshold routing: the system proceeds when it is routine and sure, and a person sees the unusual cases. High-impact or hard-to-reverse work should pause for a human at the decision point, not at every preceding step. The AI can still prepare the brief, assemble the evidence, and recommend an action. The person decides.

If you make people approve every step, two things happen, and both are worse than a well-placed review. The first is rubber-stamping. People click through because the volume makes real scrutiny impossible. The second is alert fatigue. The important exception hides in a queue of ordinary ones, and the review you thought you had bought is gone. A human in the loop only helps if that human still has the time, the context and the authority to say no.

A periodic sample and an audit trail still matter, even on the work you allow to run. They catch drift. They do not replace a decision-point review on the cases that can do real harm.

This is not just a preference

There is official language that points in the same direction, and it is worth being precise about what it does and does not require.

The EU AI Act, in Article 14, requires high-risk AI systems to be designed so that natural persons can effectively oversee them while they are in use. The oversight measures, the official text says, “shall be commensurate with the risks, level of autonomy and context of use.” The people assigned that role should understand the system’s limits, stay aware of automation bias, be able to interpret the output, and be able to disregard, override or stop it. That is a requirement for systems the Act treats as high-risk, not a blanket rule for every Copilot prompt in an Australian ten-person firm. It is still a useful official statement of the idea: oversight should match the risk, and a person who cannot actually override the system is not overseeing it.

In Australia, the current official industry guidance is voluntary. In October 2025 the Department of Industry, Science and Resources published Guidance for AI Adoption, which evolved the earlier Voluntary AI Safety Standard. One of its essential practices is to maintain human control: assign accountable, competent people, and put in place ways to intervene, including when a system needs to be paused or taken offline. The older Guardrail 5 made the same point in slightly different words: enable human control or intervention to achieve meaningful human oversight. Meaningful is the important word. A click on every step is not automatically meaningful.

None of that is a substitute for advice on a specific regulated workload. It is enough to say that “a human somewhere in the process” is not the standard. The standard, where it is spelled out, is proportionate oversight by someone who can actually change the outcome.

A simple way to decide

I use a four-level view. It is not a regulation. It is a way to stop arguing about the principle and start placing the person in the right spot.

Risk and reversibilityWhere the human sitsMSP and SMB examples
Low, easy to reverseAutomate the work. Review a sample later.Copilot drafting a Word outline or meeting notes in Teams; first-pass tidy-up of an Outlook reply that a person still sends.
Medium, or uncertainLet routine, high-confidence cases run. Route exceptions and low-confidence cases to a person. Audit a sample.A Copilot Studio agent answering from a known SharePoint library; a Power Automate flow filing a document or raising a routine ticket; a Defender or Entra alert that looks like a known pattern.
High, hard to reverseAI prepares the recommendation. A human approves at the decision point, before it executes.Changing Conditional Access or MFA; isolating a mailbox or device; sending mail to all customers; approving a supplier invoice or a payment run.
Critical, or affects a person’s rights or livelihoodA human decides. AI may assemble the file, but does not act.Disabling a privileged account; a large funds transfer; a hiring, dismissal or access decision that could reasonably be disputed.

Picture a helpdesk agent that drafts a response from a SharePoint knowledge base and, in some cases, can reset a password or lift a temporary hold. The draft can go out with a sample review. The reset, or anything that changes a person’s access, should stop for a person. The same pattern applies in finance: let the system code the invoice and match it to a purchase order, and put the human on the exception and on the payment itself, not on every line.

If you are building this in Microsoft 365, the tooling already points that way. Power Automate can pause for an approval at the step that matters. Copilot and Copilot Studio agents can be limited to retrieval and drafting, with actions that change a tenant or a payment held for a person. Security automation in Defender and Entra can contain a threat quickly and still require a human before a lasting change is made. The design choice is which step is the decision.

I have written before that Copilot agents are the next real MSP conversation, and that there is an MSP skills gap around governing them. This is part of that gap. The skill is not adding more approvers. It is deciding which moments are worth a person’s attention, and protecting those moments from noise.

The short version

Yes, keep a human in the loop for critical decisions that AI is largely automating. Put that person at the point where the outcome becomes hard to undo, with the context to decide and the authority to override. Let the rest of the chain run, and check it with exceptions, confidence thresholds, sampling and audits.

If every step needs a person, you have not designed oversight. You have designed a queue. And queues get clicked through.

This is general information, not legal advice. If a process is regulated, or a contract already promises a particular form of review, check the current official requirements against the facts of that process.

The NSA Says Move to Post-Quantum Now. Is AI Really Breaking Cryptography?

Backlit stained-glass window of cobalt, teal, amber and ruby glass, with coloured light falling across a dark stone floor

This week the NSA told the operators of US national security systems to “immediately accelerate” their move to post-quantum cryptography. Within a day the internet was asking whether AI had just broken encryption. I have read the primary documents, and the honest answer is more specific, and less dramatic, than the headlines. Something real has happened. Most of what is being repeated about it has not been shown. Everything below was checked on 4 December 2026, and this story is still moving, so treat it as a snapshot.

What the NSA actually said

The NSA press release is dated 2 December 2026. Its central sentence is: “Frontier SI companies have engaged with the U.S. government to responsibly disclose recent discoveries that impact the security of some cryptographic systems currently in use.” It says this threat, alongside existing concerns about quantum computing, is “a significant threat to cryptographic systems protecting sensitive information”. It repeats the harvest-now-decrypt-later warning: “Adversaries are already collecting encrypted information to decrypt once the capabilities become available.” It also flags firmware signatures and hardware roots of trust, because their algorithms “may be difficult to update throughout a device’s operational lifetime”.

What the release does not do is name the companies, the discoveries or the algorithms. It does not give a deadline, and the word “SI” is not explained. CSO Online reports the same gaps. National security system owners are told to prioritise Commercial National Security Algorithm Suite 2.0 (CNSA 2.0), and the release lists six actions, including inventorying cryptographic dependencies, specifying CNSA 2.0 in acquisitions, planning hardware replacement and ensuring cryptographic agility.

The companion NSA advisory, Immediate Actions to Push Toward Post-Quantum, is more concrete. It tells organisations to inventory where cryptography is used and to flag algorithms outside the approved suites. Its examples include DSA, elliptic curves other than P-384 or P-521, EdDSA and deprecated Diffie-Hellman groups. It then says to move TLS to version 1.3, stand up post-quantum certificate authorities and roots of trust, re-sign code and firmware, apply updates that enable post-quantum support, and isolate what cannot be fixed. RSA is not on the flag list, and the advisory uses RSA 3072 as an acceptable base size for roots of trust.

So is AI breaking cryptography?

Partly, but not in the way the loudest posts suggest. Here is how I would sort what is on the public record:

ClaimWhat the sources say
Anthropic found a weakness in the new post-quantum standardsAnthropic published four theoretical papers on 30 November. One gives a quantum algorithm for some problems behind ML-KEM and ML-DSA, found with unreleased Claude models. Anthropic says it is only faster for key sizes far larger than the standards use, and that it “could not” be extended into a practical threat (via BBC and CNBC). The paper itself calls the algorithms “galactic” and “not practical for the parameter sets of ML-KEM and ML-DSA” (paper abstract).
Outside experts agree it is not a practical threatThe independent Cryptography Incident Review Group says the attack “falls far short of compromising the current NIST standards” and expects it may be improved. The UK NCSC says it is significant theoretical work that does not threaten deployed ML-KEM or ML-DSA.
There is a separate, undisclosed discovery affecting cryptography in use todayThe NSA and CISA statements say AI companies disclosed discoveries affecting “some cryptography currently in use”. The NCSC’s CTO told reporters the discovery is “new” and “valid” and “not in the same ballpark” as the Anthropic papers. He declined to name the algorithms or say whether quantum computers are involved (The Record, The Register).
It is an immediate, widespread threatThe joint ONCD, NSA and CISA statement says the “current assessment” is that recent advances “do not present an immediate and widespread threat” (CISA). The NCSC CTO said there is “no immediate threat” and does not expect criminals to exploit it.
It is P-256, X25519 and Ed25519This is one respected cryptographer’s reading of the NSA’s flag list, not an announcement. Filippo Valsorda (blog post) infers it. CSO notes the NSA has not confirmed it. Reuters, citing the Financial Times, reports the flaws did not affect RSA (Reuters).
RSA-2048 or AES has been brokenI found no official or primary source saying so. In the CSO piece, one commentator suggested that “the rumor that AI had cracked RSA 2048” spawned the advisory. That is a rumour, not a finding.

Put together, here is my reading, and it is my reading rather than anything an agency has stated. AI models are now doing real, checkable mathematics on the problems cryptography depends on. At least one disclosure was serious enough that the NSA issued an urgent advisory, and the UK NCSC has confirmed that a new, valid discovery exists. The public evidence does not show that the foundations of the internet have fallen over. The details that would settle it are still being withheld, and two government statements this week disagreed in tone, with the NSA calling the threat “significant” and the joint statement saying there is no immediate and widespread threat. Anyone telling you exactly which algorithm is broken is going beyond what has been published.

There is a quieter, older way AI touches this too. As a Tenable executive told CNBC, AI can help find software bugs that attackers may exploit today, and that risk is separate from quantum computing. My own view is that most real-world cryptographic failures sit in implementations, configuration and certificate hygiene rather than in the mathematics.

Why the practical advice does not change

Notice how all the agencies land in the same place whatever the AI details turn out to be. The CIRG says delaying the transition “would prolong reliance on existing systems that can be broken with far fewer quantum resources” than the new attack needs. The NCSC says its advice is unchanged. Even Anthropic recommends continuing the transition, using hybrid setups and agile systems that can be switched quickly if flaws are found in any given method.

The harvest-now-decrypt-later risk is the part that matters most to a typical MSP customer. If someone records encrypted traffic or stolen backups today, the clock on that data runs until it stops being sensitive. Think of tax records, health information, legal files, client contracts and identity documents. That is a data-lifetime question, and it exists with or without AI.

The Australian timeline

ASD’s ACSC has already set milestones, and the first one is this month. In its Planning for post-quantum cryptography guidance, ASD says organisations should have:

  • By the end of 2026: a refined transition plan.
  • By the end of 2028: commenced the transition, starting with critical systems and data that is highly sensitive or long-lived, and systems that are hard to update.
  • By the end of 2030: completed the transition, having ceased traditional asymmetric cryptography such as RSA, Diffie-Hellman, ECDH and ECDSA.

The Information Security Manual backs that with controls. It requires a post-quantum transition plan, and says new cryptographic equipment, applications and libraries should support ML-DSA-87, ML-KEM-1024, SHA-384, SHA-512 and AES-256 no later than 2030. It also says ML-KEM-768 will not be approved beyond 2030. ASD’s annual cyber threat report says moving by 2030 or sooner puts organisations at lower risk “should AI speed up developments in quantum computing”, and that small and medium organisations do not need a massive budget to start, especially if they use vendor-managed updates.

For comparison, the NCSC in the UK has not changed its focus on 2031 for high-priority systems, and CSO notes that CNSA 2.0, announced in 2022, aims for national security systems to be quantum-resistant by 2035. The NSA’s new guidance sets no deadline beyond “immediately”.

Where Microsoft stands

Here I will only repeat what Microsoft has published. In August 2025 it described a roadmap with early adoption by 2029 and full transition by 2033 (Microsoft Security Blog). On 30 June 2026 it said it was accelerating that timeline, with the goal of transitioning products and services to PQC by 2029. That post names TLS 1.3 as the baseline, crypto-agility for stored data and modernised trust chains, and says the hardest part “isn’t selecting post-quantum algorithms” but finding where cryptography lives. Microsoft made ML-KEM and ML-DSA generally available in Windows Server 2025 and Windows 11 24H2 and 25H2 in November 2025. Its July 2026 Secure Future Initiative report says PQC is now an enterprise engineering requirement. I have not found Microsoft guidance written specifically for this week’s announcements, so check its pages for anything newer than the sources above.

For a Microsoft 365 customer, my take is that much of the service-side cryptography is Microsoft’s job. Your job is everything around it: devices, VPNs and firewalls, on-premises servers, certificates, line-of-business software, remote access and third-party SaaS.

What I would do as an MSP

None of this needs a big project to start. These are my suggestions, drawing on the ASD and NSA steps above:

  1. Start an inventory. ASD’s LATICE framework (locate, assess, triage, implement, communicate, educate) is a good frame. Capture TLS endpoints, VPNs, SSH, certificates and code signing, and note who owns each. I covered a similar mindset for software in finding the AI apps on Windows devices.
  2. Rank by how long the data must stay secret. Long-lived, sensitive data and internet-facing systems come first.
  3. Get to TLS 1.3 and current software. Both the NSA and Microsoft treat it as the baseline. Supported, patched systems are also the easiest to move.
  4. Ask your vendors. ASD, CISA and the NSA published questions to ask vendors about post-quantum readiness. Put them in your supplier reviews, particularly for firewalls, VPNs, backup and identity products.
  5. Buy for agility. For anything with a long life, such as firewalls, network gear and servers, ask whether the firmware signing and algorithms can be updated. The NSA’s hardware warning is the strongest argument in the release.
  6. Watch certificates and legacy. Know which certificates you issue, which are internal, and which devices cannot support TLS 1.2 or 1.3. Isolate and plan to replace what cannot move.
  7. Tell customers calmly. The accurate message is that the public record does not show a practical break of the mainstream encryption they rely on, the agencies say there is no immediate and widespread threat, and a planned multi-year upgrade is under way. Do not promise more than that, because the key details are undisclosed. Where it fits, cover it in the broader requirements conversation.

The takeaway

Which algorithm fell, how, and when it can be exploited are not public yet. I would not guess. What is public is the direction: governments in the US, the UK and Australia are all telling organisations to move to post-quantum cryptography, and the plan to inventory, prioritise and stay agile is sound whichever way the AI story goes. It is worth revisiting once the details are published.

Sources (checked 4 December 2026)

What Are Your Staff Asking Copilot? A Read-Only PowerShell Prompt Report

Black-and-white darkroom photogram of glowing white feathers, an antique key, a coil of thread and translucent paper on a black background

Once a business turns on Microsoft 365 Copilot, the interesting question changes. It stops being “which AI tools are on our machines?” and becomes “what are people actually asking?” The prompts are where the real risk and the real value both sit. Someone pastes a client list into a chat. Someone else asks for a summary of a board pack. Without a way to look, you are guessing. ai-prompt-report.ps1 is how I read those prompts from the Microsoft Graph, in a read-only report you can hand to a business owner.

This is the third piece in a set. The first, How to Find the AI Apps Hiding on Your Windows Devices with a Free PowerShell Script, looks at what is installed on endpoints. The second, Finding Shadow AI in the Cloud, looks at cloud apps seen by Defender for Cloud Apps discovery. This one looks inside Microsoft 365 Copilot itself. Everything below comes from the script (version 1.6.0) and its documentation page, which I re-read on 4 December 2026, plus Microsoft’s own API reference. My own suggestions are labelled, and none of them are tested.

Read this first: it shows what people typed

Most of my scripts report on settings and software. This one reports on people. By default it returns the verbatim text of each user’s prompt, with their name, the time and the app they were using. That is sensitive information, and the prompts can contain anything a person chose to type, including personal, client or commercial details.

So before you run it, here is how I would approach it. This is my opinion, not a statement from the documentation, and I am not giving legal advice:

  • Decide why you are looking, and write it down. A defined purpose such as a security review, an incident or a policy check is very different from curiosity.
  • Tell staff. Privacy and workplace monitoring rules differ by place and by state, so get proper advice and make sure your acceptable use policy says what is reviewed.
  • Scope it. The script lets you pick the users (-UserPrincipalName) and the dates (-Days, or -StartDate and -EndDate). Use the smallest window and the fewest people that answer the question.
  • Protect the output. The HTML, JSON, CSV and text files all contain prompt text. Store them where only the people who need them can read them, and delete them when the review is done.
  • Do not turn it into a leaderboard. Use it to find risky patterns and training gaps, not to judge individuals.

What it does

The documentation explains that the Activity explorer in Microsoft Purview DSPM for AI shows Copilot prompts but has no public API, so a script cannot query or export from it. This script reads from the Microsoft Graph AI Interaction History export instead, which the documentation describes as the same prompt and response store those views are built on. The request is getAllEnterpriseInteractions under /v1.0/copilot/users/{id}/interactionHistory.

A normal run, as the documentation describes it:

  • Works out how to authenticate and, if needed, finds an existing app and certificate (more on that below).
  • Lists users who hold a Microsoft 365 Copilot licence. That is one directory call, not a Purview search.
  • Pulls each user’s interactions, in parallel on PowerShell 7, with a server-side date filter, pages of 100, and retry handling when Graph returns HTTP 429.
  • Writes an HTML dashboard, a JSON file, a prompts-only CSV and a prompts-only text file.

The documentation says a normal run takes seconds to a couple of minutes. Older versions waited for a Purview audit query that could run from 5 to 45 minutes. That search is now opt-in with -IncludePurviewAudit, and when you turn it on it runs in the background while the prompts download.

What you get back

  • The verbatim user prompt, when it was created, the user (ID, UPN and display name where the lookup works) and the Copilot app or host, such as Teams, Word, Outlook or BizChat.
  • The AI response text, but only when you add -IncludeResponses.
  • With -IncludePurviewAudit, extra compliance metadata from the Purview audit record: accessed SharePoint and OneDrive files, sensitivity labels, public web search use, jailbreak and cross-prompt injection (XPIA) flags and policy-block flags. It also covers activity from AI apps that do not write interaction history, including connected and third-party AI apps and Copilot Studio agents. Those rows are metadata only.

Purview audit records do not hold the verbatim prompt. When both sources are present, the script matches an audit record to an interaction-history prompt for the same user when the times are close, and labels each row PurviewAndInteractionHistory, InteractionHistoryOnly or PurviewAuditOnly.

Requirements

  • PowerShell 7 or newer is recommended. Parallel download uses ForEach-Object -Parallel. Windows PowerShell 5.1 is accepted and runs one user at a time, but the documentation says 5.1 has not been tested with version 1.6.0.
  • The Microsoft Graph authentication module. Install-Module Microsoft.Graph.Authentication -Scope CurrentUser.
  • The Australia/Sydney time zone. The CSV and text export are written in Sydney time, and the script stops if neither time zone ID is present on the computer.
  • A Copilot licence per user. Each user needs a Microsoft 365 Copilot licence that includes the Microsoft Copilot with Graph-grounded chat service plan. Microsoft’s API reference says the same. Users without it are skipped. Graph answers those calls with 403, 404 or 412, which is a licensing result and not a permissions fault.
  • A supported cloud. Global and US Government (L4 and L5/DoD) are supported, and the China cloud operated by 21Vianet is not. The -Environment parameter takes Global, USGov or USGovDoD.

Permissions

The key point is that AiEnterpriseInteraction.Read.All is an application permission. Microsoft lists delegated access as not supported for this API. A normal interactive sign-in cannot read prompt text, so you need an app registration with a certificate or client secret.

PermissionTypeWhen
AiEnterpriseInteraction.Read.AllApplication onlyRequired for verbatim prompts and responses.
User.Read.AllApplicationList users and resolve display names. Not needed if you pass -UserPrincipalName.
LicenseAssignment.Read.AllApplicationSelect Copilot-licensed users. If it is not offered, the script uses Organization.Read.All.
AuditLogsQuery.Read.AllDelegated or applicationOnly with -IncludePurviewAudit.
InformationProtectionPolicy.Read.AllApplicationOptional. Resolves sensitivity label GUIDs when audit results are collected.

Setting up the app, safely

This is the part where I would slow down. The report runs as the app, so whoever holds that app’s certificate can read every prompt it is allowed to see. The script gives you four routes, and I would try them in this order.

1. Let the script look for an app you already have

If you do not supply a certificate or secret, the script searches on its own, without asking first, when it cannot already read prompt text. The documentation says the search is read-only and never changes the tenant. It looks for certificates in your Windows certificate stores and the script folder (plus any folders you add with -CertificateSearchPath), reads the tenant’s app registrations, and checks which ones already hold the roles the report needs. It signs in read-only with Application.Read.All only if your current session cannot list apps.

# Run only the scan
.\ai-prompt-report.ps1 -DiscoverApp -CertificateSearchPath 'Default'

# Or just run the report and let it search
.\ai-prompt-report.ps1 -Days 7

It then reports one of four results:

ResultMeaningWhat happens
AAn app has every prompt role and a certificate you hold.The least-privileged ready app that is not flagged high-privilege is used and the report continues. A high-privilege app is used only if you confirm (default No).
CAn app has every role but its certificate is not on this computer.Listed first, with hints to import the PFX, pass -CertificatePath, or run -AddCertificateToApp.
BNo app is ready. An app is missing roles, or only admin consent is missing.A ranked table and the fix, either the roles to add or the consent-only step.
DNothing usable.Guidance for -CreateApp.

I like that the ranking prefers apps that look read-only and ranks apps that already hold write or high-privilege roles last, with a flag. Adding a read permission to a privileged app widens what anyone with its certificate can do. A dedicated read-only app is usually the safer choice, which is also what the documentation says.

2. Fix an existing app

Two explicit, separate modes change the tenant. Both need -AppId, support -WhatIf, show the exact change, and need you to type YES. They are never started by discovery:

# Add the missing report roles and grant consent
.\ai-prompt-report.ps1 -GrantMissingPermissions -AppId '<application (client) id>' -TenantId 'contoso.onmicrosoft.com' -WhatIf
.\ai-prompt-report.ps1 -GrantMissingPermissions -AppId '<application (client) id>' -TenantId 'contoso.onmicrosoft.com'

# Add a new certificate to an app that has the roles but no local certificate
.\ai-prompt-report.ps1 -AddCertificateToApp -AppId '<application (client) id>' -TenantId 'contoso.onmicrosoft.com' -WhatIf

The documentation says the first only adds missing roles and removes nothing. The second appends a new self-signed certificate valid for two years and keeps the existing keys. Admin rights are needed. Global Administrator, or Privileged Role Administrator with Application Administrator, covers the first. Wait 1 to 5 minutes after any change before you run the report.

3. Create a new read-only app with the script

# Preview, with no sign-in and no changes
.\ai-prompt-report.ps1 -CreateApp -WhatIf

# A real run
.\ai-prompt-report.ps1 -CreateApp -AppName 'Contoso-AIPromptReport'

This creates or reuses an Entra app and service principal, a self-signed certificate, uploads the public key and grants admin consent for the application permissions. You type YES before it creates anything. The default app name is CIAOPS-AIPromptReport-ReadOnly. One caution the documentation is clear about: this path has not been run against a live tenant. Only -WhatIf has been exercised. Review the preview and try it in a tenant where you can delete the app if you need to.

4. Do it by hand in the Entra admin center

Register an app for this directory only, upload a certificate (a client secret also works, but a certificate is preferable), add the three Microsoft Graph application permissions above, and grant admin consent. The documentation notes that adding a delegated permission does not make prompt export work.

Whichever route you use, keep the secret material out of the command line. The script reads the PFX password and any client secret from environment variables you name, and it never accepts the password as a parameter.

Running it

Download the script, check it, and run it from its folder. This download snippet is my own suggestion, built from the repository path in the link above:

$dest = 'C:\Tools\AIPrompt'
New-Item -ItemType Directory -Path $dest -Force | Out-Null
Invoke-WebRequest 'https://raw.githubusercontent.com/directorcia/Office365/master/ai-prompt-report.ps1' -OutFile "$dest\ai-prompt-report.ps1"
Unblock-File "$dest\ai-prompt-report.ps1"

Install-Module Microsoft.Graph.Authentication -Scope CurrentUser

Then, with an app that already has the roles and a certificate in your store, the documented form is:

.\ai-prompt-report.ps1 -Days 7 -TenantId 'contoso.onmicrosoft.com' -ClientId '<application (client) id>' `
    -CertificateThumbprint '<thumbprint>' -NoLaunch

With a certificate file, put the password in an environment variable instead of the command line:

$env:AIPROMPT_PFX_PASSWORD = Read-Host 'PFX password' -MaskInput
.\ai-prompt-report.ps1 -TenantId 'contoso.onmicrosoft.com' -ClientId '<application (client) id>' `
    -CertificatePath '.\Contoso-AIPromptReport.pfx' -CertificatePasswordEnvironmentVariable AIPROMPT_PFX_PASSWORD

-MaskInput is PowerShell 7. On Windows PowerShell 5.1 the documentation suggests Read-Host -AsSecureString and assigning the text to the environment variable in your session. More examples from the documentation:

# An explicit window
.\ai-prompt-report.ps1 -StartDate '2026-11-01' -EndDate '2026-11-08' -TenantId 'contoso.onmicrosoft.com' `
    -ClientId '<application (client) id>' -CertificateThumbprint '<thumbprint>' -NoLaunch

# Specific users, with the AI responses included
.\ai-prompt-report.ps1 -UserPrincipalName 'first.user@contoso.com' -Days 30 -IncludeResponses -NoLaunch -PassThru

# Add Purview audit metadata (files, labels, risk flags, non-Copilot AI apps)
.\ai-prompt-report.ps1 -Days 14 -IncludePurviewAudit -TenantId 'contoso.onmicrosoft.com' `
    -ClientId '<application (client) id>' -CertificateThumbprint '<thumbprint>' -NoLaunch

# HTML and JSON only, no prompts CSV or text file
.\ai-prompt-report.ps1 -Days 7 -NoPromptExport -NoLaunch -TenantId 'contoso.onmicrosoft.com' `
    -ClientId '<application (client) id>' -CertificateThumbprint '<thumbprint>'

# Capture a summary object
$result = .\ai-prompt-report.ps1 -Days 7 -PassThru -NoLaunch -TenantId 'contoso.onmicrosoft.com' `
    -ClientId '<application (client) id>' -CertificateThumbprint '<thumbprint>'
$result.PromptsWithTextCount

The script does not quietly write a metadata-only report if it cannot read prompt text. It prints an ACTION NEEDED notice and asks Continue without prompt text? with a default of No. On a host that cannot sign in for the app search, it stops with exit code 1 and writes nothing, unless you pass -SkipInteractionHistory or -UseDeviceCode.

The parameters that matter most

ParameterDefaultWhat it does
-Days7Lookback, 1 to 180 days. Ignored when both -StartDate and -EndDate are set.
-StartDate / -EndDateNoneExplicit window. Local or UTC, converted to UTC. The end must be later than the start.
-UserPrincipalNameNoneLimit to these users and skip directory enumeration.
-IncludeResponsesOffKeep the AI response next to each prompt in the JSON and HTML.
-AllUsersOffQuery every enabled member, not only Copilot-licensed users. Expect many licence 403s.
-IncludePurviewAuditOffAlso run the Purview audit search for files, labels, risk flags and non-Copilot AI apps.
-TenantId / -ClientIdNoneTenant and app for a new app-only connection.
-CertificateThumbprint / -CertificatePathNoneCertificate from the store, or a .pfx or .cer file.
-CertificatePasswordEnvironmentVariable / -ClientSecretEnvironmentVariableNoneNames of the environment variables that hold the secret.
-EnvironmentGlobalGlobal, USGov or USGovDoD.
-OutputDirectoryScript folderExisting folder for the output files. It is not created for you.
-NoPromptExportOffSkip the prompts CSV and text file. HTML and JSON are still written.
-ThrottleLimit8Parallel Graph requests, 1 to 30. Ignored on Windows PowerShell 5.1.
-MaxUsers500Cap when users come from the directory. Up to 10,000.
-NoLaunch / -PassThruOffDo not open the report, and return a summary object.
-WhatIf / -ConfirmSupported. -WhatIf previews the setup modes with no sign-in and no change.

The full list, including the discovery and Purview timing parameters, is in the documentation.

What you get

Four files are written together, named with a local millisecond timestamp, for example ai-prompt-report-20261202-093915-872.html. Files are written under a temporary name and moved into place only when complete. A failed run removes anything it published, and the script stops before calling Graph if a destination file already exists.

  • HTML. One self-contained file with summary counts (interactions, verbatim prompts, active users, apps and hosts, labelled-resource accesses, web-grounded prompts and security or policy flags), per-user and per-app tables, and a prompt table with search and filters. You can export the visible rows to CSV or JSON, print to PDF and switch between light and dark mode. Prompt text is HTML-encoded.
  • JSON. A metadata block (including how the app was chosen, whether prompt text was collected and any warnings), a summary block and one object per prompt. It is meant for downstream use in a SIEM, Power BI or your own scripts.
  • Prompts CSV. One row per user prompt, oldest first, with DateTime in Sydney time, UTC time, user, display name, app or host and the prompt. It is UTF-8 with BOM, correctly quoted for line breaks, and values that start with a formula character are prefixed with an apostrophe.
  • Prompts text file. The same rows as readable blocks, easy to scan or paste.

The console never prints prompt text. It prints a summary: the users queried, how many had activity, the number of prompts with text, the number of AI apps or hosts, warnings and duration.

Reading the results

  • Users with activity is not users licensed. The script counts users who had at least one interaction, not everyone it asked about.
  • Zero prompts is not always a fault. It can mean the window was too short, nobody used Copilot, a retention policy deleted the interactions, you skipped interaction history, or you are looking for Copilot Studio agent transcripts, which this API does not return. The script suggests -Days 30 when a successful query returns nothing.
  • Know your two kinds of 403. A 403 with a licence or mailbox message just means that user is skipped and listed in a warning. A 401, or a 403 that is not about licensing, is a permission problem, so the script stops and prints the notice.
  • Check the source label. Rows labelled PurviewAuditOnly are metadata, with no prompt text.
  • Look for patterns, not people. The HTML filters for web-grounded prompts, labelled resources and jailbreak or XPIA flags are the quickest way to see where governance needs work.

Limits worth knowing

  • No Copilot Studio agent conversations. Both the documentation and Microsoft’s API reference say this API does not return them. Use -IncludePurviewAudit for agent metadata, but the prompt text for those turns is not in the audit record.
  • Retention. You can ask for 1 to 180 days, but you only get what the service still holds. A Purview retention policy for Copilot experiences can delete prompts before the window ends, and Microsoft notes the set of interactions returned depends on licensing and on which AI experiences write to the service. See Learn about retention for Copilot and AI apps.
  • Throttling. The documentation says Microsoft allows 30 requests per second per app per tenant. The script defaults to 8 parallel requests and recommends 8 to 12. If runs are slow, lower the number rather than raising it.
  • Directory cap. Directory-discovered runs query at most 500 users unless you raise -MaxUsers.
  • Test status. This is the most important caveat in the documentation. The automatic discovery logic was tested against a simulated Graph with Pester, not a live tenant. Discovery outcomes A and B were run read-only against two live tenants on version 1.4.0. Outcomes C and D, the ranking, -GrantMissingPermissions, -AddCertificateToApp and automatic app selection have not been run against a live tenant, and -CreateApp has only had -WhatIf run. Version 1.6.0 has also not been tested on Windows PowerShell 5.1. Pilot it in a tenant you can afford to clean up.

Running it regularly (my suggestions, untested)

The documentation does not describe a scheduled deployment. What it does show is that app-only certificate sign-in works with -NoLaunch and that a host that cannot prompt will stop instead of hanging. Everything in this list is my own idea and I have not tried it:

  • Use a dedicated read-only app with a certificate and run the script as a scheduled task or from your RMM, with -NoLaunch -PassThru, a short -Days window and an -OutputDirectory that already exists and is locked down.
  • Think hard about the cadence. A monthly review with a stated purpose is easier to defend than a continuous feed of what staff type.
  • If you only want counts and flags, keep in mind that -NoPromptExport only skips the CSV and text files. The JSON and HTML still carry the prompt text, so they need the same protection.
  • Set a retention rule for the output folder so old reports are deleted on a schedule.
  • Compare the summary numbers over time, such as prompts with text, risk-flagged interactions and web-grounded prompts, and use the movement to decide where to train people.

Where it fits

I would use the three reports together. The endpoint inventory shows what is installed. The cloud discovery report shows which AI services the network is talking to. The prompt report shows what people are doing inside Copilot, which is the one place where the business has already paid for the AI. It also feeds an honest conversation about adoption: which teams use it well, which have not started, and where sensitive material is being handed to it. For compliance, Microsoft documents what Copilot activity is audited on its audit page for Copilot, which is the same family of records the optional Purview step reads.

The takeaway

Visibility into prompts is powerful, and that is exactly why I would handle it carefully. Start with a clear purpose, a small scope and a dedicated read-only app. Try it first in a tenant you can clean up, because parts of the setup have not been proven live. Then use the reports to improve policy and training, not to watch people.

Sources (checked 4 December 2026)