Home › Studies › SC-300 › Workload Identities › Defender for Cloud Apps

Defender for Cloud Apps

Cloud discovery · app catalog · connected apps · Conditional Access app control · access and session policies · OAuth app policies

By the tools4free.dev team · Last reviewed November 13, 2026

Practice questions for this topic →

Cloud discovery and Shadow IT

SourceReport typeNotes
Manual upload of firewall or proxy logsSnapshot reportAd-hoc view. Snapshot data doesn't trigger app discovery policy alerts.
Defender for Endpoint integrationContinuousToggle Microsoft Defender for Cloud Apps under Settings > Endpoints > General > Advanced features. Data can take up to two hours to appear.
Log collector (Syslog or FTP)ContinuousHandles up to 50 GB of logs per hour. Needs 250 GB disk, 2 cores, 4 GB RAM. Alert if no data for 48 hours.
Secure web gateway (Zscaler, iboss, Corrata, Menlo Security)ContinuousIntegration also enables blocking of unsanctioned apps.
Cloud discovery APIContinuousAutomates log upload and block scripts.

Cloud app catalog, risk score and governing apps

ActionEffect
SanctionedMarked as approved for use.
UnsanctionedDoesn't block by itself. Makes monitoring easier. Blocked automatically when Defender for Endpoint is used, or through Zscaler NSS, iboss, Corrata, Menlo or Open Systems.
Block scriptActions > Generate block script for a supported on-premises appliance. No traffic redirection to a proxy needed.
Manage app with Microsoft Entra IDFrom a discovered app that's in the Entra gallery, apply single sign-on.

If a manual sanction/unsanction conflicts with a discovery policy governance action, the last operation applied wins. Blocking through Defender for Endpoint needs Cloud Protection, Network Protection and, for non-Microsoft browsers, the Defender Browser Protection add-on. Some Microsoft services can't be blocked.

Connected apps (API connectors)

Retirements on the pages: File policies retire January 6, 2027 (migrate to Microsoft Purview DLP or auto-labeling). The Files page was deprecated September 1, 2024.

Conditional Access app control and app-enforced restrictions

Application-enforced restrictionsConditional Access app control
Where configuredEntra Conditional Access, session controlEntra Conditional Access, session control Use Conditional Access App Control, plus Defender for Cloud Apps policies
How it worksEntra passes device information to the app. The app gives a limited experience on unmanaged or noncompliant devices and a full one on managed and compliant devices.Reverse proxy. Users are routed to Defender for Cloud Apps for real-time access and session control.
ExamplesSharePoint Online, Exchange Online (limited access), idle session timeoutBlock download, protect on download, block upload of malware, monitor sessions

Access and session policies

Access policySession policy
PurposeAllow or block access completelyAllow access while monitoring or limiting session activity
ActionsAudit, BlockMonitor only, Block activities, Control file download (Audit, Block, Protect), Control file upload
Typical useBlock access from unmanaged devices, block native clientsBlock download of sensitive files, block malware upload, protect on download

Protect (apply a sensitivity label on download) is available only with Control file download (with inspection). By default users are told their session is monitored. Change it under Settings > Cloud apps > Conditional Access App Control > User monitoring.

OAuth app policies

CLI and PowerShell

TaskAzure CLIPowerShell
Create the service principal for Microsoft Defender for Cloud Apps - Session Controls (after Connect-MgGraph -Scopes "Application.ReadWrite.All")-New-MgServicePrincipal -AppId 8a0c2593-9cbc-4f86-a247-beb7aab00d83

Exam Tips

Tick each tip once you can answer it without looking.

“Why discovery doesn't show a home-grown app” → Apps outside the catalog aren't discovered by default. Add a custom app.. Trap: Increasing log volume doesn't add apps to the catalog.

“Quickest cloud discovery on Windows devices on and off the network” → Defender for Endpoint integration (toggle in Advanced features).. Trap: A log collector only sees traffic that passes your firewalls.

“Automate log upload from a firewall using Syslog or FTP” → Log collector (continuous report).. Trap: Manual upload gives a snapshot report.

“Snapshot report data and discovery policy alerts” → Snapshot data doesn't trigger app discovery policy alerts.. Trap: Only continuous reports do.

“Mark an app Unsanctioned” → It doesn't block by itself. Blocking happens via Defender for Endpoint, a supported gateway or a block script.. Trap: Tagging alone doesn't stop use.

“Block unsanctioned apps on an appliance with no proxy redirection” → Generate block script.. Trap: A session policy only works on browser sessions routed through the proxy.

“One app deserves a different score without changing weights” → Override app score.. Trap: Score metrics changes weights for all apps.

“Security matters more than legal in app scoring” → Change importance under Score metrics.. Trap: By default all parameters have equal weight.

“Governance on files and users inside Box, Salesforce or Microsoft 365 via APIs” → Connected apps (API connector).. Trap: Cloud discovery is only traffic-log analysis.

“Real-time control of a browser session on an unmanaged device, nothing installed” → Conditional Access app control (session policy).. Trap: An access policy only allows or blocks.

“Allow access but block downloads of labeled files” → Session policy: Control file download, Block.. Trap: Access policy can't limit activities inside the session.

“Users could bypass the proxy with desktop clients” → Access policy blocking native client access.. Trap: Session controls only cover browser access.

“Session policy exists but nothing is routed to Defender” → Missing Entra Conditional Access policy with Use Conditional Access App Control.. Trap: The Defender policy alone doesn't create the routing.

“Limited SharePoint experience for unmanaged devices” → Application-enforced restrictions: Entra passes device info to the app.. Trap: Conditional Access app control is the reverse-proxy option.

“Ban an OAuth app” → Banning disables the enterprise application. Approving has no effect on users.. Trap: Approval doesn't grant anything.

“Policy for Teams doesn't protect files in SharePoint” → Host and resource app policies aren't connected. Create one for each.. Trap: One policy doesn't cascade.

Sources

Checked against Microsoft Learn on November 13, 2026.

← App RegistrationsWorkload Identities overview →