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)

This chart is getting a lot of attention. Here is what it actually says.

Swiss-style geometric abstraction with a terracotta circle, a charcoal vertical bar, a mustard diagonal band and a small slate-blue square on a cream ground

A chart has been doing the rounds this week. It plots how well current AI models complete real freelance projects against a general measure of model capability, then draws two curves into 2027 and 2028 that climb toward 98 percent. The reaction, as ever, is a mix of excitement and “so that’s the end of knowledge work.”

I think MSPs and SMB owners should look at it. I also think they should read it carefully, because the chart is doing two different jobs at once. One is reporting measured results. The other is projecting a future. Those are not the same thing.

Chart of Remote Labor Index automation rate versus Epoch Capabilities Index, showing models from Anthropic, OpenAI and Google, with two projection curves toward 98 percent
Chart circulated by Alex MacCaw on 13 November 2026, Sydney time. Data points reflect public Remote Labor Index (Scale AI / CAIS) and Epoch Capabilities Index (Epoch AI) results. The projection curves are not official Epoch or Scale forecasts.

What the chart is actually measuring

The horizontal axis is the Epoch Capabilities Index, or ECI, from the research group Epoch AI. It is a composite score that stitches together results from many benchmarks into a single “general capability” scale, so models can still be compared after any one test saturates. Epoch is clear that an ECI number is abstract on its own. It is useful for comparing models, not as a standalone grade out of 200. Epoch also notes that scores can shift slightly as more results come in. As of 14 November 2026, Epoch lists Anthropic’s Claude Fable 5.2 at 173, the current lead, with GPT-6 Astra at 169. The chart places Fable 5.2 a little higher, around 174, which matches an earlier Epoch figure that has since been updated.

The vertical axis is the Remote Labor Index automation rate, from Scale AI and the Center for AI Safety. This is a proper benchmark, not a vibe. It uses 240 end-to-end freelance projects sourced from professionals, with a brief, the input files, and a human gold-standard deliverable. The official site, remotelabor.ai, currently headlines a 41.25 percent automation rate. On the Scale leaderboard, GPT-6 Astra sits at 20.83 percent. Automation rate has a specific meaning: the share of projects where a reviewer judges the AI’s work at least as good as the human standard, such that a reasonable client would accept it. When the index launched, the best published result was 2.5 percent. That rise is the part worth taking seriously.

The chart itself is not an official Epoch or Scale publication. The version circulating widely was posted on 13 November 2026, Sydney time, by Alex MacCaw, with the comment that we have not properly internalised the graph. The plotted points line up with public leaderboard results. The two projection lines do not come from Epoch or Scale as official forecasts. One, labelled a steep curve, reaches about 98 percent at roughly 189 ECI, in a window of May to October 2027. The other, labelled the Epoch S-curve, reaches the same point at about 205 ECI, between December 2027 and October 2028. There is also a point marked “Model 4 (est.)”, which is an estimate, not a published official score I could verify.

What it does not say

Three caveats matter more than the curve.

First, the benchmark is not the whole job. The projects are self-contained freelance briefs. The official limitations are explicit: the set excludes work that needs direct client interaction, physical labour, or long-term evaluation. A lot of what an MSP does sits in that excluded pile. Judging an incident, sitting with a customer after a scare, deciding what not to touch in a tenant, and earning the right to say no are not a zip file and a brief.

Second, the projection is uncertain. Fitting an S-curve through a cluster of recent points and running it out to 98 percent is a hypothesis. It assumes progress continues, that ECI keeps moving, and that the relationship between a composite score and client-accepted freelance work holds at the top of the curve. It might. It might also flatten, or arrive later, or look different once the easy residual projects are gone. A chart can be interesting and still not be a calendar.

Third, an automation rate is not job loss. Completing 41 percent of a set of freelance projects to a client’s standard is not the same as replacing 41 percent of a workforce, or 41 percent of an MSP. Most roles are a bundle of tasks, judgment, trust and follow-through. Tools change the mix. They do not automatically delete the person.

What MSPs should do with it anyway

You do not need the 98 percent date to be right before you change how you work. The measured jump, from a few percent to around two in five of those projects, is already enough.

Use Copilot and agents on the work that already looks like a brief. Drafting in Word, summarising in Teams and Outlook, pulling context from SharePoint, and building small, specific agents in Copilot Studio are the practical version of this chart. I have written before that Copilot agents are the next real MSP conversation, and that there is an MSP skills gap around governing them. That has not become less true.

Change the service model. If a customer can get a first draft of a report, a runbook, or a mailbox tidy-up from a model, you should not be selling hours to type the first draft. Sell the design, the review, the guardrails in Entra and Purview, the exception handling, and the accountability when it is wrong.

Upskill the team for that work, not for a future that may or may not arrive in 2027. The scarce skill is becoming: knowing which jobs are safe to hand to an agent, checking the output, and explaining the result to a customer.

And sell automation, rather than waiting to be automated around. The MSPs who package “we will take this repetitive process and make it reliable” will have a business. The ones who only react when a customer asks why a ticket took three days will feel this chart as a threat.

The chart is a warning light, not a prophecy. The results underneath it are real. The curves into 2027 are someone’s projection, not a timetable. Treat the first as a reason to move, and the second as a reason not to panic.

Are all these requirements on MSPs actually worth the time?

Painterly oil still life of a copper teapot, a folded slate-blue cloth and a small ivory bowl on a dark wooden table

I talk to a lot of small MSPs who feel the same thing in their gut. Looking after Microsoft 365 for customers is already a full job. Then the questionnaires arrive. The insurer wants evidence of multifactor authentication, backups and an incident response plan. A customer wants a written assurance that data stays in Australia. Someone has read about the Privacy Act, or ransomware reporting, or AML/CTF, and wants a reply by Friday. In a small practice the owner is also the technician, the adviser and the person filling in the forms.

The question I get is not “should we care about security?” It is this: have the requirements coming at us from outside become too hard to meet, especially the smaller we are? And is all of that time actually worth it?

The burden is real. It costs hours, tooling and attention. A two-person shop does not have a compliance team. Every hour spent on a spreadsheet is an hour not spent fixing a mailbox, tightening Conditional Access in Entra, or talking to a customer. Insurance renewals have become a project of their own. None of that is imaginary, and it lands hardest on the smallest MSPs.

What is actually coming at you

It helps to separate law, guidance and paperwork, because they do not all carry the same weight.

The Privacy Act 1988 and the Australian Privacy Principles still sit at the centre for many customers, and sometimes for the MSP as well. If an organisation is an APP entity, the APPs and the Notifiable Data Breaches scheme apply. The small business exemption for businesses with an annual turnover of $3 million or less is still in force, with important exceptions. Health service providers, businesses trading in personal information, contractors under a Commonwealth contract, and reporting entities under the AML/CTF rules are among those covered regardless of turnover. Under the NDB scheme, if you suspect an eligible data breach you must assess the situation promptly. The OAIC treats 30 calendar days as a maximum, not a target, and if there is an eligible breach the Commissioner and affected individuals must be notified. I have written separately about what Australian privacy law allows, and doesn’t, when you monitor a customer’s Microsoft 365 tenant.

A second privacy risk sits alongside that, and it is easy to miss. The statutory tort for serious invasions of privacy commenced on 10 June 2025. The OAIC notes that it is broader than the Privacy Act and can extend to individuals and entities that are not APP entities. It is about intentional or reckless, serious invasions of privacy, and people can take it to court. You do not get to ignore it just because your turnover is under $3 million.

