Find Your Shadow AI Before You Write the Policy
Write your AI policy from facts: how Microsoft's shadow AI model finds AI apps first, then blocks, protects data and keeps a record. Plus a first-month plan.

Most AI policies are written before anyone checks which AI tools staff already use. The result is a policy that names the tools nobody uses and misses the ones that matter. Microsoft's own guidance starts the other way round. Its Purview deployment model for shadow AI begins with discovery, and blocking comes later.
This post walks through that model in plain terms: what to look at first, what to decide, and what a sensible first month looks like in a Microsoft 365 tenant.
What Microsoft means by shadow AI
Microsoft defines shadow AI as the use of AI tools, especially generative AI, without the knowledge, approval or governance of the organization's IT or security teams. It lists three risks if nothing is done: leaks of sensitive information, noncompliance with regulations, and reputational harm (Prevent data leak to shadow AI).
None of this means staff are doing anything malicious. Most people who paste a document into a public chatbot are trying to get their work done faster. The goal is to give them a safe way to do that, not to catch them out.
The four steps Microsoft publishes
The deployment model uses Microsoft Purview, Microsoft Defender for Cloud Apps, Microsoft Entra and Microsoft Intune, in four steps:
- Discover AI apps: find out which AI apps are in use, by whom, and whether sensitive data is involved.
- Block unsanctioned AI apps: restrict access at the organization, user and device level.
- Protect data going to sanctioned apps: stop sensitive content from being pasted, uploaded or typed into approved tools.
- Govern AI interactions: audit, retain and investigate prompts and responses.
The order is the point. Microsoft describes step 1 as discovery and monitoring "before taking any blocking actions."
Step 1: Find what is already in use
Three sources give you the picture (Step 1: Discover AI apps):
- Defender for Cloud Apps. Filter the Cloud app catalog by the Generative AI category, review each app's risk score and usage, and tag apps as Sanctioned or Unsanctioned. The cloud discovery dashboard shows usage trends, which helps you decide what to deal with first. You can also create a policy that keeps discovering new AI apps against criteria you set, such as risk score or users per day (Discover AI apps and the data they use).
- Purview Data Security Posture Management (DSPM) for AI. Its reports and activity explorer show user interactions with AI apps and whether sensitive data is being sent. Endpoint DLP and Browser Data Security in Microsoft Edge can be set to detect sensitive information pasted, uploaded or typed into AI sites.
- Insider Risk Management. It can flag visits to AI sites and higher-risk activity, such as uploading sensitive content to an unsanctioned service.
What you want at the end of this step is a short, factual list: which AI apps people use, how many people use each one, and which ones see sensitive data. That list is what your policy should be written against.
Step 2: Decide, then block
With the list in hand, the business can decide which tools to approve. Then the controls follow (Step 2: Block access to unsanctioned AI apps):
- Organization-wide: mark apps as Unsanctioned in Defender for Cloud Apps. With the Microsoft Defender for Endpoint integration, that block also applies on onboarded devices (Manage generative AI apps). Microsoft notes this covers managed network connections only. Users can still reach those apps from unmanaged devices or personal networks, which is why the next controls exist.
- Users and groups: Microsoft Entra Internet Access can allow limited access to some AI apps for some groups and restrict others. Combined with Adaptive Protection and Conditional Access, users that Insider Risk Management rates as high risk can be restricted automatically.
- Devices: Intune can block installation of unsanctioned AI apps on managed devices. If you have already looked at app control, our post on why blocking the Microsoft Store isn't enough covers the same gap from the device side.
Step 3: Protect what goes into approved tools
Approving a tool doesn't mean any data can go into it. Microsoft's step 3 covers that (Step 3: Block sensitive data going to sanctioned AI apps):
- Sensitivity labels with encryption. Other AI apps can't decrypt content encrypted by Purview, so a labelled file pasted or uploaded into one can't be processed. Microsoft calls this one of the most effective protections.
- Endpoint DLP. A device policy can block paste, upload or copy of sensitive information to AI websites. Microsoft recommends running it in simulation mode first and using the DLP activity explorer to tune out false positives.
- Microsoft Edge. DLP for Edge can block sensitive text in prompts sent to consumer AI apps, and Microsoft names ChatGPT (consumer), Microsoft Copilot (consumer), DeepSeek and Google Gemini.
- Other browsers and apps. Network Data Security extends detection to non-Microsoft browsers, apps, APIs and add-ins.
Step 4: Keep a record you can use
The last step is governance over time (Step 4: Govern data sent to AI apps). Purview Audit captures AI interactions. Microsoft says audit logging is typically on by default, but confirm it rather than assume. Communication Compliance can flag inappropriate prompts, retention policies can keep or delete AI interactions to your own schedule, and eDiscovery can search, hold and export prompts and responses for an investigation.
Now write the policy
Once discovery has run for a few weeks, the policy almost writes itself, because it rests on facts rather than guesses:
- the list of approved AI tools, and what each is approved for
- which data classes (by sensitivity label) may and may not go into them
- who approves a new tool, and how quickly
- how exceptions are requested and reviewed
- how often the discovery list is reviewed, so new tools don't pile up unnoticed
A policy that people can follow, with a fast route to approval, does more to reduce shadow AI than a long list of bans. Blocking without an approved alternative tends to push usage onto personal devices, where you can't see it at all.
Two practical notes. First, several of these capabilities depend on specific Microsoft 365, Purview or Entra licences, so check what you already own before you plan; our Microsoft 365 renewal checklist helps with that. Second, if Copilot is part of the plan, the same groundwork on oversharing applies, as we covered in Governance: The Final Step Between Illusion and Impact and Copilot Is Already at Work. Start With a Conversation.
A calm first month
- Week 1: turn on cloud discovery and confirm Purview Audit is active. Change nothing for users.
- Week 2: review the Generative AI list with business owners. Agree what is useful and what is risky.
- Week 3: tag apps as Sanctioned or Unsanctioned and publish the approved list with the first version of the policy.
- Week 4: start Endpoint DLP and Edge prompt policies in simulation, review the results, then enforce in stages.
Shadow AI is also a demand signal: it shows where people want help. Our Security Governance practice runs this kind of discovery and policy work in Microsoft 365 tenants. If you want a second set of eyes on yours, talk to our team.
Subscribe for the field notes
Join our community of 100+ IT professionals and get tech tips and BITSUMMIT updates once a month.



