App Governance App Policies Create
In brief
Administrators cannot create policies using the Last used condition. Evaluation of existing policies using it is paused, so they do not generate alerts or execute governance actions; their configurations remain unchanged.
What Defender admins need to know
Policies using Last used may create monitoring and enforcement gaps while evaluation is paused. No required configuration change is stated.
Summaries are generated from the documentation change itself.
Documentation change
The comparison below shows only the changed extract. Use the full-page view for complete context.
For apps connected to Microsoft Entra ID, create app policies from provided templates that can be customized, or create your own custom app policy.
Note
You temporarily can't create app governance policies that use the Last used condition. Evaluation of existing policies that use this condition is also paused, so affected policies don't generate alerts or execute governance actions. Existing policy configurations remain unchanged, and policy evaluation will resume when normal operation is restored.
To create a new app policy for Microsoft 365 apps, go to Microsoft Defender > App governance > Policies > Microsoft 365.
For example:
| Template name | Description |
|---|---|
| Unused app | Temporarily unavailable. Find apps that have not authenticated recently. This policy checks the following conditions: - Last used: More than 90 days (customizable) |
| New app with high data usage | Find newly registered apps that have uploaded or downloaded large amounts of data using Microsoft Graph and EWS APIs. This policy checks the following conditions: - Registration age: Seven days or less (customizable) - Data usage: Greater than 1 GB in one day (customizable) |
| Increase in users | Find apps with a sizable increase in the number of users. This policy checks the following conditions: - Time range: Last 90 days - Increase in consenting users: At least 50% (customizable) |
| **Sensitivity labels accessed** | Select one or more sensitivity labels from the list | Apps that accessed data with specific sensitivity labels in the last 30 days. | |
| **Services accessed** (Graph only) | Exchange and/or OneDrive and/or SharePoint and/or Teams | Apps that have accessed OneDrive, SharePoint, or Exchange Online using Microsoft Graph and EWS APIs | Multiple selections allowed. |
| **Error rate** (Graph only) | Error rate is greater than X% in the last seven days | Apps whose Graph API error rates in the last seven days are greater than a specified percentage | |
| **Last used** | Within last X days | Temporarily unavailable. Apps that have not authenticated within a specified period from the current date | |
| **App origin** | External or Internal | Apps that originated within the tenant or registered in an external tenant | |
All of the specified conditions must be met for this app policy to generate an alert.
@@ -12,12 +12,12 @@ ms.author: andeshpande ms.collection: M365-security-compliance ms.service: defender-for-cloud-apps ms.suite: ems-ms.date: 2026-11-16T00:00:00.0000000Z+ms.date: 2026-11-25T00:00:00.0000000Z ms.topic: how-to ms.reviewer: shragar description: Learn how to create app governance policies for OAuth apps in Microsoft 365, Google Workspace, and Salesforce to detect risk and take action. ai-usage: ai-assisted-ms.custom: msecd-doc-authoring-1030+ms.custom: msecd-doc-authoring-1032 locale: en-us document_id: d1ff15d1-1aeb-9cc2-dbc7-87a8b6d2e866 document_version_independent_id: d1ff15d1-1aeb-9cc2-dbc7-87a8b6d2e866@@ -57,6 +57,10 @@ This article shows you how to create and configure OAuth app policies in app gov
For apps connected to Microsoft Entra ID, create app policies from provided templates that can be customized, or create your own custom app policy.
+Note
+
+You temporarily can't create app governance policies that use the **Last used** condition. Evaluation of existing policies that use this condition is also paused, so affected policies don't generate alerts or execute governance actions. Existing policy configurations remain unchanged, and policy evaluation will resume when normal operation is restored.
+
1. To create a new app policy for Microsoft 365 apps, go to **Microsoft Defender** > **App governance** > **Policies** > **Microsoft 365**.
For example:
@@ -83,7 +87,7 @@ The following table lists the app governance templates supported to generate ale
| Template name | Description |
| --- | --- |
-| **Unused app** | Find apps that have not authenticated recently. This policy checks the following conditions: <br>- Last used: More than 90 days (customizable) |
+| **Unused app** | Temporarily unavailable. Find apps that have not authenticated recently. This policy checks the following conditions: <br>- Last used: More than 90 days (customizable) |
| **New app with high data usage** | Find newly registered apps that have uploaded or downloaded large amounts of data using Microsoft Graph and EWS APIs. This policy checks the following conditions: <br>- Registration age: Seven days or less (customizable)<br>- Data usage: Greater than 1 GB in one day (customizable) |
| **Increase in users** | Find apps with a sizable increase in the number of users. This policy checks the following conditions: <br>- Time range: Last 90 days<br>- Increase in consenting users: At least 50% (customizable) |
@@ -163,7 +167,7 @@ Use a custom app policy when you need to do something not already done by one of | **Sensitivity labels accessed** | Select one or more sensitivity labels from the list | Apps that accessed data with specific sensitivity labels in the last 30 days. | |
| **Services accessed** (Graph only) | Exchange and/or OneDrive and/or SharePoint and/or Teams | Apps that have accessed OneDrive, SharePoint, or Exchange Online using Microsoft Graph and EWS APIs | Multiple selections allowed. |
| **Error rate** (Graph only) | Error rate is greater than X% in the last seven days | Apps whose Graph API error rates in the last seven days are greater than a specified percentage | |
- | **Last used** | Within last X days | Apps that have not authenticated within a specified period from the current date | |
+ | **Last used** | Within last X days | Temporarily unavailable. Apps that have not authenticated within a specified period from the current date | |
| **App origin** | External or Internal | Apps that originated within the tenant or registered in an external tenant | |
All of the specified conditions must be met for this app policy to generate an alert.