Then there are the customers who have been pulled into new regimes themselves. From 1 July 2026, AML/CTF obligations apply to certain services typically provided by lawyers, conveyancers, real estate businesses, accountants, trust and company service providers, and dealers in precious metals, stones and products. Most MSPs are not the reporting entity. The customer often is. That shows up as tighter contracts, more questions about access to mailboxes and files, and less patience for loose administration. It does not, by itself, mean the MSP has to enrol with AUSTRAC.

The Cyber Security Act 2024 added obligations that are easy to overstate, and equally easy to ignore. Mandatory ransomware and cyber extortion payment reporting has been in force since 30 May 2025. A reporting business entity, including a business carrying on in Australia whose annual turnover for the previous financial year exceeds $3 million, or a responsible entity for a critical infrastructure asset covered by Part 2B of the SOCI Act, must report a ransom or extortion payment to government within 72 hours of making it, or of becoming aware that someone made it on their behalf. The obligation is triggered by a payment, not by the demand alone. If you support a customer over that threshold, you need a path for that conversation before anyone is staring at a Bitcoin address.

The same Act now has security standards for most consumer smart devices manufactured on or after 4 March 2026, aimed at manufacturers and suppliers. Desktop computers, laptops, smartphones and tablets are excluded. For most MSPs this is not a core licensing obligation. It is worth knowing it exists, and not pretending it is another framework you must certify against for every tenant.

The Security of Critical Infrastructure Act 2018 is in a similar category. Official guidance is that it is aimed at organisations that own, operate or have a direct interest in a critical infrastructure asset, across sectors such as health, energy, data storage, transport and financial services. If you have those customers, you will feel SOCI through contracts, incident reporting and evidence requests even if the Act does not name you. Home Affairs has consulted on proposed reforms to modernise the Act. Those proposals are not the same thing as a current, universal duty on every MSP, and I would not treat them as if they were already law.

A lot of the remaining pressure is not legislation at all. The Essential Eight is ASD guidance, not a statute that binds every small business. It has still become a common language for customers, government buyers and insurers. Cyber insurance questionnaires now ask, in practical terms, whether you have multifactor authentication, current backups, endpoint protection, controlled privileged access and a plan for incidents. Microsoft partner programs and vendor due diligence add another layer of the same questions. Customers send their own security spreadsheets, often written for a bank and pasted onto a ten-person firm. And then there are data residency asks, which I have written about separately in Should you worry about where AI processes your prompts? Storage, processing and training are different questions, and “never leave Australia” is a high bar.

That is a long list. It is also not a single minimum standard that every MSP must meet in the same way for every customer.

What is worth the time, and what is theatre

The work is worth it when it protects the customer and the MSP, when it is the price of staying insurable, and when it is how you tell a serious practice from a break-fix shop with a nice logo.

Turning on multifactor authentication in Entra, managing devices in Intune, keeping privileged roles tight, testing backups, and knowing how you would use audit logs and Defender alerts in an incident are worth the time. So is knowing whether the Privacy Act and the NDB scheme actually apply to you or the customer, and having a process you can run if something goes wrong. So is being able to help a customer who may have to report a ransom payment within 72 hours. That work reduces real harm. It also happens to be what most questionnaires are clumsily trying to ask.

It is also worth it as a business position. Customers who care about this will leave if you cannot show your working. Insurers will not get more relaxed. A documented baseline is easier to defend than a pile of one-off promises. I have also written about what MSPs should understand about Grok Bot security and customer Microsoft 365 data, because the tools you use yourself are part of the same picture. You cannot ask a customer to be careful with Copilot, Purview and guest access if you cannot explain your own side.

Theatre is the work that produces paper and not outcomes. A unique policy pack for every customer that nobody reads. An Essential Eight Maturity Level 3 promise to a five-person office that will never be funded. A claim that “all data stays in Australia” when the product terms do not say that. A 90-question spreadsheet filled in from memory, which does not match the tenant. Collecting attestations instead of turning on MFA. Pasting SOCI language into a statement of work for a customer who is not a critical infrastructure entity. That is how small MSPs burn weeks and still fail the first real incident.

How a small MSP can cope

You cannot meet every possible requirement for every possible customer. You can stop treating the load as a series of emergencies.

Standardise one baseline across all customers. Decide what “good enough to take the work” looks like in Microsoft 365: Entra multifactor authentication and sensible Conditional Access, Intune or equivalent device management, least-privilege admin, current backups, logging you can actually search, and an incident process you have rehearsed. Apply it everywhere. Exceptions are paid, documented and temporary.

Automate the evidence. Use Secure Score, audit logs, Intune and Defender reports, Purview where it is in place, and scripts you already trust, so you are not rebuilding the same answers from screenshots. The questionnaire will still arrive. You should not be starting from a blank page each time.

Use the baseline to say no. If a customer or an insurer wants something outside it, that is a scoped piece of work, not a favour. Frameworks are useful here precisely because they let you point to a standard rather than arguing from personal preference.

Price the work. Compliance is part of the service, not a free add-on that happens after hours. If the customer needs a health-grade or government-grade posture, that is a different offer.

Partner or specialise. A small MSP can be excellent for a defined type of customer and refer or team up when the requirement is genuinely specialist. Trying to be the firm for every regulated sector is how you become average at all of them, and exposed in the one that matters.

And know when to walk away. If a customer wants enterprise assurance at a break-fix price, will not fund the baseline, or expects you to sign things the products cannot support, the cheapest hour you will spend is the one in which you decline the work.

The verdict

Yes, it has become harder. The smallest MSPs feel it most, because the same person has to do the technical work and prove it. That does not mean the minimum has become impossible, and it does not mean every requirement is equally worth your time.

Do the work that reduces harm, keeps you insurable, and lets you look a customer in the eye after an incident. Stop doing the work that only produces a document. Build one standard, automate the proof, charge for anything beyond it, and walk away from customers who want a promise you cannot keep. Things are hard. They are still manageable if you stop treating every outside demand as if it were written just for you.

This is general information, not legal advice. The official wording moves, and a contract or a regulated customer needs advice that fits the facts.

Should you worry about where AI processes your prompts?

Editorial line illustration of a sage-green notebook and a clay-pink ceramic cup on a cream background

I keep getting a version of the same question. Staff are using Copilot in Word, Outlook and Teams. Then someone in a board meeting, a law firm, or a health practice asks where the prompt actually goes. Does it leave Australia? Is that worth worrying about? And if you do want the information never to leave the country, is that even realistic, or do you just lose the productivity and watch people go around you with a free chatbot?

Those sound like one question. They are at least three.

Storage, processing and training are not the same thing

Where the data sits at rest is one issue. Where the model is running when it answers you is another. Whether the prompt is used to train a foundation model is a third. A lot of the anxiety lumps them together. They should not be.

Data at rest is the stored record: Copilot interaction content, chat history, files in SharePoint or OneDrive. In transit and in processing is the live path: your prompt, the retrieved context, and the model’s response while the work is being done. Training use is a different decision again. A product can store data in Australia, process a prompt in another region, and still not use that prompt to train a model.

If you only ask “does it leave Australia?”, you will get a messy answer, because the useful answer depends on which of those three you mean.

What Microsoft actually says about Microsoft 365 Copilot today

