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

Who's in the room: Security analyst (owner), endpoint administrator, identity administrator, app owners, service desk

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

  1. Plan cloud app discovery and control
  2. Discover and assess cloud apps
  3. 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.

    Who: Security analystProduces: Tagged apps, users told

  • 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.

    Who: Endpoint administratorProduces: Network protection in block mode

Rollout approach: Representative cross-section · Pilot size: A pilot device group and a pilot user group. Applying blocks and session policies to a pilot across departments shows which legitimate uses are affected before everyone meets them.

Pilot to production

4 phases · 1 decision
  1. Block unsanctioned apps1 to 2 weeks

    Turn on blocking for a pilot device group, check the effect, then extend to all device groups as planned.

    Who: Endpoint administrator with the security analystProduces: Unsanctioned apps blocked on devices

    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

  2. Connect Microsoft 365 and key apps1 week

    Connect Microsoft 365, then other key apps from the plan, and confirm activity and alerts appear.

    Who: Security analyst with app ownersProduces: Connected apps

    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.

  3. 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.

    Who: Identity administrator with the security analystProduces: A session policy enforcing on one app

    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.

    Other options: Block from the start · Decided by: Security analyst

    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

  4. Extend and hand over1 to 2 weeks

    Extend session control to the other planned apps, and hand alerts and policies to their owners.

    Who: Security analystProduces: Policies in place for every planned app

    Move on when Every planned app is controlled, and owners have accepted the policies.

Alongside every phase:

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.

What keeps it in place:

Blocking applies on every onboarded device in scope, and session policies apply to every routed browser session. To stop people bypassing session control, access policies block native client apps for the apps in scope.

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.

Measures, where you see them, and the direction that means success
MeasureWhere you see itGood direction
Use of unsanctioned apps on managed devicesCloud discovery Down
Sensitive files downloaded to unmanaged devicesSession policy activity Down
Connected apps with connector errorsConnected apps Down

Take it with you

plan, decisions, gate checks, 1 template

Plan outline: phases and when to move on

  1. 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.
  2. Connect Microsoft 365 and key apps (1 week). Move on when: Each connected app shows activity, and its connector has no errors.
  3. 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.
  4. 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

DecisionRecommended defaultOur 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

Compare notes or suggest an improvement

Your message goes straight to Sev Derghazarian.

What would you like to do?

Subject:

The send button is enabled once the spam check below completes.

Changelog

Changelog (1 version)
Published versions of this playbook
VersionDateByChange
1Sev DerghazarianFirst draft.