Skip to content

Entra ID Protection: unremediated risky users and risky workload identities #2518

Open

Description

@merill

Summary

Entra ID Protection already flags users and service principals at risk. A posture assessment should show those that nobody has remediated.

Opt-in. Like everything under #2510, this does not run by default; users turn it on explicitly, and any extra permission it needs is only requested then.

Source

  • Graph v1.0 GET /identityProtection/riskyUsers?$filter=riskState eq 'atRisk' (permission IdentityRiskyUser.Read.All, requested only when the user opts in).
  • Graph v1.0 GET /identityProtection/riskyServicePrincipals?$filter=riskState eq 'atRisk' (permission IdentityRiskyServicePrincipal.Read.All, requested only when the user opts in; needs Workload Identities Premium).
  • Licence: AAD_PREMIUM_P2 for users; Workload Identities Premium for service principals.

Behaviour

  • "No high-risk users should be left unremediated" – Failed when any user is at risk with riskLevel high, lists users and last risk update.
  • Same for medium (lower severity), and for risky service principals.
  • Privileged users at risk (joined with role assignments) raise severity to High.

Generated by Claude Code

Activity

  1. added
    enhancement
    new test
    on Oct 23, 2026
  2. Dfrank77 commented on Nov 18, 2026

    @Dfrank77
    Contributor

    Picking up risky agents as part of this one. MT.1262 and MT.1263 (#2689, #2704) read riskyServicePrincipals, but Entra ID Protection reports agent risk in a separate list, riskyAgents (Graph beta only). I tested it in my lab tenant: I confirmed an agent identity compromised, and it showed in riskyAgents as high / confirmedCompromised, wasn't in riskyServicePrincipals, and MT.1262 didn't report it. MT.1263 reads the same list, so it wouldn't catch a medium-risk agent either.

    Plan is two checks that mirror MT.1262/1263: MT.1284 (high) and MT.1285 (medium), reading riskyAgents. Per the epic (#2510), the new permission (IdentityRiskyAgent.Read.All) would be opt-in, so it would go in the -IncludePreview scopes next to IdentityRiskyUser.Read.All and not in the defaults. The licence gate would match MT.1181 (AAD_PREMIUM_P2&AGENT_365): ID Protection needs Entra ID P2, and Microsoft says ID Protection for agents will require Agent 365. Reserved both on #697.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementnew testproduct: entra

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions