Defender for Cloud Apps
AI App Discovery and Governance
Discover shadow AI and LLM applications across the organization with Defender for Cloud Apps. Assess AI app risk scores, configure session policies for AI tools, and monitor sensitive data shared with AI services.
Where it fits: lab 4 of 6
Discover and control cloud apps with Defender for Cloud Apps. Find shadow IT and AI apps, connect SaaS apps, control sessions, investigate risky OAuth apps and apply cloud DLP.
- Set Up Cloud Discovery & Shadow IT Analysis 75 min
- Deploy App Connectors & Session Controls 90 min
- Investigate Risky OAuth Apps & Service Accounts 100 min
- AI App Discovery and Governance 120 min
- Implement Cloud DLP Across SaaS Applications 2.5 h
- MDA Cloud App Discovery Dashboard 3 h
What this lab covers
This lab covers AI App Governance using Microsoft Defender for Cloud Apps. the practice of discovering, assessing, and controlling AI and large language model (LLM) applications across your organization. With the rapid adoption of generative AI, employees often use tools like ChatGPT , Google Gemini , Claude , and dozens of other AI services without IT approval. creating shadow AI risks. You will learn how to use Cloud Discovery to identify AI app usage, assess risk scores based on data handling and compliance posture, enforce session policies with Conditional Access App Control to block sensitive data uploads to AI services in real time, and build governance policies that balance productivity with data protection.
What you will learn
- Discover AI and LLM applications in Cloud Discovery logs
- Identify shadow AI usage: ChatGPT, Gemini, Claude, Midjourney, etc.
- Assess AI app risk scores based on data handling and compliance
- Create app policies to sanction or unsanction AI applications
- Configure session policies with Conditional Access App Control for AI tools
- Monitor data uploads to AI services in real-time
- Block paste of sensitive data into AI chat interfaces
- Create DLP policies scoped to AI application categories
Before you start
- Microsoft 365 E5 or E5 Security licence
- Microsoft Defender for Cloud Apps licence
- Conditional Access licensing (included in Entra ID P1/P2)
- Cloud Discovery configured with log collectors or Defender for Endpoint integration
- Test user accounts in a pilot group for session policy testing
- Navigate to Entra ID > Conditional Access > + New policy
- Name: CA-AI-Session-Control
- Users: All users (or a pilot group)
The 15 steps
- Discover AI Applications
- Assess and Categorize AI Apps
- Configure Session Policies for AI Tools
- Monitor Data Uploads in Real-Time
- Block Paste of Sensitive Data into AI Chats
- Create DLP Policies for AI Applications
- Set Up Alerts for Bulk Data Transfers
- Integrate with Insider Risk Management
- Build an AI App Usage Dashboard
- Configure Governance Policies for Approved AI Tools
- Monitor API-Based AI Integrations and OAuth
- Create AI App Compliance Reports
- Build an Approved AI App Catalogue
- Implement Ongoing AI Governance
- Build an Enterprise AI Governance Framework
Related labs
Agentic Security Lab: Assess, Harden, Prove and Operate
Run a read-only assessment, get a report and an implementation guide, then harden identity, apps, agents, endpoints, email, data, AI and the SOC step by step, prove each control and operate it with an agent team in your own cloud.
Prompt Injection: End-to-End Concept and Live Demo
Understand direct and indirect prompt injection (OWASP LLM01), run a client-side attack simulator against a mock agent, and build a defense in depth with Prompt Shields, spotlighting, Defender for Office 365 and Sentinel detections.