Entra ID: No reliable way to distinguish human vs non-human accounts in Dynamic User group rules

dale.yon 0 Reputation points
2025-12-17T17:17:46.7566667+00:00

In Microsoft Entra ID, there is currently no reliable or supported way to distinguish human user accounts from non-human accounts (e.g. meeting rooms, training rooms, shared/system users, test accounts) when building Dynamic User group membership rules.

All of these objects are represented as user objects and often share identical properties such as:

  • userType = Member

accountEnabled = true

  • No consistent mailbox or license indicators

No “account purpose” or “identity classification” attribute

This forces administrators to rely on naming heuristics rather than authoritative identity signals.

What seems to be missing

There is no first-class attribute such as:

  • user.isHuman
  • user.accountPurpose
  • user.identityClassification
  • user.objectSubtype

Even a simple enum like:

Human

Non-Human

Resource

Test / System

would dramatically improve:

  • Dynamic group accuracy
  • Governance
  • Conditional Access targeting
  • Admin experience

Why this is a real operational problem

Dynamic groups are commonly used for:

Conditional Access targeting

Application access

Licensing

Security group membership

However, Entra dynamic rules cannot evaluate:

Mailbox type (Room, Equipment, Shared)

License presence

Sign-in activity

Resource account flags

Regex or advanced pattern matching

Custom “isHuman” style attributes

As a result, admins must exclude accounts using fragile logic such as:

  • displayName contains "Training Room"
  • userPrincipalName contains "room"

mail starts with "-"

These approaches are:

  • Error-prone
  • Tenant-specific
  • Not future-proof
  • Hard to explain to auditors and governance teams

Question / request

Is Microsoft considering:

Adding a native attribute to distinguish human vs non-human users?

Extending dynamic membership rules to evaluate mailbox/resource account types?

Providing official guidance or best practices beyond naming conventions?

At the moment, identity admins are forced to solve a classification problem using string matching, which feels like a fundamental gap in Entra ID.

Why this matters

This isn’t just a convenience issue — it impacts:

Security posture

Compliance

Least-privilege access

Identity lifecycle automation

Any guidance or roadmap insight would be greatly appreciated.

Microsoft Security | Microsoft Entra | Microsoft Entra ID

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.