For Australian tenants, Microsoft does make a data-at-rest commitment. The Product Terms on the location of customer data at rest for Core Online Services cover Copilot interaction content, meaning prompts and responses, for a tenant whose sign-up country includes Australia. Copilot is a covered workload. Advanced Data Residency and Multi-Geo can also include Copilot data-at-rest commitments, with conditions, and Multi-Geo stores that content according to the user’s Preferred Data Location. That is storage. It is not, by itself, a promise that the model runs in Australia. See Microsoft’s data residency documentation for Microsoft 365 Copilot for the service detail.

On processing, Microsoft is equally direct, and the wording is worth reading as written. The official Copilot privacy documentation says Microsoft Copilot calls to the LLM “are routed to the closest data centers in the region, but also can call into other regions where capacity is available during high utilization periods.” It also says that for European Union users there are additional safeguards to comply with the EU Data Boundary: “EU traffic stays within the EU Data Boundary while worldwide traffic can be sent to the EU and other countries or regions for LLM processing.” And: “For EU customers, Microsoft Copilot is an EU Data Boundary service. Customers outside the EU may have their queries processed in the US, EU, or other regions.”

Australia is outside the EU. There is no Australian equivalent of the EU Data Boundary for Copilot today. An at-rest commitment for an Australian tenant is not an in-country processing commitment. LLM processing can leave the closest region and can take place in the United States, the EU, or other regions.

There is a second official statement that needs to sit beside that, not instead of it. Microsoft’s data residency overview says, by way of example, that Microsoft 365 Copilot processes prompts and generates responses, and that “with the appropriate configuration, this processing occurs within the same geographic boundary as your stored data.” The same page notes that detailed documentation for data in processing is “coming soon.” It does not name that configuration for an Australian tenant. Until Microsoft documents what it is, and until local inferencing is actually generally available, I would not treat in-country processing as a current, default commitment.

Microsoft has announced local data inferencing for Copilot interactions in Microsoft 365 Copilot, expected to become available in Australia, India, the UAE, the UK and the United States by the end of 2026. An editor’s note dated 3 April 2026 moved Australia off the original end-of-2025 option. The public roadmap has pointed at general availability in December 2026, and as of late September 2026 was still listed as in development. As I write this in mid-November 2026, that is a target, not a current commitment. Check the product terms and Message Center before you rely on it.

One more caveat sits with subprocessors. Microsoft’s page on Claude models from Anthropic in Microsoft Online Services is the place to check the current position. If those models are in the mix, do not assume the same geography rules still hold. Microsoft has stated that Anthropic models used inside Copilot experiences are excluded from the EU Data Boundary and, where those commitments apply, from in-country processing. Confirm that against the live page.

On training, the enterprise position is clearer than the location question. Microsoft states that prompts, responses, and data accessed through Microsoft Graph are not used to train foundation LLMs, including those used by Microsoft Copilot. Stored interaction content is encrypted at rest. That is the Microsoft 365 Copilot commitment. Consumer tools, free chatbots, and other products can be different, which is why shadow AI matters so much in practice.

If you build on Azure OpenAI or Foundry

If you are standing up your own models in Azure AI Foundry, you have more control — and more ways to get this wrong.

Microsoft’s deployment-types documentation is blunt. For every deployment type, data stored at rest remains in the designated Azure geography. Inferencing is a separate choice. Global deployments may process prompts and responses in any Azure region where the model is deployed. Data Zone deployments keep processing inside a Microsoft-specified zone: the United States, the European Union, or Asia Pacific. Standard and Regional Provisioned deployments process prompts and responses within the customer-specified Azure geography, and might move between regions inside that geography for operational reasons.

Asia Pacific is not Australia. Official region lists for the APAC data zone include Australia East alongside places such as Japan East, Korea Central, Southeast Asia and South India. Microsoft also says it can add regions to a data zone without prior notice. If the goal is that AI data never leaves Australia, a Data Zone APAC deployment is the wrong control, even if the resource itself was created in Australia East.

The Australia geography is tighter. Australia East in New South Wales and Australia Southeast in Victoria both sit in that geography, so a Standard or Regional Provisioned deployment can still move work between those two Australian regions. That is still in Australia. It is also the option to use if in-country processing is the requirement.

There is a catch. Geography-based deployments arrive last, have no guaranteed availability date, and depend on capacity. You have to check whether the specific model you want is available in Australia East as a Standard or Regional Provisioned deployment. You cannot assume every model is. Microsoft recommends Global Standard for most workloads because it is cheaper and has the broadest coverage. That default is fine if processing residency is not a requirement. It is the wrong default if it is.

Abuse monitoring needs a look as well. Microsoft’s Foundry privacy documentation says a sample of prompts and completions can be stored for human review of possible abuse, in a data store in the Azure geography where the Foundry resource is deployed. Automated review, on the official wording, does not store those prompts or use them to train models. Eligible customers can apply for modified abuse monitoring so that storage can be turned off. If “never stored outside Australia” is the standard, this is one of the places to read the current terms, not assume them.

So should an SMB worry?

For most ordinary Australian small and mid-sized businesses, I think the answer is: care about the right things, and do not over-index on forcing every prompt to be inferred inside Australia.

If you are using Microsoft 365 Copilot on an Australian tenant, you already have a contractual at-rest commitment for interaction content, and an official statement that those prompts are not used to train foundation models. The live processing of a query can still leave Australia when capacity is tight, or simply because Australia does not have an EU-style processing boundary today. For many SMBs, that is a residual risk they can live with, provided access is controlled and staff are not pasting client files into a consumer chatbot with weaker terms.

Who should take processing location more seriously is a shorter list, and it is a real one. Health service providers. Legal practices. Reporting entities under the AML/CTF rules. Anyone performing work under a Commonwealth contract. Government buyers who have to consider IRAP assessments and, where it applies, the Hosting Certification Framework. Any organisation that has already signed a contract promising that data, including AI prompts, will stay in Australia. If you are in that group, “it is probably fine” is not a position you can defend later.

Australian privacy law does not ban overseas disclosure. Australian Privacy Principle 8 requires an APP entity to take reasonable steps before personal information is disclosed overseas, and, subject to exceptions, the entity can remain accountable for what the overseas recipient does with it. I have written separately about what Australian privacy law allows, and doesn’t, when you monitor a customer’s Microsoft 365 tenant. Location matters. It is not, on its own, automatically unlawful.

The productivity trade-off is not theoretical

There is a practical cost to chasing “never leave Australia” as a blanket rule.

The models you want may not be available as a regional deployment in Australia East, or not yet. Capacity can be tighter and latency worse. Some Copilot experiences may not yet offer in-country inferencing you can rely on in a contract. If the approved path becomes slow or incomplete, people will go around it and paste a client brief into a free web chatbot on a phone. That is shadow AI, and it is usually worse than Copilot processing a prompt in another Microsoft region under enterprise terms: no at-rest commitment you can point to, no audit trail, and often a different position on training.

A hard lock-down that staff will not follow is not control. It is theatre. A better approach is a policy people can actually use. Approved tools for everyday work. Clear rules about what must not be pasted into any model. The tighter, in-region path reserved for the work that genuinely needs it. And an honest conversation with the customer or the board about what the product does today, not what a roadmap says it might do in December.

What to look for if you do want AI data never to leave Australia

