SCENARIO 15 / APPLICATIONS

Over-privileged workload identities

Assess the access of unattended applications independently from human-user policies.

M365-15ApplicationsInvestigation playbook

How the scenario unfolds

An application with extensive mail, file or directory permissions can expose many resources when its code, credential or operator is compromised. Human-user MFA does not directly secure an app-only sign-in. Effective access can be the combination of several permission systems, so a narrow setting in one place may not impose the intended boundary.

Conditions to examine

Tenant-wide application grants without a business need, incomplete workload inventories and reliance on user-scoped Conditional Access as a universal control.

Signals to investigate

  • Applications accessing resources beyond the approved owner’s scope.
  • Unusual service-principal sign-ins or new resource targets.
  • Permission grants remaining after an integration has been replaced or retired.

Evidence to collect

Inventory app role assignments and delegated grants separately, service-principal sign-ins, resource-specific authorization and application ownership. Include managed identities through their own lifecycle and monitoring controls.

Open related example Q10

Investigation sequence

  1. Map each application permission to the resources actually reachable and the business process using it.
  2. For Exchange application RBAC, inspect both Exchange assignments and Entra grants; permissions can be additive.
  3. Compare observed activity with the approved scope and identify dormant or ownerless identities.

Reduce the exposure

  • Grant only the required application permissions and apply supported resource scoping.
  • Protect workload credentials and monitor changes; use workload Conditional Access only for its supported identity types and licensed capabilities.
  • Review access whenever an integration’s owner, code or data scope changes.

Contain and recover

  • Suspend a compromised workload identity or remove unauthorised permissions with the service owner involved.
  • Replace compromised credentials or trust and investigate the full resource scope available during the incident.
VERIFY THE OUTCOME

Run positive and negative access tests against approved and out-of-scope resources. Record effective results, not only the presence of a scoping configuration.

Interpret with care

Workload Conditional Access is not supported for every app or managed identity. User-policy membership does not automatically enforce a policy on a service principal. Low activity does not make a powerful dormant grant safe.

Technical references

[21] [24] [54]