5 ways to detect shadow AI in Microsoft 365 and how to stop it

Your people are pasting company data into AI tools you don’t manage, often through personal accounts you can’t see. Microsoft 365 already gives you the tools to find out which AI apps are in use and who’s using them, then to stop sensitive content leaving. Getting it under control also needs your comms team, because a block with no sanctioned alternative just pushes people somewhere harder to see.

It’s mid-afternoon and someone in finance has a proposal to finish before a client call. Their personal Gmail is already open in another browser tab. Thirty seconds later they’ve signed in to a free AI assistant with it and uploaded the draft, client names and pricing included.

Nothing flags it. There’s no ticket and no alert, and the file now sits on a service your organization never vetted, under an account you have no view into. If that person moves to a competitor next year, the conversation history goes with them.

Nobody in that story is acting maliciously. They wanted to get the job done faster.

Some version of it is playing out in almost every organization right now, including yours.

What shadow AI looks like in your organization today

Shadow AI is any AI tool people use for work that IT hasn’t approved or can’t govern. It turns up in far more places than the big chat assistants:

  • Personal accounts on the big assistants. People sign in to ChatGPT, Claude, Gemini and their rivals with personal credentials, completely outside your policy scope and out of your view. Signing up with a work email still creates a personal account you don’t control.
  • Copy and paste. Most data doesn’t leave as a file. People paste contract clauses and customer emails straight into a prompt, which leaves nothing behind for you to scan.
  • AI inside everything else. Writing assistants, meeting note-takers, transcription apps and coding tools all send content to AI services. Microsoft’s cloud app catalog now lists more than a thousand generative AI apps, and the number grows as SaaS vendors add AI to existing products.
  • Personal AI connected to work data. Some assistants offer connectors that read email and files in Microsoft 365. If your tenant lets users consent to apps themselves, an employee can give a personal AI account access to everything they can open.
  • Apps people build themselves. Vibe-coding tools let anyone create an app by describing it, often wired to company data with credentials that were never meant to leave IT’s hands.
  • AI agents installed on devices. Local agents such as OpenClaw run on the laptop itself and can work through files and folders without going near a browser.

Why shadow AI puts company data beyond IT’s reach

When company data goes into an unmanaged AI tool, none of the protections you’ve built in Microsoft 365 follow it. Sensitivity labels and data loss prevention policies stop at the edge of your tenant.

Some consumer AI services use what people upload to train future models unless the user opts out, so confidential material can end up in training data. Many client contracts forbid moving data outside agreed systems, so a single paste can put you in breach. And the data stays in the personal account after the person has gone.

Incidents like these are already landing on IT’s desk. In one, an account manager who had been pasting client documents and competitive information into a personal AI account left for a competitor, and the company had to go through a legal process to deal with the data that left with them. In another, employees building their own apps with vibe-coding tools had admin credentials stolen, and client data leaked as a result.

Why blocking AI tools on day one backfires

Blocking ChatGPT or Claude at the DNS filter feels like the quick fix. In practice, people who’ve found a tool that saves them hours will find another way to reach it, usually a less safe one: a personal phone or laptop, or files copied to a USB stick and worked on at home. You lose sight of the activity and the data still leaves.

We made a related point in our Copilot tenant checks piece: over-restriction pushes people toward consumer tools, where you can’t see what they’re doing at all.

Get visibility first. Then give people a sanctioned way to get the same benefit before you start closing the other doors.

Before you start: get your devices reporting to Microsoft Defender

Most shadow AI detection in Microsoft 365 relies on telemetry from managed devices. Devices need to be enrolled in Intune and onboarded to Microsoft Defender for Endpoint, or to Defender for Business if you’re on Microsoft 365 Business Premium. Once they are, Defender reports which cloud apps each device talks to, with no extra agent or browser extension to deploy and no policy to write first.

Unenrolled devices are invisible to this reporting, so a mixed estate gives you a partial picture. Audit enrollment before you trust the numbers. Licensing also decides how far you can go, and the license section later in this piece sets out which capabilities typically need more than a base plan.

5 ways to detect shadow AI with Microsoft 365

1. See every AI web app in use with Defender for Cloud Apps

Cloud Discovery in Defender for Cloud Apps shows every cloud app your managed devices connect to, and it has a dedicated Generative AI category. In the Microsoft Defender portal (security.microsoft.com), go to Cloud apps > Cloud discovery > Discovered apps and filter the category to Generative AI.

You’ll see each AI app with its user count and a risk score out of 10 based on its security and compliance posture. Open an app to see which users and devices are using it, and how much data they’ve uploaded and downloaded. Upload volume is a loose indicator, but one person sending gigabytes to an AI service is worth a conversation.

