Shadow AI App Discovery
TL;DR: This skill ranks unsanctioned generative AI apps using Microsoft Defender for Cloud Apps cloud discovery and Microsoft Purview DSPM for AI reports, scoring each by user count, data uploads and DLP-detected sensitive information. It is read-only and recommends a sanction, monitor or block disposition.
How does the Shadow AI App Discovery skill surface unsanctioned generative AI tooling?
This skill surfaces the generative AI applications in use across the organisation that sit outside the sanctioned application catalogue. It combines Microsoft Defender for Cloud Apps cloud discovery with Microsoft Purview Data Security Posture Management (DSPM) for AI reporting, then applies EDUC4TE’s own weighting to produce a ranked list with a recommended disposition.
Microsoft’s own guidance puts discovery first: understanding which AI apps are used, who uses them and whether sensitive data is shared is the step that precedes any blocking action, and Defender for Cloud Apps provides a risk assessment for each discovered app to help decide whether to sanction or unsanction it. Defender for Cloud Apps scores apps in its Cloud app catalog of over 31,000 discoverable cloud apps against more than 90 risk factors across general, security, compliance and legal categories.
Discovery of this Agentic AI exposure is what makes a later governance decision defensible. The skill itself takes no governance action.
When should you run this skill?
- “Find unapproved AI apps”
- “Audit shadow AI usage in the tenant”
- “Rank generative AI apps by risk”
- “Prepare a shadow AI brief for the security committee”
How this skill works, step by step
- In the Microsoft Defender portal, open Cloud apps > Cloud app catalog and filter by App category > Generative AI to identify the AI apps in use. AI - Model Provider and AI - MCP Server are separate catalogue categories and are worth reviewing in the same pass.
- In Cloud apps > Cloud discovery > Discovered apps, read the App tag filter to separate apps already tagged Sanctioned or Unsanctioned from apps with no tag.
- For each untagged or unsanctioned app, capture the usage figures the Discovered apps advanced filters expose: number of Users, number of data uploads, and Transactions (one log line of usage between two devices), together with the Defender for Cloud Apps Risk score.
- In the Microsoft Purview portal, open Solutions > DSPM for AI (classic) > Reports and select Other AI apps to read sensitive-interaction and Insider Risk severity figures per AI app. Sensitive-data detection here comes from Microsoft Purview data classification and DLP policies, not from Defender for Cloud Apps discovery data.
- Apply the EDUC4TE sensitivity tiers and risk bands described below to produce a recommended disposition.
- Produce the ranked table below and hand it to the application owner and the security committee for the governance decision.
How EDUC4TE scores and bands shadow AI risk
The composite score, the sensitivity tiers and the Sanction / Monitor / Block bands in this skill are EDUC4TE’s method, not Microsoft thresholds. Microsoft Learn documents the Defender for Cloud Apps risk score and three built-in app tags: Sanctioned, Unsanctioned and Monitored. It does not define a composite shadow AI score or an EDUC4TE-style Sanction/Monitor/Block band. The built-in Monitored tag is not a neutral label: Learn documents it as syncing to Microsoft Defender for Endpoint and triggering an end-user warning page when the app is accessed, so applying it is itself a governance action, not just a record of this skill’s finding. Where the review calls for a label without that side effect, use a Defender for Cloud Apps custom app tag instead, created under Settings > Cloud Apps > Cloud Discovery > App tags.
EDUC4TE sensitivity tiers, derived from the DSPM for AI activity explorer events available for each app:
| EDUC4TE tier | Signal observed in DSPM for AI |
|---|---|
| Tier 3 | A DLP rule match was recorded for interactions with the app |
| Tier 2 | Sensitive info types were detected, with no DLP rule match |
| Tier 1 | AI website visits or interactions only, with no sensitive information detected |
EDUC4TE disposition bands:
| EDUC4TE band | Condition | Recommendation |
|---|---|---|
| High | Tier 3, or a low Defender risk score | Block |
| Medium | Tier 2, or a mid-range Defender risk score | Monitor |
| Low | Tier 1, a high Defender risk score, and broad legitimate usage | Sanction |
Read the Defender risk score in the direction Microsoft’s own examples use: a suggested query for risky, non-compliant cloud storage apps filters for a risk score of 5 or lower, and an app the organisation trusts can be overridden upwards (the Learn example raises a score of 8 to 10). Set the exact cut-offs with the organisation before the first run, and record them alongside the output so the ranking is reproducible.
Output format
| App | Vendor | Users | Data uploads | Sensitivity tier | Defender risk score | EDUC4TE band | Recommendation |
|---|---|---|---|---|---|---|---|
| Example AI Writer | Example Vendor Pty Ltd | 148 | 1,920 | Tier 3 | 4 | High | Block |
| Example AI Notetaker | Example Vendor Inc | 36 | 210 | Tier 1 | 8 | Low | Sanction |
The two rows above are illustrative sample values only — they are not Microsoft data, benchmark figures or expected results.
Followed by a summary:
- Unsanctioned apps detected: N
- Apps recommended for block: N
- Apps recommended for sanction: N
- Users affected by block recommendations: N
Scope and safety
This skill is read-only. It reads the Defender for Cloud Apps cloud discovery and catalogue views and the DSPM for AI reports, and writes nothing: it issues no sanction or unsanction tag, creates no app tag, generates no block script and changes no policy. A Block row in the output is a recommendation for a human to action, not an action taken.
This skill does NOT:
- Tag, sanction, unsanction or block any app
- Inspect user prompt or response content (that needs separate content-viewer permissions — see below)
- Replace a formal vendor risk assessment
Licensing and permissions
Licences and add-ons
| Capability used | Licence position documented by Microsoft |
|---|---|
| Defender for Cloud Apps cloud discovery and cloud app catalogue | Microsoft Defender for Cloud Apps, available as a standalone licence and as part of Enterprise Mobility + Security E5; Microsoft 365 E5/A5/G5; Microsoft Defender Suite/EDU/GOV/FLW; Microsoft Purview Suite/EDU/GOV/FLW; Microsoft Defender + Purview Suite FLW; and Microsoft 365 E5/F5/G5 Information Protection and Governance |
| Microsoft Purview DSPM for AI coverage of third-party AI apps | The Microsoft Purview service description points licensing questions for DSPM for AI to its considerations page, which does not name a separate base licence for DSPM for AI itself. For AI apps other than Microsoft 365 Copilot and Microsoft Facilitator, pay-as-you-go billing is the stated prerequisite instead |
Note on naming: Microsoft labels the solution used here DSPM for AI (classic) and states it is now replaced by a new version of Data Security Posture Management. Use the classic naming in evidence packs until the tenant is moved across, and confirm which version the portal presents before quoting a report.
Prerequisites for the sensitive-data signals
The per-app sensitive-data figures in step 4 do not exist without the Purview plumbing behind them. Microsoft lists sensitivity labels as not supported for interactions with third-party AI sites, so do not expect a label join for shadow AI apps — the signal is sensitive information types and DLP rule matches. Prerequisites:
- The Microsoft Purview browser extension deployed to Windows users
- Devices onboarded to Microsoft Purview, for visibility into sensitive information shared with third-party generative AI sites and for endpoint DLP policies
- An Edge configuration policy to activate the Microsoft Purview integration in Microsoft Edge, where DLP policies are applied to AI apps in Edge
- Alternatively, browser data security (Edge browser layer) or network data security (via a Secure Access Service Edge or Security Service Edge integration) to detect sensitive information types without the extension-and-endpoint path
- Microsoft Purview auditing enabled, for monitoring interactions with Microsoft 365 Copilot and agents
Least-privilege roles
Two separate read-only grants are needed, one per portal.
| Scope | Read-only role documented by Microsoft | Notes |
|---|---|---|
| Defender for Cloud Apps discovery data | Security reader (Microsoft Entra role, also available as a Defender for Cloud Apps built-in role under Permissions > Cloud Apps > Roles) | Has read-only permissions and can access discovered apps, the cloud app catalogue and other cloud discovery data. Explicitly cannot perform governance actions or ban/approve non-Microsoft apps |
| Purview DSPM for AI (classic) | Microsoft Purview Security Reader role group, the Purview Data Security AI Viewer role, or the Microsoft Entra AI Administrator role | Microsoft lists these as the view-only options for DSPM for AI. View-only roles cannot complete the getting-started or recommendation actions, and do not see insider risk management or communication compliance policies in the policy list |
Deliberately not used:
- Global Reader grants full read-only access to all aspects of Defender for Cloud Apps and will work, but it is far broader than this skill needs; treat it as a fallback only. Microsoft’s own guidance in the same article is to use the roles with the fewest permissions.
- Compliance Administrator, Compliance Data Administrator and Security Administrator all reach this data, but each carries write capability (policy creation, file governance actions, or full access), so none of them is the least-privilege option for a read-only review.
- Reading the prompts and responses inside AI Interaction events needs the Content Explorer Content Viewer or Microsoft Purview Data Security AI Content Viewer role. This skill does not inspect prompt content, so do not request either role for it.
Microsoft Graph permissions
No Microsoft Graph scope is required. Every step in this skill is performed in the Microsoft Defender portal and the Microsoft Purview portal against role-based read access, as set out above. Defender for Cloud Apps does expose APIs — Microsoft documents using them to generate a block script for unsanctioned apps — but that is a write path this skill does not take.
Related skills
- Cloud App Risk Catalogue Review: run before this to confirm in-use apps have acceptable risk scores and correct sanctioned tags
- DSPM for AI Remediation: run after this to turn a DSPM for AI risk assessment into an owner-assigned checklist
- Purview AI Activity Explorer: run after this to surface AI interactions in the Purview activity explorer
- Copilot Studio DLP Gap Check: pair with this to consolidate internal and external AI exposure
- Agent 365 Registry and Shadow AI Discovery: run alongside this to compare registered Agent 365 agents with unmanaged agents on endpoints
- Governing Microsoft 365 Copilot with Microsoft Purview: pillar page for the Purview controls documented for Microsoft 365 Copilot
Sources
- Step 1: Discover AI apps (Microsoft Purview deployment model: prevent data leak to shadow AI)
- View discovered apps with the Cloud discovery dashboard
- Filter and query discovered apps in Microsoft Defender for Cloud Apps
- Find your cloud app and calculate risk scores
- Govern discovered apps in Microsoft Defender for Cloud Apps
- Configure admin access in Defender for Cloud Apps
- Use Microsoft Purview to manage data security and compliance for other AI apps
- Considerations for DSPM for AI (classic)
- Permissions for Data Security Posture Management for AI (classic)
- Microsoft Defender service description: Microsoft Defender for Cloud Apps
- Microsoft Purview service description
- Considerations for DSPM for AI to manage data security and compliance protections for AI interactions (classic)
Licensed under CC BY 4.0 by EDUC4TE .
SKILL.md— paste into Microsoft 365 Copilot or ClaudeDownload▸ View skill file▾ Hide skill file
How to use this skill
- Get the file. Download or copy the
SKILL.mdfrom the SKILL.md panel on this page. - Load it into your host:
- Microsoft 365 Copilot / Copilot Studio — add it as the instructions of a declarative agent or Copilot Studio agent.
- Claude (Cowork / Claude Code) — drop the file into your skills folder; it loads as an Agent Skill automatically.
- Any chat host — paste the file contents as your prompt.
- Grant read-only access. Assign the least-privilege roles and Microsoft Graph scopes listed in Licensing and permissions section of this article.
- Provide your tenant scope and run it (a site, a collection, or the whole tenant).
- Review the report and action the risk-ranked recommendations.
This skill is read-only by default — it inspects and reports, and never changes your tenant.
Last reviewed 2026-10-06 · Published 2026-06-02