Cloud app governance with Defender for Cloud Apps · Deploy
Control cloud apps with policies
Unsanctioned apps blocked on devices, Microsoft 365 connected, and session policies for sensitive apps on unmanaged devices.
- Duration
- 4 to 6 weeks
- Effort
- About 6 to 10 person-days
- Complexity
- Medium
- Beyond E5
- Nothing beyond Microsoft 365 E5
On this page
Overview
With Defender for Endpoint integration, unsanctioned apps are blocked on onboarded devices, and the block can be scoped to device groups or replaced by a warning. App connectors give visibility and governance inside connected apps; for Microsoft 365, the connector reads audit logs and enables anomaly and information protection detections. Conditional Access app control applies access and session policies to browser sessions, through Microsoft Edge's in-browser protection or a reverse proxy for other browsers.
Technically, you confirm network protection is in block mode for Defender for Endpoint, scope unsanctioned app blocking to device groups, connect Microsoft 365 and other key apps, route chosen apps through Conditional Access app control with a Conditional Access policy, and create session policies starting in Monitor only.
You'll end up with: Unsanctioned apps blocked, Microsoft 365 and key apps connected, and session policies controlling sensitive downloads on unmanaged devices.
If you skip it: Without controls, decisions stay on paper, and sensitive data keeps leaving through apps and devices nobody controls.
Before you start
The path to this playbook
- Plan cloud app discovery and control
- Discover and assess cloud apps
- Control cloud apps with policies (you are here)
- Discover and assess cloud apps: Discovery through Defender for Endpoint, apps assessed and decided, and discovery policies watching for new risky apps.
- Have app decisions and notifications
How to do it
Blocking follows the decisions and user notifications from Discover and assess cloud apps.
- Have network protection in block mode
How to do it
Blocking unsanctioned apps through Defender for Endpoint needs network protection turned on and set to block.
Pilot to production
4 phases · 1 decisionBlock unsanctioned apps1 to 2 weeks
Turn on blocking for a pilot device group, check the effect, then extend to all device groups as planned.
Move on when Unsanctioned apps are blocked in every planned device group, and monitored apps show a warning where planned.
How to do it
Blocking scoped to device groups and the warn and educate experience are available with Defender for Endpoint; integrations with some third-party gateways block unsanctioned apps without those options.
Watch out for (1)
If you: Block before telling users
What tends to happen: People lose access mid-task and flood the service desk
A better approach:Block only after users of each unsanctioned app have been told the alternative and the date
Connect Microsoft 365 and key apps1 week
Connect Microsoft 365, then other key apps from the plan, and confirm activity and alerts appear.
Move on when Each connected app shows activity, and its connector has no errors.
How to do it
The Microsoft 365 connector integrates with its audit logs. Unless information protection policies are active, Defender for Cloud Apps doesn't scan or store organizational files.
Control sessions for a sensitive app2 weeks
Route one sensitive app through Conditional Access app control for unmanaged devices, start a session policy in Monitor only, then block downloads of sensitive files.
Move on when The policy monitored as expected, then blocked sensitive downloads on unmanaged devices without affecting managed ones.
Key decisions for this phase (1)
Start in Monitor only?
Recommended default: Monitor only for two weeks, then block
Monitor only records activity without blocking, which shows what a policy would affect. Blocking straight away is faster but surprises people.
How to do it
Microsoft Edge users get in-browser protection, shown by a lock icon. Other browsers are redirected through a reverse proxy, with a .mcas.ms suffix on the app's address. Session controls rely on the Session Controls enterprise application; a Conditional Access policy that blocks all apps must exclude it, or it blocks session control too.
Watch out for (1)
If you: Control browser sessions but leave desktop and mobile apps open
What tends to happen: People bypass the session policy by using the app's desktop or mobile client
A better approach:Use an access policy to block native clients for the app on unmanaged devices
Extend and hand over1 to 2 weeks
Extend session control to the other planned apps, and hand alerts and policies to their owners.
Move on when Every planned app is controlled, and owners have accepted the policies.
Give the service desk screenshots of the block page, the warning and the session control experience, and the route for people to request an app.
How you'll know it's working
3 measures
Capture a baseline before you start, or you won't be able to show the change.
| Measure | Where you see it | Good direction |
|---|---|---|
| Use of unsanctioned apps on managed devices | Cloud discovery | Down |
| Sensitive files downloaded to unmanaged devices | Session policy activity | Down |
| Connected apps with connector errors | Connected apps | Down |
Take it with you
plan, decisions, gate checks, 1 template
Plan outline: phases and when to move on
- Block unsanctioned apps (1 to 2 weeks). Move on when: Unsanctioned apps are blocked in every planned device group, and monitored apps show a warning where planned.
- Connect Microsoft 365 and key apps (1 week). Move on when: Each connected app shows activity, and its connector has no errors.
- Control sessions for a sensitive app (2 weeks). Move on when: The policy monitored as expected, then blocked sensitive downloads on unmanaged devices without affecting managed ones.
- Extend and hand over (1 to 2 weeks). Move on when: Every planned app is controlled, and owners have accepted the policies.
Decisions to record, with the recommended answer
| Decision | Recommended default | Our choice |
|---|---|---|
| Start in Monitor only? | Monitor only for two weeks, then block |
Gate checks: questions to answer before each phase ends
Before leaving Block unsanctioned apps
- Were users told before blocking started?
Before leaving Connect Microsoft 365 and key apps
- Does every connected app show recent activity?
Before leaving Control sessions for a sensitive app
- Are native clients blocked for the app on unmanaged devices?
Before leaving Extend and hand over
- Does every policy have an owner?
Session policy record
Policy: [meaningful name, e.g. Block download of sensitive documents in app for unmanaged devices]. App: [name]. Users: [groups]. Condition: [unmanaged device, label]. Mode: [Monitor only / Block]. Owner: [name].
Microsoft Learn
6 links
Contributor

Microsoft 365 architecture and governance · Protiviti
Compare notes or suggest an improvement
Changelog
Changelog (1 version)
| Version | Date | By | Change |
|---|---|---|---|
| 1 | Sev Derghazarian | First draft. |