If that is genuinely the requirement, look for all of the following, not just a marketing claim about “data residency.”

  • A contractual residency commitment in the Data Protection Addendum or the product terms, not only a blog post or a data-sheet.
  • In-region processing, stated as such, not only storage at rest. For Copilot, read the current privacy and data residency documentation and do not assume Australia has an EU Data Boundary equivalent.
  • Whether local inferencing for Microsoft 365 Copilot in Australia has actually reached general availability, and what the current terms say about it, including any conditions or exclusions.
  • For Azure OpenAI or Foundry, a Standard or Regional Provisioned deployment in the Australia geography, not Global, and not Data Zone APAC.
  • Current model availability in Australia East for that deployment type. Check the official list for the specific model, not a memory of last year’s matrix.
  • Named subprocessors, and any exclusions. Anthropic models in Copilot experiences are an official example of a processing-geography carve-out.
  • Where logs, diagnostics and abuse-monitoring samples are stored, and whether modified abuse monitoring is available if you need storage turned off.
  • The training position, and any opt-out. For Microsoft 365 Copilot, Microsoft already says prompts, responses and Graph data are not used to train foundation LLMs. Other tools may need an explicit opt-out, and a no-training setting is still not a residency setting.
  • For government work, current IRAP assessments of the relevant Microsoft services, remembering that IRAP is a risk-based assessment, not a certification or a pass-fail stamp, and, where it applies, the Hosting Certification Framework. The Framework is aimed at Australian Government hosting of sensitive and classified information. It has been under reform, with new certification registrations paused from 3 November 2025, so check the current official position.
  • APP 8, and any contractual flow-down you have already given customers about location.

“Never leave Australia” is a high bar. Encryption in transit still crosses borders if the processing does. Web-grounded answers may involve other services. A model you want may not be in Australia East yet. If a vendor cannot show the processing commitment in the terms, treat the claim as incomplete.

If you use Grok Bot, treat the settings accurately. Privacy Mode is a training setting, not an Australian residency control. I have written about what Privacy Mode does, and how to change it, and separately about what MSPs should understand about Grok Bot security and customer Microsoft 365 data. Do not read a no-training switch as a promise that prompts stay in Australia.

This is general information, not legal advice. The official wording moves. A contract or a regulated workload needs advice that fits the facts, checked against the current Product Terms, the Data Protection Addendum, and the live Microsoft documentation, not against a blog post written in November.

Finding Shadow AI in the Cloud: A Free PowerShell Report from Defender for Cloud Apps Discovery

Studio photograph of translucent glass spheres on a dark reflective surface, some with small amber glowing orbs inside

An inventory of what is installed on a laptop only tells you half the story. Plenty of AI tools never touch the disk. They live in a browser tab, and the only trace is the network traffic. If your clients already feed firewall or proxy logs, or Defender for Endpoint signals, into Microsoft Defender for Cloud Apps, then that traffic has already been catalogued as discovered cloud apps. The question is how to get it out in a form you can put in front of a business owner. That is what ai-shadow-report.ps1 does.

This post covers what the script reports, what it needs, how to run it, how to read the results and where I would be careful. It is the cloud-side companion to the endpoint script I covered in How to Find the AI Apps Hiding on Your Windows Devices with a Free PowerShell Script. Everything about the script comes from the code and the Shadow AI and Cloud Discovery Report documentation, both of which I re-read on 1 December 2026. My own suggestions are labelled as such.

Endpoint inventory versus cloud discovery

The two scripts answer different questions, and I would run both:

Endpoint script (ai-apps-report.ps1)Cloud discovery script (ai-shadow-report.ps1)
Where it looksThe Windows device itself: apps, processes, shortcuts, browser and editor extensionsCloud app discovery data in Microsoft Defender for Cloud Apps, read through Microsoft Graph
What it can seeWhat is installed or running locallyCloud apps your network or devices have talked to, including ones that only live in a browser
What it cannot seeWebsites visited with no local traceAnything that is not in your discovery streams
NeedsPowerShell on the device, no tenant accessA tenant with populated Cloud Discovery data, and Graph consent

One tells you what is on the machine. The other tells you what the machines and the network are reaching. Neither tells you what was typed into them.

What the script does

It is a read-only Microsoft Graph report. According to the script and the documentation, it:

  • loads the built-in AI detection rules, plus an optional catalog file;
  • signs in to Microsoft Graph with the single delegated scope CloudApp-Discovery.Read.All;
  • lists the Cloud Discovery streams you can access, or one you name;
  • pulls aggregated discovered-app data for a 7, 30 or 90 day period;
  • classifies each app as an AI product by name, domain, Defender for Cloud Apps category and keyword rules;
  • optionally looks up which users are associated with each app;
  • writes an app CSV, a user CSV and a self-contained HTML report, and opens the report in your browser unless you tell it not to.

It does not sanction, unsanction, block or change anything. The documentation says so explicitly, and the code only issues read requests to Graph.

Prerequisites

  • PowerShell. Windows PowerShell 5.1 or PowerShell 7. The script has a #requires -Version 5.1 line.
  • The Microsoft Graph authentication module. The script needs Connect-MgGraph, Invoke-MgGraphRequest, Get-MgContext and Disconnect-MgGraph. The documentation installs Microsoft.Graph.Authentication for that.
  • Admin consent. An administrator must grant consent to CloudApp-Discovery.Read.All, and the account you sign in with needs access to the Cloud Discovery data and streams.
  • Discovery data. At least one populated Cloud Discovery stream must exist. The script does not create or import discovery data. If you have not set up Cloud Discovery in Defender for Cloud Apps, there is nothing to report on.

That last point matters most for small business clients. Microsoft’s Defender for Cloud Apps getting started guide describes two main ways to feed discovery data. One is integrating with Microsoft Defender for Endpoint so Windows 10 and 11 devices are monitored, and the other is uploading firewall or proxy logs, either as a one-off snapshot report or through automatic log upload. I have not checked licensing for any of this. Confirm what your clients are entitled to before you promise them a report.

One more thing. The script uses the Microsoft Graph beta Cloud Discovery API, and its own header says the beta API can change and is not supported for production use. Microsoft documents the same endpoints on its discovered apps Graph API page. Treat the output as a point-in-time view and expect that field names may change.

Getting it and running it

This download snippet is my suggestion, built from the repository paths in the links above:

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

Install-Module Microsoft.Graph.Authentication -Scope CurrentUser

Read the script before you run it. Then, from that folder:

.\ai-shadow-report.ps1

The default run uses a 30 day lookback and all the discovery streams you can access. It exports every discovered app, queries user associations where it can, uses ai-apps-catalog.json beside the script if it is there, and writes the reports into the script’s folder. It then opens the HTML report. Because the sign-in is interactive, a browser prompt will appear the first time. If your account has not been consented, ask a Global Administrator to approve the permission once.

Parameters

