Defender for Cloud Apps
Set Up Cloud Discovery & Shadow IT Analysis
Configure Cloud Discovery in Microsoft Defender for Cloud Apps to gain full visibility into shadow IT usage across your organisation, analyse discovered applications and risk scores, deploy automated log collectors, integrate with Microsoft Defender for Endpoint, and establish ongoing governance.
Where it fits: lab 1 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
Microsoft Defender for Cloud Apps (MDA) is Microsoft's Cloud Access Security Broker (CASB) that provides visibility, data control, and threat protection across cloud services. Cloud Discovery analyses traffic logs from your firewalls and proxies to identify all cloud applications in use. sanctioned and unsanctioned. Without Cloud Discovery, organisations typically have no insight into the hundreds of cloud apps employees use outside of IT-approved channels. This lab walks you through setting up Cloud Discovery end-to-end: from snapshot reports to automated continuous discovery with Docker log collectors and MDE integration.
The enterprise scenario
Contoso Corp, a mid-size company with 2,000 employees, discovers during an internal audit that employees are using over 400 unsanctioned cloud applications. The security team has no visibility into what cloud services employees are uploading sensitive data to, creating significant compliance and data leakage risks.
Management has mandated a 30-day project to establish full cloud app visibility, assess risk, and implement a governance framework. The IT team must classify every discovered app as Sanctioned, Unsanctioned, or Under Review, and block high-risk unsanctioned apps. Success criteria: continuous discovery enabled, all apps categorised, high-risk apps blocked, and an executive report delivered to leadership.
What you will learn
- Navigate the Cloud Apps portal and understand Cloud Discovery architecture
- Prepare and upload firewall/proxy logs to create snapshot reports
- Analyse discovered applications, risk scores, and usage patterns
- Understand and customise risk score criteria for your organisation
- Configure continuous reports with Docker-based log collectors
- Integrate with Microsoft Defender for Endpoint for automatic discovery
- Create app tags (Sanctioned/Unsanctioned/Under Review) and custom categories
- Set up Cloud Discovery anomaly detection policies
Before you start
- Licensing: Microsoft Defender for Cloud Apps (standalone) or Microsoft 365 E5 / E5 Security / E5 Compliance
- Portal Access: Global Administrator, Security Administrator, or Cloud App Security Administrator role in security.microsoft.com
- Firewall/Proxy Logs: Access to exported log files from your firewall or proxy appliance (Palo Alto, Fortinet, Zscaler, Squid, etc.)
- Docker Host (for continuous reports): A Linux VM (Ubuntu 18.04+) or Windows Server 2019+ with Docker installed
- MDE Integration: Microsoft Defender for Endpoint Plan 2 with devices onboarded (for automatic discovery)
- Network: Outbound HTTPS (443) connectivity from the log collector host to *.us.portal.cloudappsecurity.com (or your regional endpoint)
- PowerShell: PowerShell 7+ recommended for running API scripts, with the Az module installed
- API Token: A Defender for Cloud Apps API token (generated in Settings > Cloud Apps > API tokens) for script-based queries
The 10 steps
- Navigate the Cloud Apps Portal & Understand Cloud Discovery Architecture
- Prepare and Upload Firewall/Proxy Logs (Snapshot Report)
- Analyse Discovered Applications and Risk Scores
- Understand and Customise Risk Score Criteria
- Configure Continuous Reports with Log Collectors
- Integrate with Microsoft Defender for Endpoint for Automatic Discovery
- Create App Tags and Custom Categories
- Set Up Cloud Discovery Anomaly Detection Policies
- Block Unsanctioned Apps via MDE Integration
- Generate Executive Reports and Establish Ongoing Governance