The risk score helps you separate the tools. The major AI vendors publish independent security audits such as SOC 2 reports, while many smaller image generators and vibe-coding platforms offer far less assurance.

This report also settles the “nobody here does that” debate. Organizations that assume a Copilot rollout has kept everyone on sanctioned tools usually find a sizeable share of users on ChatGPT and Claude.

2. Check which AI apps people have connected to Microsoft 365 data

When someone connects a third-party AI app to their work account, they grant it permission to read their mail and files. Those grants show up in the Microsoft Entra admin center under Enterprise applications, and in App governance in the Defender portal if you have it. Look for AI tools that users, rather than admins, have consented to, and check what each one can read.

3. See what sensitive data is going into AI sites with Microsoft Purview

Microsoft Purview’s Data Security Posture Management (DSPM) for AI shows when users send sensitive information to supported third-party AI sites such as ChatGPT and Gemini. It offers one-click policies to start collecting that data, and it needs the Purview browser extension and devices onboarded to Purview. Microsoft’s DSPM for AI documentation covers setup.

This is the evidence that turns a usage report into a risk conversation with the business: which departments are pasting customer or financial data, and into which tools.

4. Find AI agents installed on devices with the Shadow AI page

Web traffic reporting misses AI agents installed on the device itself. The Shadow AI page in the Microsoft 365 admin center (Agents > Shadow AI) detects them on Intune-managed Windows devices. It’s in preview through Microsoft’s Frontier program, and it currently focuses on OpenClaw, an agent that can manipulate local files on someone’s behalf, with support for more tools planned.

To use it, opt your tenant in to Microsoft’s Frontier program in the Microsoft 365 admin center and choose which users or groups get access.

5. Get alerted when a new AI app appears

A one-off shadow AI report goes stale fast, because new AI tools appear every week. In Defender for Cloud Apps you can create a discovery policy that alerts you when a new app in the Generative AI category shows up on your network.

Cloud Discovery doesn’t keep data indefinitely, so export a baseline each quarter and fold the review into your regular reporting to the business. Otherwise last quarter’s evidence can disappear before anyone acts on it.

What Microsoft’s shadow AI detection can’t tell you

Microsoft’s detection tools report on activity and block nothing on their own. They also see traffic by website, so they can’t tell a personal ChatGPT or Claude account from a corporate one on the same domain. When someone uses claude.ai from a managed device, data is still leaving, even though you can’t see whose account it’s going into. Keep that framing when you present the findings.

How to stop shadow AI

Decide which AI tools people are allowed to use

Many organizations haven’t yet decided which AI tools are sanctioned, so nobody knows what “compliant” looks like. Make that decision first, using your discovery data. If most of a department already relies on one tool, that’s demand you can channel.

Microsoft 365 Copilot is the natural first option for most Microsoft 365 organizations. It works inside your tenant with the permissions you’ve already set, and it now offers both OpenAI and Anthropic models. If the business decides it needs ChatGPT, Claude or another tool as well, buy corporate accounts and connect them to Microsoft Entra ID for single sign-on. Where the vendor offers it, use its admin controls to stop staff creating personal accounts with work email. Check that the plan you choose doesn’t use your data to train its models.

People building their own apps with AI need a sanctioned route too. Send us your AI-built prototypes and we’ll turn them into apps that run properly in Microsoft 365, which gives would-be vibe coders somewhere safe to land.

Bring in your comms team to explain the risks of personal AI

Technical controls catch some leaks. People who understand the risk stop most of them before they start, and that makes this a job for IT and your internal communications team together.

These are the points to plan with them:

  • Start with why. Explain what happens to data pasted into a personal AI account: it leaves the company’s protections, it may be used to train the model, it can break client contracts, and it stays with the person after they leave.
  • Make the sanctioned tool the easy option. Tell people which tools they can use, how to get access and how to request a new one. Pair every restriction with the alternative.
  • Use your own data, without naming names. “Half of finance used a personal AI tool last month” lands harder than a generic warning. Share figures by team, never by individual.
  • Put it in writing. An AI acceptable use policy that everyone signs sets the expectation and gives managers something to point to, even though it can’t stop anyone technically.
  • Teach people to get results from the sanctioned tool. If Copilot feels worse than the tool they were using, people drift back. Practical prompting training and role-based examples keep them there.
  • Warn before you block. Tell people before new controls switch on, and start with warnings rather than hard blocks. A DLP warning at the moment someone pastes is the most timely training you’ll ever deliver.
  • Keep saying it. A single all-staff email fades within a week. Build the message into onboarding, manager briefings and your quarterly discovery review.

Lock down data with Microsoft 365’s built-in tools