ParameterDefaultWhat it does
-Days30Lookback period. Only 7, 30 or 90 are accepted.
-StreamIdAll accessible streamsLimit the run to one discovery stream. An unknown or inaccessible ID stops the run.
-TenantIdCurrent context, or interactive selectionTenant ID or domain to sign in to.
-EnvironmentGlobalGraph cloud: Global, USGov or USGovDoD.
-OutputDirectoryThe script’s folderWhere the reports go. The folder must already exist.
-CatalogPathai-apps-catalog.json beside the scriptLocal AI catalog file.
-UpdateCatalogOffDownload the catalog first (HTTPS only), cache it if the path is writable, and fall back if that fails.
-CatalogUriThe catalog in the same GitHub repositoryHTTPS address used by -UpdateCatalog.
-AiOnlyOffExport only apps classified as Known or Possible AI, and skip user lookups for the rest.
-AiUsersOnlyOffExport all apps, but look up users only for AI-classified apps. Faster on large tenants.
-SkipUsersOffSkip user lookups. The user CSV has a header row only.
-NoLaunchOffSave the HTML report without opening it.
-PassThruOffReturn a summary object, including report paths, counts and warnings.
-WhatIf / -ConfirmThe script supports both. -WhatIf prevents the Graph connection and the export.

Examples

# AI-only app export over 30 days
.\ai-shadow-report.ps1 -Days 30 -AiOnly

# Refresh the AI catalog first
.\ai-shadow-report.ps1 -UpdateCatalog

# Look up users only for AI-classified apps
.\ai-shadow-report.ps1 -AiUsersOnly

# One stream, 90 days, no browser (the ID below is a placeholder)
.\ai-shadow-report.ps1 -Days 90 -StreamId "00000000-0000-0000-0000-000000000000" -NoLaunch

# Choose the output folder and capture a summary
$result = .\ai-shadow-report.ps1 -OutputDirectory "C:\Reports\ShadowAI" -NoLaunch -PassThru
[PSCustomObject]@{
    KnownAI    = $result.KnownAiAppCount
    PossibleAI = $result.PossibleAiAppCount
    Unsanctioned = $result.UnsanctionedAiCount
    Warnings   = $result.Warnings.Count
    Report     = $result.HtmlReportPath
}

# Preview without connecting
.\ai-shadow-report.ps1 -WhatIf

Create the output folder first. The script validates it and will not make one for you.

How it decides an app is AI

Each discovered app gets one of these classifications, based on the app name, its domains and its Defender for Cloud Apps category:

  • Known AI-capable product. The name or a domain matches a catalog product rule or a known AI domain, or the Defender category is one of the AI categories the script recognises: generativeAi, aiModelProvider, mcpServer and clientAiApp. The current built-in catalog (version 2026.11.30-builtin) has 74 product rules, plus a built-in list of known AI domains.
  • Possible AI product. No known match, but the catalog’s keyword pattern matched the app name or a domain. Terms such as generative AI and large language model are examples.
  • No AI match. Nothing matched.

The same catalog file is shared with the endpoint script. A custom catalog is a JSON file with a products array (each entry has a product and a pattern) and an optional keywordPattern. A custom entry replaces a built-in product of the same name, and new products are added. Both documents are clear that a match is evidence for investigation, not proof that a person used an AI feature or that anyone approved the app.

What you get

The app report

The app CSV and the HTML dashboard carry the same fields. The ones I look at first are:

  • AppName, Domains and Category, which is what the app is and where it lives.
  • AiConfidence, AiProducts and AiEvidence, which is the classification, the product it was matched to and the reason.
  • SanctionStatus and Tags, taken from the tags in Defender for Cloud Apps, as Sanctioned, Unsanctioned, Monitored or Not tagged.
  • RiskScore, the Defender risk score when it is available.
  • UserCount, IpAddressCount, TransactionCount and the upload and download bytes, which show how much the app is used.
  • StreamName, LogDataProvider and LastDataReceivedDateTime, which tell you which source the data came from and how fresh it is.

The user report

Unless you skip it, the script asks Graph which users are associated with each eligible app. It skips an app if its user count is zero, or its stream does not expose user names. The user CSV lists the app, its AI classification and sanction status, the risk score and the user identifier that Graph returned. The HTML report shows at most 500 user associations. The CSV is the complete export.

The HTML dashboard

The dashboard is a single offline file. It has summary cards (including exported apps, known AI, possible AI and unsanctioned AI), search and filters for confidence, sanction status and stream, sortable tables, CSV and JSON downloads of the visible rows, light and dark themes and print to PDF. It also lists stream coverage and any operational warnings, so read those before you trust the numbers.

Files are named with a millisecond timestamp, for example shadow-it-apps-yyyyMMdd-HHmmss-fff.csv, and the matching shadow-it-users and shadow-it-report files. The script stages files under temporary names and only publishes them after all three are generated. It will not overwrite an existing report. CSV values that start with a formula character are prefixed with an apostrophe, so opening them in a spreadsheet is safer.

Reading the results

  • Start with unsanctioned AI. Apps classified as AI and tagged Unsanctioned in Defender for Cloud Apps are the obvious first conversation. The script reports that count on the console and in the dashboard.
  • Then look at Not tagged. An AI app that nobody has tagged yet is exactly the shadow part. It tells you where your governance has not caught up.
  • Treat Possible matches as leads. Read the evidence column before you decide anything.
  • Never add up traffic across streams. Streams can overlap, so the same app may appear in more than one. The script and the documentation both warn about this.
  • Never divide app totals across users. The API provides app-level traffic only, not per-user traffic, so the numbers cannot tell you how much any one person sent.
  • Blank transfer fields are normal. Some sources do not provide volume information.

Running it regularly

The documentation does not describe scheduled or unattended use. The script signs in interactively with the delegated scope, and I could not find an app-only or certificate sign-in option in it. Everything in this section is my own suggestion and I have not tested it:

  • Run it monthly by hand, or as part of a client review, with -NoLaunch -PassThru and a dated output folder. Keep the reports so you can compare one month with the next.
  • Use -Days 30 for a monthly look and -Days 90 for a quarterly one, and keep the same stream selection each time so the numbers are comparable.
  • Compare the lists of AI apps month to month. New names and rising user counts are what matter. The tool does not do that comparison for you.
  • If you want a fully unattended job, you would need a sign-in method the script does not currently offer, so I would not try that without checking the code and the Graph permissions model first.

Privacy, limits and caveats

  • Reports are sensitive. They can contain tenant IDs, app names, domains, user identifiers, IP usage counts and traffic data. Store and share them in line with your privacy and retention requirements, and take particular care with the user CSV.
  • It only sees what discovery sees. The data comes from the selected streams and period. How complete that is depends on how discovery is set up for each client.
  • Classification is heuristic. Expect false positives and false negatives.
  • The API is beta. Field names and behaviour can change.
  • Your view depends on your role. A signed-in user sees only the data their tenant and Defender roles permit.
  • No enforcement. Sanctioning, blocking and policy all happen elsewhere, in Defender for Cloud Apps and your other controls.
  • Air-gapped environments. Skip -UpdateCatalog. The built-in catalog and a local catalog file still work.

How I would use it with clients

This is my view, not part of the script. I would run the endpoint inventory and the cloud discovery report together, and take both to the client as one story: here is what is installed, and here is what your network is actually reaching. The overlap is where the real shadow AI sits, and the gaps tell you where each tool is blind. From there the conversation is about policy. Which AI tools are approved, which are not, and who owns the decision. The reports give you the evidence. They do not give you the answer.

The takeaway

You do not need a new platform to start seeing shadow AI. If a client already has Defender for Cloud Apps discovery running, the data is sitting there, and one read-only script turns it into a report a business owner can read. If they do not, setting up discovery is the real first step. Either way, start with a pilot tenant, read the warnings and treat the first report as a baseline, not a verdict.

Sources (checked 1 December 2026)

