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.
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.
- Monitor & Control OAuth Apps 75 min
- Configure App Governance Threat Detection 90 min
- Build App Compliance & Lifecycle Management 120 min
- 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
- Review Built-in Threat Detections
- Create Data Access Anomaly Policies
- Configure Credential Change Detection
- Set Up Privilege Escalation Monitoring
- Monitor Cross-Tenant App Activity
- Configure Alert Routing
- Investigate Threat Alerts
- Take Remediation Actions
- Build App Threat Investigation Playbook
- Integrate with Automated Response