Skip to content
LessIT

App Governance

Configure App Governance Threat Detection

Enable and configure App Governance threat detection policies for anomalous OAuth app behaviour, credential changes, privilege escalation, and cross-tenant activity.

Intermediate 90 min 10 steps

Where it fits: lab 2 of 4

Govern OAuth apps with App Governance. Monitor and control OAuth apps, detect abuse, manage the app lifecycle and investigate app-based attacks.

  1. Monitor & Control OAuth Apps 75 min
  2. Configure App Governance Threat Detection 90 min
  3. Build App Compliance & Lifecycle Management 120 min
  4. Investigate App-Based Attacks & Supply Chain Threats 2.5 h

What this lab covers

App Governance threat detection policies use machine learning and rule-based engine to detect anomalous OAuth app behaviour in near real time. This includes unusual data access volumes, suspicious credential changes, privilege escalation via consent manipulation, and cross-tenant app activity. This lab covers building layered threat detection policies that work in concert with manual investigation to catch sophisticated OAuth-based attacks.

The enterprise scenario

After deploying App Governance monitoring (Lab 01), the security team identifies baseline behaviour for 340 OAuth apps. Now they need automated detection for: apps that suddenly increase data access 10x, apps that add new credentials outside of change windows, apps accessing executive mailboxes for the first time, and apps from publishers who recently changed their domain registration.

What you will learn

  • Review built-in App Governance threat detections
  • Create custom data access anomaly policies
  • Configure credential change detection
  • Set up privilege escalation monitoring
  • Create policies for cross-tenant app activity
  • Configure alert severity and notification routing
  • Investigate App Governance threat alerts
  • Take remediation actions on detected threats

Before you start

  • Licensing: Microsoft 365 E5, or Microsoft Defender for Cloud Apps + App Governance add-on
  • Roles: Security Administrator or Global Administrator in Microsoft Entra ID
  • Prior Lab: Completion of Lab 01 - Deploy & Configure App Governance Monitoring
  • Portal Access: Microsoft Defender XDR portal with App Governance blade enabled
  • Tooling: PowerShell 7+ with Microsoft.Graph module v2.x installed ( Install-Module Microsoft.Graph -Scope CurrentUser )
  • Data: At least 7 days of App Governance telemetry for baseline anomaly detection to function
  • Permissions: Microsoft Graph scopes - Application.Read.All , Policy.ReadWrite.ApplicationConfiguration , SecurityEvents.ReadWrite.All

The 10 steps

  1. Review Built-in Threat Detections
  2. Create Data Access Anomaly Policies
  3. Configure Credential Change Detection
  4. Set Up Privilege Escalation Monitoring
  5. Monitor Cross-Tenant App Activity
  6. Configure Alert Routing
  7. Investigate Threat Alerts
  8. Take Remediation Actions
  9. Build App Threat Investigation Playbook
  10. Integrate with Automated Response