Running CISA ScubaGear with Grok Bot: Setup, Prompts and a Weekly Routine

Underwater photograph of a kelp forest with shafts of sunlight and a school of small silver fish

If you want to measure a Microsoft 365 tenant against a published, government-grade baseline, ScubaGear is the tool. It is free, it comes from CISA, and it produces a report you can act on. It also has one catch that surprises people with an agent in the mix: it only runs on Windows. This post covers how I would deploy and run it with Grok Bot, including a weekly routine. It is a companion to my Maester v3 post.

I checked the official sources on 30 November 2026. The current release is ScubaGear 2.0.0, published on 22 October 2026 on both the GitHub releases page and the PowerShell Gallery.

Why ScubaGear

CISA’s Secure Cloud Business Applications (SCuBA) project publishes secure configuration baselines for Microsoft 365 and Google Workspace. ScubaGear checks a tenant against the Microsoft 365 baselines. CISA says organisations in every sector can use them, not only federal agencies; see the CISA SCuBA page. Under the hood, ScubaGear queries Microsoft 365 APIs, compares the settings with Open Policy Agent (OPA) policies, and writes HTML, JSON and CSV results.

For an MSP, that gives you a repeatable baseline assessment to run for a client, and a clear list of what to fix.

Where it runs, and how Grok Bot fits

Here is the catch. ScubaGear runs on Windows PowerShell 5.1 and Windows only. The ScubaGear dependencies page says some of the Microsoft libraries it uses are tied to PowerShell 5, so it will only run on Windows. The module manifest in the 2.0.0 package I downloaded lists PowerShellVersion 5.1 and the Desktop edition only. That means it does not run on PowerShell 7, and it will not run on Grok Bot’s own Linux computer.

The realistic pattern looks like this:

  • A Windows computer does the assessing. Grok Bot can run commands on a Windows computer you have registered with it. Each of those actions needs your approval in the app. That is fine for setup and for supervised runs, but it is not unattended.
  • Windows Task Scheduler does the unattended run. A scheduled task on that computer runs ScubaGear weekly with a certificate and writes the results into a OneDrive or SharePoint-synced folder. CISA does not document Task Scheduler specifically. This is my own reasonable pattern, built on the “scheduled jobs” non-interactive mode the docs describe.
  • A Grok Bot routine does the thinking. Routines are saved prompts that run on a cron schedule in local time. The routine reads the latest results from OneDrive or SharePoint, compares them with the previous run, and posts a summary to Teams or email through connectors.

If you want a fully hosted option instead, CISA’s own automation is ScubaConnect. Its GearConnect component runs ScubaGear on a schedule in Azure, deployed with Terraform, and keeps configs and results in Azure storage. It is a bigger job than a scheduled task, but it is the official route for multiple tenants.

Prerequisites and the service principal

For interactive runs you sign in as a person. For scheduled runs, ScubaGear supports one method only: a service principal that authenticates with a certificate thumbprint. The certificate must be in the Cert:\CurrentUser\My store of the account running the task. The non-interactive permissions page sets out what each product needs:

Product (ProductNames value)Interactive roleService principal needs
Entra ID (aad)Global ReaderGraph application permissions: Directory.Read.All, Policy.Read.All, PrivilegedAccess.Read.AzureADGroup, PrivilegedEligibilitySchedule.Read.AzureADGroup, RoleManagement.Read.Directory, RoleManagementPolicy.Read.AzureADGroup, User.Read.All
Security Suite (securitysuite)Global Reader or Exchange AdministratorExchange.ManageAsApp, plus the Global Reader role
Exchange Online (exo)Global Reader or Exchange AdministratorExchange.ManageAsApp, plus the Global Reader role
Teams (teams)Global Reader or Teams AdministratorGlobal Reader role
SharePoint and OneDrive (sharepoint)Global Reader or SharePoint AdministratorSites.FullControl.All
Power Platform (powerplatform)Power Platform Administrator with a Power Apps for Office 365 licenceOne-time registration of the app with New-PowerAppManagementApp
Power BI (powerbi)Fabric Administrator or Global Administrator, with a Power BI or Fabric licenceA Power BI admin tenant setting, applied through a security group, and no API permission

Be honest with yourself about the last three rows. The docs say the SharePoint and Power Platform permissions include write privileges, because the underlying APIs require them, and that ScubaGear itself never uses them for its assessments. I would start with aad, securitysuite, exo and teams, which only need read access, and add the others deliberately.

ScubaGear also includes helpers for the app: New-ScubaGearServicePrincipal creates the app, permissions and certificate, Get-ScubaGearAppPermission and Set-ScubaGearAppPermission audit and fix permissions, and Get-ScubaGearAppCert, New-ScubaGearAppCert and Remove-ScubaGearAppCert handle certificate rotation. The service principal workflows guide covers them. An admin should run these, not the bot. The certificate defaults to six months, so plan for rotation.

Setup, with prompts to give Grok Bot

1. Install ScubaGear

Use my registered Windows computer. Check that Windows PowerShell 5.1 is available, not PowerShell 7. Then run Install-Module -Name ScubaGear and tell me the output of Invoke-SCuBA -Version. I will approve each action.

2. Install the dependencies

Run Install-ScubaDependencies on the Windows computer. Tell me what it installed, and confirm that OPA and the MSAL files exist in the .scubagear folder in my home directory.

Initialize-SCuBA still works as an alias for Install-ScubaDependencies. The dependencies are the powershell-yaml module, OPA and the Microsoft Authentication Library assemblies.

3. Generate the YAML configuration

In C:\Scuba, run New-SCuBAConfig -Organization contoso.onmicrosoft.com -ProductNames “aad,securitysuite,exo,teams”. Read the generated SampleConfig.yaml and list what I need to fill in. Don’t guess any values. Ask me for the object IDs of our emergency access accounts.

ScubaGear works best with a config file. Without one it assumes defaults that may not reflect your policies, as the README explains. The configuration guide covers every option, and Start-SCuBAConfigApp opens a graphical editor on Windows, but that is one for you at the keyboard.

4. First interactive run

Tell me when you are ready, so I can be at the Windows computer for the browser sign-in. Then run Invoke-SCuBA -ProductNames aad,securitysuite,exo,teams -ConfigFilePath C:\Scuba\SampleConfig.yaml -OutPath C:\Scuba\Results -SilenceBODWarnings. Afterwards, run Get-ScubaGearContext and confirm which tenant was used.

5. Move to the certificate

Walk me through creating the ScubaGear service principal with New-ScubaGearServicePrincipal -M365Environment commercial -ProductNames ‘aad’,’securitysuite’,’exo’,’teams’ -ServicePrincipalName ‘ScubaGear-Production’. Run it with -WhatIf first and explain the output. I will do the admin sign-in. Then run Get-ScubaGearAppPermission to verify, and test one run with -AppID, -CertificateThumbprint and -Organization.

Invoke-SCuBA -ProductNames aad,securitysuite,exo,teams `
  -AppID <application-client-id> `
  -CertificateThumbprint <certificate-thumbprint> `
  -Organization contoso.onmicrosoft.com `
  -OutPath C:\Scuba\Results -Quiet

Notice there is no secret to hand over here. The private key stays in the Windows certificate store, and the app ID, thumbprint and organisation are identifiers. If anything else does need a secret, such as a webhook, ask the bot for a masked secret request and never paste it into chat.

6. Triage the first report