Once people know the rules and have a sanctioned tool, tighten the controls in Microsoft 365. Several of these use licensing you may already hold, and the license section below flags which need more.

  • Stop users connecting AI apps to company data. In the Microsoft Entra admin center, go to Enterprise applications > Consent and permissions and select Do not allow user consent. Turn on the admin consent workflow so requests come to IT for review instead of hitting a dead end. Under user settings, switch off the option that lets users register applications. Microsoft’s guide to configuring user consent explains the options.
  • Label the content that would hurt most if it got out. Apply Microsoft Purview sensitivity labels to your most confidential material first, such as client contracts and HR files. Labels help your DLP policies recognize what matters, and you don’t need to label everything on day one.
  • Warn on or block sensitive data heading to AI sites with Purview DLP. Endpoint data loss prevention can warn on or block pasting and uploading sensitive content into AI websites from managed devices. Put AI sites into a sensitive service domain group, then build a rule around the paste and upload activities. Run it in audit mode first, move to block with override once you understand the patterns, and save hard blocks for your most sensitive data.
  • Unsanction AI apps you’ve decided against. In Defender for Cloud Apps, marking an app as unsanctioned blocks it on devices onboarded to Defender for Endpoint. You can choose to warn and educate users instead of blocking outright.
  • Block unapproved local agents. From the Shadow AI page in the Microsoft 365 admin center, apply the Intune policy that blocks the agent on managed Windows devices. Underneath that, run people as standard users rather than local administrators, so they can’t install executables in the first place.
  • Shrink what a careless paste can expose. People can only paste what they can open. The oversharing fixes in our Copilot tenant checks, such as closing down sites shared with everyone and giving sensitive sites named owners, limit how much any one account can leak. We cover the SharePoint side in Copilot in SharePoint Can See Everything Your Users Can.

What your Microsoft 365 license covers for shadow AI, and when you need more

Which of these tools you can use depends on your Microsoft 365 plan and any add-ons you hold, and Microsoft changes what sits where often. Treat this list as a starting point, and check your own licenses against Microsoft’s security and compliance licensing guidance before you plan any of this work.

As a rough rule, seeing shadow AI costs less than controlling it:

  • Seeing which AI apps are in use: Microsoft includes Cloud App Discovery, a discovery-only version of Defender for Cloud Apps, with some plans, including Microsoft 365 E3. What each plan can collect from devices varies, so confirm what yours covers before you rely on the reports.
  • Blocking AI apps: generally needs full Defender for Cloud Apps, either as part of a higher-tier plan or as an add-on.
  • Consent settings: managed in Microsoft Entra ID and available to Microsoft 365 tenants.
  • Sensitivity labels: basic labeling through Purview is part of several business and enterprise plans.
  • Endpoint DLP and DSPM for AI on third-party AI sites: generally need higher-tier compliance licensing, and some features use pay-as-you-go billing.
  • The Shadow AI page: a preview feature available through Microsoft’s Frontier program.

If you work in a regulated industry, or need insider risk management or a full audit trail of AI prompts, expect to need higher-tier licensing, Purview add-ons or a specialist security partner.

Your next move

Shadow AI is a sign your people want AI help with their work. Give them a version you can see and govern, and make it good enough that they stop reaching for personal accounts.

Cloudwell’s Copilot Enablement Program helps you do that. We start by checking what Copilot can reach in your tenant, then train your teams with role-based use cases and our prompting framework so the sanctioned option earns its place. If what you find calls for specialist security work, we’ll tell you and point you to the right people.

Further reading

FAQs

We run another vendor’s endpoint protection. Do we have to replace it to get this data?

No. Defender for Endpoint can run in passive mode alongside another endpoint detection and response tool and still report cloud app traffic. Test on a few pilot machines first, and don’t enforce Defender’s attack surface reduction rules while the other tool is active.

Some of our devices aren’t managed. Can we see anything from them?

Not through device telemetry. You can upload logs from your firewall or proxy to Cloud Discovery to cover traffic on your network, but a personal laptop on home broadband stays invisible. That gap is the strongest argument for bringing more devices into Intune.

Who should own shadow AI, IT or the business?

Both. IT owns discovery and the controls. HR and legal own the acceptable use policy, your comms team owns the message, and department heads decide which tools their teams need. If nobody on the business side takes on that decision, IT ends up blocking tools it doesn’t understand.

How often should we rerun the shadow AI report?

Quarterly at a minimum, with an exported baseline each time so you can compare quarters. Alerts on newly discovered AI apps cover the weeks in between.

PRODUCT DEMO

See Cloudwell products in action

Choose a time to explore our Microsoft 365 apps and discuss your team’s needs.

LET’S TALK

Let’s talk about your next project

Choose a time to discuss your goals, explore your options, and find a practical next step.