Govern discovered apps

Note

  • We've renamed Microsoft Cloud App Security. It's now called Microsoft Defender for Cloud Apps. In the coming weeks, we'll update the screenshots and instructions here and in related pages. For more information about the change, see this announcement. To learn more about the recent renaming of Microsoft security services, see the Microsoft Ignite Security blog.

  • Microsoft Defender for Cloud Apps is now part of Microsoft 365 Defender. The Microsoft 365 Defender portal allows security admins to perform their security tasks in one location. This will simplify workflows, and add the functionality of the other Microsoft 365 Defender services. Microsoft 365 Defender will be the home for monitoring and managing security across your Microsoft identities, data, devices, apps, and infrastructure. For more information about these changes, see Microsoft Defender for Cloud Apps in Microsoft 365 Defender.

After you've reviewed the list of discovered apps in your environment, you can secure your environment by approving safe apps (Sanctioned) or prohibiting unwanted apps (Unsanctioned) in the following ways.

Sanctioning/unsanctioning an app

You can unsanction a specific risky app by clicking the three dots at the end of the row. Then select Unsanction. Unsanctioning an app doesn't block use, but enables you to more easily monitor its use with the Cloud Discovery filters. You can then notify users of the unsanctioned app and suggest an alternative safe app for their use, or generate a block script using the Defender for Cloud Apps APIs to block all unsanctioned apps.

Tag as unsanctioned.

Note

If your tenant uses Microsoft Defender for Endpoint, Zscaler NSS, or iboss, any app you mark as unsanctioned is automatically blocked by Defender for Cloud Apps, and the following sections regarding creating blocking scripts are unnecessary. For more information, see Block apps with Microsoft Defender for Endpoint, Integrate with Zscaler, and Integrate with iboss respectively.

Block apps with Defender for Endpoint

Defender for Cloud Apps enables you to block access to unsanctioned apps by using Defender for Endpoint. You can block all devices in your organization, or block specific device groups.

Note

The option to block specific device groups via include or exclude is in Preview mode.

Prerequisites

  1. One of the following licenses:

    • Defender for Cloud Apps (E5, AAD-P1m CAS-D) and Microsoft Defender for Endpoint Plan 2
    • Microsoft 365 E5
  2. Onboarded machines: Windows 10 version 18.09 (RS5), OS Build 1776.3 or later.

  3. Onboard Defender for Cloud Apps with Defender for Endpoint.

Blocking apps

To block usage for specific device groups, do the following steps:

  1. Go to Defender for Cloud Apps.

  2. Under Settings, choose Apps tags and go to Scoped profiles.

  3. Select Add profile. The profile sets the entities scoped for blocking/unblocking apps.

  4. Provide a descriptive profile name and description.

  5. Choose whether the profile should be an Include or Exclude profile.

    • Include: only the included set of entities will be affected by the access enforcement. For example, the profile myContoso has Include for device groups A and B. Blocking app Y with the profile myContoso will block app access only for groups A and B.

    • Exclude: The excluded set of entities won't be affected by the access enforcement. For example, the profile myContoso has Exclude for device groups A and B. Blocking app Y with the profile myContoso will block app access for the entire organization except for groups A and B.

  6. Select the relevant device groups for the profile.

  7. Select Save.

    Scoped profiles.

To block an app, do the following steps:

  1. In Defender for Cloud Apps, under Discover, go to the Discovered apps page.

  2. Select the app that should be blocked.

  3. Tag the app as Unsanctioned.

    Unsanction an app.

  4. To block all the devices in your organization, select Save. To block specific device groups in your organizations, select Select a profile to include or exclude groups from being blocked. Then choose the profile for which the app will be blocked, and select Save.

    Choose a profile to unsanction an app with.

Note

  • The enforcement ability is based on Defender for Endpoint’s custom URL indicators.
  • Any organizational scoping that was set manually on indicators that were created by Defender for Cloud Apps before the release of this feature will be overridden by Defender for Cloud Apps. The required scoping should be set from the Defender for Cloud Apps experience using the scoped profiles experience.
  • To remove a selected scoping profile from an unsanctioned app, remove the unsanctioned tag and then tag the app again with the required scoped profile.
  • It can take up to two hours for app domains to propagate and be updated in the endpoint devices once they're marked with the relevant tag or/and scoping.

Block apps by exporting a block script

Defender for Cloud Apps enables you to block access to unsanctioned apps by using your existing on-premises security appliances. You can generate a dedicated block script and import it to your appliance. This solution doesn't require redirection of all of the organization's web traffic to a proxy.

  1. In the Cloud Discovery dashboard, tag any apps you want to block as Unsanctioned.

    Tag as unsanctioned.

  2. In the title bar, select the three dots and select Generate block script....

    Generate block script.

  3. In Generate block script, select the appliance you want to generate the block script for.

    Generate block script pop-up.

  4. Then select the Generate script button to create a block script for all your unsanctioned apps. By default, the file will be named with the date on which it was exported and the appliance type you selected. 2017-02-19_CAS_Fortigate_block_script.txt would be an example file name

    Generate block script button.

  5. Import the file created to your appliance.

Governance conflicts

If there's a conflict between manual governance actions and governance set by policy, the last operation applied will take precedence.

Next steps

If you run into any problems, we're here to help. To get assistance or support for your product issue, please open a support ticket.