Read ScubaResults.json and ActionPlan.csv from the latest Results folder. List the failing SHALL controls first, grouped by product. For each, give the control ID, what failed, the risk in plain English and the fix. Don’t change anything.

Operating it

  • Explain a failure: “Explain why MS.AAD.1.1v1 failed in our report and what it protects against.”
  • Remediation steps: “Draft step-by-step remediation for the top five failures as a change request for me to review.”
  • Compare runs: “Compare the two most recent ScubaResults files. What newly failed, what was fixed and what is new?” The tool itself has Invoke-SCuBADiff -BeforePath -AfterPath, which works offline and produces DiffResults.json, DiffResults.csv and DiffReport.html.
  • Record a decision: “Add an AnnotatePolicy entry for MS.EXO.3.1v1 with a Comment and a RemediationDate, then show me the diff of the YAML before saving.”
  • Omit or exclude: “Add an OmitPolicy entry with a Rationale and Expiration, or a CapExclusions entry for our emergency access group.” Only record exclusions and omissions that your risk process has approved, because they create blind spots.

Annotations take Comment, RemediationDate and IncorrectResult. Omissions take Rationale and Expiration. Keep the config in version control and have a human approve every change to it.

Running it every week

Step one is the unattended run on the Windows computer. Create a script, C:\Scuba\Run-Scuba.ps1. Put the organisation, app ID and thumbprint in your config file, with Organization, AppID and CertificateThumbprint as the keys, and protect that file:

