Adaptive Protection and the insider risk condition in Conditional Access

26 January 2026 · Samantha Kloos-Kilkens

Most Conditional Access policies react to who you are, where you sign in from and what device you use. The insider risk condition adds something Entra can't see on its own: how a user has been handling data. Purview Insider Risk Management assigns users a risk level, Adaptive Protection shares that level with DLP and Conditional Access, and your policies tighten for the few users who need it while everyone else carries on as normal. This post is about how the two halves fit together, and what the quick setup creates on your behalf.

A stop sign next to traffic lights showing red, amber and green Photo: Imkara Visual on Unsplash

Where the risk level comes from

Adaptive Protection is part of Insider Risk Management. It uses one or more insider risk policies you assign to it to give users one of three insider risk levels: Elevated, Moderate or Minor. A level can be based on the alerts the policy generates or confirms for a user, or on specific activity, for example a number of exfiltration events within a period. For activity-based levels, how far back it looks is set with Past activity detection: 7 days by default, configurable between 5 and 30.

These levels are not the same as the Low, Medium and High severity of insider risk alerts, which is easy to mix up when you read about it for the first time. They also aren't permanent: a level expires after the Insider risk level timeframe (7 days by default), or earlier when the alert is dismissed or the case is resolved, and the policies that depend on it then stop applying.

One thing to know before you show this to your works council or privacy officer: Insider Risk Management can show pseudonymised user names, but user names aren't pseudonymised in Conditional Access or DLP. An admin looking at the sign-in logs sees who was blocked.

Licensing also comes from both sides: the insider risk condition in Conditional Access needs Microsoft Entra ID P2, and Adaptive Protection needs an Insider Risk Management licence, for example Microsoft 365 E5 or E5 Compliance.

What the quick setup creates

You can configure Adaptive Protection by hand or use the quick setup. The quick setup creates a set of policies in a safe state, and it can take up to 72 hours before everything is in place and levels are assigned:
  • an insider risk policy with default settings
  • two DLP policies, one for endpoints and one for Teams and Exchange, which block for Elevated and audit for Moderate and Minor, but start in test mode
  • a data lifecycle management policy that preserves content deleted by Elevated users for 120 days
  • a Conditional Access policy in report-only mode that blocks Office 365 apps for Elevated users, with B2B direct connect users, service provider users and other external users excluded
That last one is where Purview reaches into your Entra tenant, so it's worth knowing it exists before someone finds it in the policy list and wonders who created it.

The Conditional Access side

In Conditional Access the signal shows up as the Insider risk condition, where you select the levels the policy applies to. Microsoft's configuration guide suggests a graded approach, and I think it's a sensible starting point:

For Elevated, block access. That can be Office 365 as a whole, or more targeted: sites with a specific sensitivity label through an authentication context, which also stops Copilot from grounding answers on those sites for that user. For Moderate, require acceptance of terms of use when signing in to admin portals, as a reminder rather than a barrier. For Minor, a policy in report-only mode gives you visibility without affecting anyone.

The usual Conditional Access hygiene applies. Exclude your break-glass accounts. Start in report-only and use the report-only results and the insights workbook to see who would have been affected. And remember that a block on Office 365 for an Elevated user is a real disruption for someone who may turn out to be a false positive: tune the insider risk policy first, and only then enforce.

Creating the policy with Graph

If you manage Conditional Access as code, the condition is available in Microsoft Graph v1.0 as insiderRiskLevels on the policy conditions, with the values minor, moderate and elevated. This creates the Elevated block in report-only mode:
param(
    [Parameter(Mandatory = $true)]
    [string[]]$BreakGlassUpn
)

Connect-MgGraph -Scopes "Policy.Read.All", "Policy.ReadWrite.ConditionalAccess", "User.Read.All" -NoWelcome

$excludeIds = foreach ($upn in $BreakGlassUpn) {
    (Invoke-MgGraphRequest GET "v1.0/users/$($upn)?`$select=id").id
}

$body = @{
    displayName = "CA - Block Office 365 for elevated insider risk"
    state       = "enabledForReportingButNotEnforced"
    conditions  = @{
        users = @{
            includeUsers = @("All")
            excludeUsers = @($excludeIds)
            excludeGuestsOrExternalUsers = @{
                guestOrExternalUserTypes = "b2bDirectConnectUser,otherExternalUser,serviceProvider"
                externalTenants          = @{
                    "@odata.type"  = "#microsoft.graph.conditionalAccessAllExternalTenants"
                    membershipKind = "all"
                }
            }
        }
        applications      = @{ includeApplications = @("Office365") }
        clientAppTypes    = @("all")
        insiderRiskLevels = "elevated"
    }
    grantControls = @{ operator = "OR"; builtInControls = @("block") }
} | ConvertTo-Json -Depth 6

Invoke-MgGraphRequest POST "v1.0/identity/conditionalAccess/policies" -Body $body -ContentType "application/json"
The excluded external user types are the same ones Microsoft's own policy template and the quick setup exclude.

Turning it off again

If you need to stop, turning off Adaptive Protection resets all insider risk levels and stops sharing them, which can take up to six hours. The DLP, retention and Conditional Access policies themselves aren't deleted. A Conditional Access policy that blocks on Elevated then simply matches nobody, but it stays in your tenant until you remove it.

Open Conditional Access in a tenant where Adaptive Protection is on, look for a policy that uses the Insider risk condition, and check whether its exclusions match the ones on your other block policies.

The script from this post is also on GitHub, in purview-scripts.

Written by an Argus IT expert

Want an expert like this in your team, or work like this yourself in security, IAM or cloud?

Samantha Kloos-Kilkens

Samantha Kloos-Kilkens

Sam has worked in security and identity for more than ten years, eight of them at Microsoft in the Identity and Network Access product group. She founded Argus IT in 2023 and has a soft spot for the hidden gems in Entra ID. CISSP, CCSP, CISM, CCSK and Microsoft Certified Trainer.

Stay in the Loop

Subscribe to our newsletter for a friendly nudge whenever we publish a new article or have news to share.