Import-Module ScubaGear
Invoke-SCuBA -ConfigFilePath C:\Scuba\scuba-config.yaml `
  -OutPath "$env:USERPROFILE\OneDrive\Scuba\Results" -Quiet -SilenceBODWarnings

Then register a weekly task, here Monday at 5am, running as the user whose certificate store holds the certificate:

$action  = New-ScheduledTaskAction -Execute 'powershell.exe' -Argument '-NoProfile -ExecutionPolicy Bypass -File C:\Scuba\Run-Scuba.ps1'
$trigger = New-ScheduledTaskTrigger -Weekly -DaysOfWeek Monday -At 5:00am
Register-ScheduledTask -TaskName 'ScubaGear weekly' -Action $action -Trigger $trigger

The computer needs to be on and the task needs a test run before you trust it. Each run creates a new time-stamped folder under the output path, so history builds up by itself. Step two is the Grok Bot routine, set to run at 7am on Mondays in local time:

Every Monday at 7am Sydney time: look in the OneDrive folder Scuba\Results and find the two newest run folders. If the newest one is older than 24 hours, tell me the scheduled run may have failed and stop. Otherwise read both ScubaResults JSON files and the newest ActionPlan.csv, compare them, and summarise what newly failed, what was fixed and the current counts of passes and failures per product. Post the summary to the Security channel in Teams, or email secops@contoso.com if Teams is unavailable. Don’t change anything anywhere.

This keeps the supervised and unattended parts honest. The Windows task runs without you. The routine reads files and reports, and needs no approval on your computer. Anything that needs the Windows computer, such as checking certificate expiry with Get-ScubaGearAppCert, still asks you to approve it.

Troubleshooting

  • Module will not install or load: check you are in Windows PowerShell 5.1, not PowerShell 7.
  • OPA or MSAL missing: run Install-OPAforSCuBA or Install-MsalForScuBA.
  • Non-interactive sign-in fails: check AppID, CertificateThumbprint and Organization are all supplied, the certificate is in Cert:\CurrentUser\My for the task’s user, and run Get-ScubaGearAppPermission.
  • Wrong tenant: run Get-ScubaGearContext, and Disconnect-SCuBATenant before switching tenants.
  • Power Platform or Power BI errors: these need licences, a one-time registration or a tenant setting. See the product pages in the troubleshooting docs.
  • Old product names: defender is no longer a product name. Use securitysuite, and see the Defender to Security Suite transition guide.

ScubaGear or Maester?

I use both for different reasons. ScubaGear gives you the CISA baselines, with a formal exclusion and annotation model, but it only runs on Windows PowerShell 5.1. Maester runs on PowerShell 7.4 or later, including on Grok Bot’s own computer, so it is simpler to run unattended. They overlap but are not the same set of checks.

Wrap-up

ScubaGear is a strong baseline tool with a Windows requirement that shapes the whole design. Let a Windows computer and a scheduled task do the assessing, and let Grok Bot do the reading, comparing and reporting. Start with four read-only products and a human-approved config, and widen it when you trust the output.

Sources (checked 30 November 2026)

What Australian privacy law allows, and doesn’t, when you monitor a customer’s Microsoft 365 tenant

Documentary photograph of a closed ledger and a padlock on a timber desk, with a closed laptop in the background

If you monitor an Australian customer’s Microsoft 365 tenant, you are handling personal information. Sign-in logs carry names, usernames, locations and IP addresses. Device records in Intune or Entra show hardware and ownership details. Defender and Sentinel alerts can point at a mailbox, a Teams chat or a OneDrive file. Sometimes an investigation means you have to open the content itself.

A lot of MSPs treat that as a purely technical job. It is also a privacy job. The Privacy Act 1988 and the 13 Australian Privacy Principles sit over the work, whether you are reviewing risky sign-ins, triaging an alert, or helping a customer respond to a suspected breach. This post is about how that law actually applies, what you can do, and what you should not do. It is general information, not legal advice. If a job is finely balanced, get advice that fits the facts.

Who is accountable, and who is bound

The customer is usually the organisation that collected the information in the first place: staff, clients, suppliers and the people in the audit logs. If the Privacy Act covers that customer, it is the accountable APP entity. You are its service provider. You still handle the same personal information, and you are bound by the contract. If your own turnover is more than $3 million, or one of the exceptions below applies to you, you may also be an APP entity in your own right.

That split matters when something goes wrong. The customer cannot outsource its privacy obligations and forget about them. You cannot pretend the data is “theirs” and therefore none of your concern.

The small business exemption is still in force

This needs to be said plainly, because a lot of commentary has it wrong.

Most businesses with an annual turnover of $3 million or less are not covered by the Privacy Act. The exemption is in section 6D, and the OAIC’s small business guidance still describes it as current. It has not been repealed.

That does not mean every small MSP, or every small customer, is outside the Act. Regardless of turnover, the OAIC says the Privacy Act covers a business that is:

  • a health service provider
  • trading in personal information
  • a contractor providing services under a Commonwealth contract
  • an operator of a residential tenancy database
  • a credit reporting body
  • a reporting entity under the Anti-Money Laundering and Counter-Terrorism Financing Act 2006
  • an employee association registered or recognised under the Fair Work (Registered Organisations) Act 2009
  • a business that conducts protection action ballots
  • accredited under the Consumer Data Right system
  • related to a business the Privacy Act already covers
  • prescribed by the Privacy Regulation 2013
  • a business that has opted in

The OAIC checklist also covers some telecommunications data-retention providers. If you are not sure, use that checklist, or get advice. Do not assume a dentist, an accountant or a medical practice is “too small” to be covered.

What changed in 2025 and 2026, and what did not

From 1 July 2026, tranche 2 of the AML/CTF reforms made a new group of businesses into reporting entities. The OAIC lists real estate professionals, dealers in precious stones, metals and products, and professional service providers such as lawyers, conveyancers, accountants and trust and company service providers. Those firms are covered by the Privacy Act for the personal information they handle for AML/CTF obligations, even if their turnover is under $3 million. They are not automatically covered for every other activity unless another exception applies. That is still a large slice of a typical MSP book: the accountant, the conveyancer, the real estate agency.

A different date is being widely misread. From 10 December 2026, APP entities that use a computer program to make, or substantially and directly inform, a decision that could significantly affect a person’s rights or interests must disclose that automated decision-making in their privacy policy. That obligation comes from the Privacy and Other Legislation Amendment Act 2024. It is not the date the small business exemption ends.

Two other changes already apply more widely than the APPs. A statutory tort for serious invasions of privacy commenced on 10 June 2025. The OAIC says it is broader than the Privacy Act and extends to individuals and other entities that may not be APP entities. The elements are specific: a reasonable expectation of privacy, an intentional or reckless intrusion on seclusion or misuse of information, a serious invasion, and a public interest balance. It is not a blank cheque to sue over every log review, but it is a reason not to treat “we’re a small MSP” as a complete defence. Separately, doxxing is a criminal offence. The Criminal Code offences in sections 474.17C and 474.17D commenced on 11 December 2024, the day after the amending Act received Royal Assent, not on the same day as the tort.

There is also a draft bill, and it is only a draft. On 31 August 2026 the Attorney-General’s Department released an exposure draft of the Privacy Amendment (Personal Data Protection) Bill 2026. Consultation closed on 18 September 2026. The ministerial announcement describes a proposed “fair and reasonable” test and measures aimed at trading in personal information. Practitioner analyses, including Herbert Smith Freehills Kramer and Digital Advisors, note that the draft does not remove the small business exemption or the employee records exemption. The consultation page says the Bill remains subject to further consideration by government. It has no start date in the materials I have seen, and it has not been introduced to Parliament. Do not run a customer conversation as if that draft were already law.

The Notifiable Data Breaches scheme

If the Privacy Act covers an entity, the Notifiable Data Breaches scheme applies as well. A suspected eligible data breach must be assessed, and the entity must take all reasonable steps to finish that assessment within 30 calendar days. The OAIC treats 30 days as a maximum, not a target. An eligible breach is unauthorised access, disclosure or loss of personal information that is likely to cause serious harm, where remedial action has not removed that likely risk. If it is eligible, the entity must notify the OAIC and the affected people as soon as practicable, unless an exception applies.

In a typical MSP relationship, you are often the one who detects the incident: a mailbox compromise, a shared-link leak, a compromised admin account. The customer usually has the most direct relationship with the people affected. The OAIC says that where more than one entity holds the information, only one notification is required, and the entities decide who notifies. It suggests the entity with the most direct relationship should generally do it. That is usually the customer. It is not a reason for you to sit on the information, and it is not a reason for the customer to ignore you. Put the assessment and notification roles in the contract. Report a suspected breach to the customer promptly. Do not hide it, and do not quietly decide, on the customer’s behalf, that nobody needs to be told.

What you can do

You can monitor the tenant for the purpose you were engaged to perform, if that purpose is defined and the people affected have been told.

Picture a monthly security watch. You review Entra sign-in risk, Defender incidents, audit logs and configuration drift. You do not open mailboxes. The contract says that is the scope. The customer has told staff, in a privacy notice or an IT policy, that an MSP monitors sign-ins, devices and security alerts. That is the kind of arrangement APP 1 and APP 5 are aiming at: open handling, and a collection notice that is actually given.

You can investigate a suspected incident, looking only at what you need. If a risky sign-in is followed by a rule that forwards mail offsite, you may need to inspect that rule and the affected mailbox metadata, and perhaps a sample of messages, to contain the harm. You should not use the same incident as an excuse to browse the rest of the tenant.

You can keep logs and investigation files for an agreed retention period, then delete or de-identify them when they are no longer needed. That is the direction of APP 11.2. Agree the period in the contract. “We might need it one day” is not a retention policy.

You can use an offshore tool or an offshore SOC, but only with your eyes open. APP 8 does not ban overseas disclosure. It requires reasonable steps to ensure the overseas recipient does not breach the APPs, and, subject to exceptions, the Australian APP entity remains accountable for what that recipient does. The customer should know where the work is done, including any subcontractor or tool that will see tenant data. If you use a cloud assistant or a monitoring bot that processes data outside Australia, say so. I have written separately about what Grok Bot’s security model means for customer Microsoft 365 data and about Privacy Mode. Privacy Mode is a training setting, not an Australian residency setting. Do not tell a customer that a US-hosted tool keeps their data in Australia.

You can, and should, report a suspected breach to the customer as soon as you have enough to be useful, without waiting for a perfect report.

What you can’t, or shouldn’t, do

You should not open a staff mailbox, a Teams chat or a OneDrive library “just to check”, or for a purpose that was never agreed. APP 6 limits use and disclosure to the primary purpose of collection, or a related secondary purpose the person would reasonably expect, unless an exception applies. “We have Global Admin, so we can look” is not an exception.

You should not use customer tenant data for your own marketing or analytics, and you should not reuse one customer’s logs, exports or screenshots to help another customer. The information was collected for that customer’s security or operations, not for yours.

You should not hand tenant administration to a subcontractor or to offshore staff without the customer knowing, and you should not leave a standing Global Administrator relationship in place when a narrower permission would do. APP 11 is about taking reasonable steps to protect the information. In Microsoft 365 terms, that means granular delegated admin privileges, multifactor authentication, and least privilege, not a permanent Global Admin login shared around the service desk.

You should not keep PSTs, audit exports, mailbox samples or screenshots after the job is finished. If you needed them to close an incident, retain them for the agreed period, then delete them. A folder of old customer exports on a laptop is a breach waiting for a name.

You should not decide the customer’s notification for them, and you should not hide a breach because it is embarrassing or because you hope it will blow over.

You should not ignore state and territory workplace surveillance laws. They are separate from the Privacy Act, and they are not the same in every jurisdiction. In New South Wales, the Workplace Surveillance Act 2005 requires an employer to give written notice, generally at least 14 days, before computer surveillance of an employee starts, unless the employee agrees to less notice. There are extra requirements for a computer surveillance policy. If you are monitoring mail, web or device activity of staff in NSW, the customer needs to have done that notice properly. Check the equivalent rules where the staff actually work.

What I would put in the contract, and in daily practice

Write the scope down. Say what you will monitor, what you will not open, where the data may be processed, how long you will keep it, and how quickly you will escalate a suspected breach. Say who completes the NDB assessment and who notifies the OAIC and affected people if notification is required.

Have the customer tell their staff. A privacy policy that never mentions the MSP, or an IT policy that staff have never seen, is a weak foundation for ongoing sign-in and device monitoring.

Log your own access to customer data. If you cannot show who looked at what, and why, you will struggle to defend the access later.

Apply the same discipline to every customer, including the small ones. The statutory tort is not limited to APP entities. Many smaller firms are now covered for at least their AML/CTF handling. The safest operating model is one standard of least privilege, retention, logging and breach escalation, used everywhere, not a looser practice for “the small accounts”.

And say the quiet part in the first meeting: monitoring a tenant is not a licence to read people’s mail. It is a defined security function, with a defined purpose, a defined retention period, and a defined way to raise a hand when something looks wrong.

This article is general information about Australian privacy law as it stood when it was written. It is not legal advice, and it is not a substitute for advice on a particular contract, incident or customer.